3
2
Electrum 2.0 has been causing me some frustration, insofar as it seems to be a non-standard implementation of BIP32/BIP39 (HD wallets, mnemonic seed, respectively). The wallet in question is a 2of2 multisig wallet (all P2SH), with the 2nd extended public key being created in pybitcointools using
bip32_privtopub( bip32_master_key( sha256("a password") ) ),
then imported into Electrum.
Given the 13 word seed, which itself is non standard since the last word is a checksum, it's proven impossible to export the xpriv key from Electrum.
How is a mnemonic seed converted to a BIP32 standard extended private key (given the client itself won't allow it)? : EDIT1: with great difficulty, see my answer below
(REFOCUSED) QUESTION: *why does Electrum:
- stray from BIP0039?
- make exporting the master BIP32 private key impossible?
- return partially signed P2SH hex Txs which are malformed?
Where on earth did you find that?! Nice work! – Wizard Of Ozzie – 2015-04-25T15:15:45.177
Thanks! Someone on Bitcointalk was asking how to do this today, and I thought I'd dig around the Electrum source a bit to see if I could figure out a better way to do this before responding. Afterwards, it made sense to update this answer and get rid of the not-so-safe method that was here before. – Christopher Gurnee – 2015-04-25T16:24:30.907
wallet.get_master_private_key('x/', None)with no password FWIW, not""– Wizard Of Ozzie – 2015-04-25T17:15:27.120