Created
October 11, 2018 13:56
-
-
Save fortmarek/e0422a7e2e63f9ecfdc8abe00d0ff682 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
HDKey.Private.create( | |
with: MnemonicStorageStrategy(walletStorage), | |
mnemonic: sentence, | |
network: .main, | |
path: [ | |
KeyPathNode(at: 44, hardened: true), | |
KeyPathNode(at: 60, hardened: true), | |
KeyPathNode(at: 0, hardened: true), | |
KeyPathNode(at: 0), | |
] | |
) { [weak self] _ in | |
self?.testContract() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment