Post
Topic
Board Electrum
Re: Signing a message with the Android client
by
HCP
on 07/09/2017, 04:59:33 UTC
... I have no access whatsoever to any desktop version of Electrum. I need to get the private key out of the Android version.
The only thing I can think of... is to make a couple of edits to the BIP39 mnemonic code converter (https://iancoleman.github.io/bip39/) and run that on your phone.

I hacked up a version of it that removes the checksum validation (Electrum uses a different system to BIP39 and I couldn't be bothered implementing it, so I just removed it Grin Tongue)... and uses "electrum" as the default passphrase (as per Electrum code) instead of "mnemonic" (as per BIP39 spec).

Electrum appears to use a "BIP32 Derivation path" of m/0 for receive addresses and m/1 for change addresses...

Also, because of the tremendous amount of JavaScript contained within the page... it is something like 2.5megs! And runs a bit slow on my old Galaxy S5, but it works Wink

I've put up a copy here: https://github.com/HardCorePawn/electrumBIP39

It's very rough, the links probably won't work, and half of it still references the iancoleman page, but I've put a test Electrum seed into it, and it generates the same receive and change addresses as the actual Electrum wallet.