Using mnemonic passphrase and keys made by bitcoinlib with tools such as Coinbase Wallet app #379
-
Hello - I used bitcoinlib successfully to generate passphrases (currently testing 12 word / 128 bit entropy) for wallets. I can see the private key, public key and public address (legacy) for the first bitcoin address. Path = "m/44'/0'/0'/0/0". I am not using any additional password. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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' |
Beta Was this translation helpful? Give feedback.
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()