Guest User

Untitled

a guest
Mar 20th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. String seed = param1;
  2. ECKeyPair ecKeyPair = Keys.createEcKeyPair();
  3. BigInteger privateKeyInDec = ecKeyPair.getPrivateKey();
  4.  
  5. String sPrivatekeyInHex = privateKeyInDec.toString(16);
  6.  
  7. WalletFile aWallet = Wallet.createLight(seed, ecKeyPair);
  8.  
  9. String sAddress = aWallet.getAddress();
Add Comment
Please, Sign In to add comment