Skip to content

wallets fromPhrase are not the same as in Metamask... #4148

Answered by ricmoo
moneyDev1111 asked this question in Q&A
Discussion options

You must be logged in to vote

MetaMask uses a different derivation path, opting to modify the index field in the BIP-43 instead of the account field.

There are two functions to use to derive the path, depending on which standard you are using, documented here.

When using software like Ledger it will scan both standards and tag any index-based accounts with the MetaMask tag.

Also, keep in mind when using fromPhrase it loads the target path, which means you are already too deep to use derive path. Depending on the target standard, you will need to specify the path 1 above it in the HD path, and then derive the child path from there. Unless you need the performance gain, I would recommend using the above functions to der…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@ricmoo
Comment options

@moneyDev1111
Comment options

@ricmoo
Comment options

Answer selected by moneyDev1111
Comment options

You must be logged in to vote
3 replies
@ricmoo
Comment options

@moneyDev1111
Comment options

@ricmoo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants