Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. public DeterministicKey deterministicKey() {
  2. final DeterministicSeed seed =
  3. new DeterministicSeed(mnemonicCode, null, passphrase, new Date().getTime());
  4. final DeterministicKeyChain chain = DeterministicKeyChain.builder().seed(seed).build();
  5. final List<ChildNumber> keyPath = HDUtils.parsePath("M/44H/60H/0H/0/0");
  6.  
  7. return chain.getKeyByPath(keyPath, true);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement