Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 562 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 562 Bytes

willwallet

以太坊钱包

坐标

<dependency>
     <groupId>org.beykery</groupId>
     <artifactId>willwallet</artifactId>
     <version>1.0.5</version>
   </dependency>

使用

         WillWallet wa = WillWallet.createWithMnemonic(null, "m/44'/60'/0'/0/0");
         String mnemonic = wa.getMnemonic();
         String pk = wa.getPrivateKey();
         String addr = wa.getAddress();

         System.out.println(mnemonic);
         System.out.println(pk);
         System.out.println(addr);