Created
October 5, 2019 13:06
-
-
Save id6827/284e4a29c1b473e7f7463f23339c814b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public DeterministicKey deterministicKey() { | |
final DeterministicSeed seed = | |
new DeterministicSeed(mnemonicCode, null, passphrase, new Date().getTime()); | |
final DeterministicKeyChain chain = DeterministicKeyChain.builder().seed(seed).build(); | |
final List<ChildNumber> keyPath = HDUtils.parsePath("M/44H/60H/0H/0/0"); | |
return chain.getKeyByPath(keyPath, true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment