Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String seed = param1;
- ECKeyPair ecKeyPair = Keys.createEcKeyPair();
- BigInteger privateKeyInDec = ecKeyPair.getPrivateKey();
- String sPrivatekeyInHex = privateKeyInDec.toString(16);
- WalletFile aWallet = Wallet.createLight(seed, ecKeyPair);
- String sAddress = aWallet.getAddress();
Add Comment
Please, Sign In to add comment