Open christroutner opened 5 years ago
I saw this note in the honest.cash telegram channel:
Yours and bitcoin.com both use m/44'/0'/0' So those should be interchangeable.
Can anyone verify the accuracy of this?
Adding a link to this Reddit discussion: https://www.reddit.com/r/btc/comments/a3089d/new_on_honest_cash_custom_hd_derivation_paths_by/
The Bitcoin.com wallet (and previously the Yours web wallet) continued to use the same derivation path used for BTC, that is, m/44'/0'/0'
which will results in addresses identified by the following paths:
m/44'/0'/0'/0/0
m/44'/0'/0'/0/1
m/44'/0'/0'/0/2
m/44'/0'/0'/0/<n>
It can be easily verified by:
I also want to point out a similar issue in Bitpay's wallet repository (bitpay/copay #7216).
Let me share what I submitted to electron cash on this issue. The way honest.cash lists their derivation path which they intend to resolve to a single address (m/44'/0'/0'/0/0
) suggests an interesting use case where a fully specified derivation path (down to a single address) could be interpreted as just a single private key.
Electron does not do that currently but I suggested it in that issue. Currently EC somehow produces a whole HD wallet from that path.
Not sure how bitbox handles it. Probably correctly if honest.cash wallet is working now!
FWIW I have listed up the derivation paths that I collected over time by asking wallet makers.
Thank you all for your contributions.
Honest.cash also has this article on the deriviation path they use and the logic behind it: https://honest.cash/honest_cash/new-on-honest-cash-custom-hd-derivation-paths-123/
Additional information on wallet deriviation compatibility: https://honest.cash/honest_cash/how-to-import-your-honest-wallet-into-bitcoincom-wallet-1690 https://honest.cash/honest_cash/how-to-import-your-honest-wallet-into-electron-cash-134
Different wallets use different HD derivation paths. There has been some confusion as to what derivation BITBOX uses and what other wallets use. This is the place to discuss what derivation paths to use and where to use them.
BITBOX examples use the "m/44'/145'/0'" derivation, but any derivation path can be used with the the
masterHDNode.derivePath
call. You can generate an output like the below by running this create-wallet example.