Replies: 1 comment 1 reply
-
Converting to discussion as it's a question |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to test possibility to generate additional addresses for different versions of Bitcoin's addresses.
I decided to use
final public func getKey(coin: WalletCore.CoinType, derivationPath: String) -> WalletCore.PrivateKey
So idea is to specify custom index, e.g.
"m/44\'/0\'/0\'/0/2"
or custom account"m/44\'/0\'/2\'/0/0"
But I was stuck at the generating default address for legacy format.
I use
Swift
I expected that address generated with
derivationPath m/44'/0'/0'/0/0
starts from1
address generated with
derivationPath m/49'/0'/0'/0/0
starts from3
What I am doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions