Skip to content

Using mnemonic passphrase and keys made by bitcoinlib with tools such as Coinbase Wallet app #379

Answered by pkelly92127
pkelly92127 asked this question in Q&A
Discussion options

You must be logged in to vote

I actually resolved it. I was using the passphrase to create a wallet and using the seed from the passphrase for the wallet create function. To get my stuff to match the coinbase wallet, I needed to use the HDKey object, like so:

from bitcoinlib.keys import HDKey

passphrase = 'put your 12 or 24 words here'
hdkey = HDKey().from_passphrase(passphrase)
k = hdkey.subkey_for_path("m/44'/0'/0'/0/0")
k.address()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pkelly92127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant