|
December 30, 2014, 07:46:36 PM |
|
Hello all, I am using electrum from git as I wanted a standard BIP44 key for storing bitcoins. I am experimenting with saving/restoring my seed to ensure I will be able to do so in the future or on another client. For the most part, I have it working but am wondering how to turn a seed back into an electrum 13 word mnemonic... What I have so far: To backup a seed, back up the mnemonic of course then extract the seed: from electrum import mnemonic m = Mnemonic print m.mnemonic_to_seed(sys.argv[1], '').encode('hex') That outputs the 256 bit seed used to create the initial bip32 key. The initial bip32 key doesn't appear to be stored in the wallet. Only the mnemonic and m/44'/0'/0' is stored I believe. The key can be generated with: sx hd-seed hexstring from mnemonic_to_seed. Outputs the XPRV string. So that allows me to restore the wallet into another client if need be.
Does anyone know how one gets that 256 bit key back into a usable electrum mnemonic?
|