I am trying to create a set of public/private keys from a mnemonic based on BIP0039. I am working in Python.
Here is the code I have so far:
from mnemonic import Mnemonic
mnemon = Mnemonic('english')
words = mnemon.generate(256)
mnemon.check(words)
seed = mnemon.to_seed(words)
In BIP0039, it is stated that you should be able to get to the Keys with a seed, but I haven't been able to figure it out in Python using bip32utils. Does anyone have an example of how to use bip32utils to convert a seed into private/public keys and their respective addresses?
from How to generate Bitcoin keys/addresses from a seed in Python?
No comments:
Post a Comment