Author

Topic: Trying to move BCH from Electrum 2FA wallet - Pulling my hair out with this! (Read 382 times)

newbie
Activity: 2
Merit: 0


Any ideas?



like the guy above me said, look for the keys in the wallet file.

but to put a finer point on that - you can actually open the wallet file with a text editor and go to the bottom to find those priv keys (assuming that you have made your wallet without an encryption key for the purposes of getting your BCH.

if not, make a new wallet as 2fa, but disable the 2fa and dont put any password on it... then it should be readable as text.

please correct me if i am wrong, internet, because i am certainly no expert.  but i did search for an answer on this for what seems like weeks.
HCP
legendary
Activity: 2086
Merit: 4363
Once you deactivate 2FA using your seed to restore and selecting "disable" when prompted, then there should be an X1 xprv and an X2 xprv. (Usually located right at the end of the wallet file).

If there are not, then something has gone wrong. Did you set a wallet password? You have to create the wallet with NO password.
newbie
Activity: 1
Merit: 0
Hey there,

thanks for the explanation. I was having the same problem with my old electrum 2fa wallet > redeem BCH

BUT:

using the master PUBLIC keys (only ones available inside the wallet) from my new 2fa DEACTIVATED electrum wallet resulted in a 2of3, watching only electron wallet.

Now I'm struggling to extract the master PRIVATE keys from the electrum wallet which I guess are required to create a fully functional -not only watching- BCH wallet...

Any ideas?

I have found a clue, the command

electrum getmasterprivate -w /path/to/wallet_file
. wallet files are in ~/.electrum/wallets. ~/ is your home directory.

...but I get a syntax error in the electrum wallet console when I use this.

Any help would be greatly appreciated.
Best, B
newbie
Activity: 2
Merit: 0
Should be fairly easy I would think.

1. Open ElectronCash
2. File -> New\Restore -> MultiSig Wallet
3. Set "From 3 cosigners", "requires 2 signatures"
4. "Use public or private keys"
5. Paste in the "X1" xprv from your disabled 2FA wallet
6. When prompted for co-signer 2, "Enter Co-signer key"
7. Paste in the "X2" xprv from your disabled 2FA wallet
8. When prompted for co-singer 3, "Enter Co-singer key"
9. Paste in the "X3" xpub from your disabled 2FA wallet.

This should theoretically recreate the 2-of-3 MultiSig that is identical to your Electrum disabled 2FA wallet. You should be able to see the same addresses generated, your pre-fork history and BCH coins. And because it contains 2 of the 3 private keys... should allow you to sign and broadcast transactions.

For reference: https://www.youtube.com/watch?v=umsIy1ks8vg

The video is using LTC and BTC, but should theoretically work the same...


I had to register just to thank you for this.

and OP for asking the question I have been searching over the past week.

thank you so much!
sr. member
Activity: 364
Merit: 250
Thanks a ton for that, i think after spending hours on it i overlooked that option, worked fine, thank you!
HCP
legendary
Activity: 2086
Merit: 4363
Should be fairly easy I would think.

1. Open ElectronCash
2. File -> New\Restore -> MultiSig Wallet
3. Set "From 3 cosigners", "requires 2 signatures"
4. "Use public or private keys"
5. Paste in the "X1" xprv from your disabled 2FA wallet
6. When prompted for co-signer 2, "Enter Co-signer key"
7. Paste in the "X2" xprv from your disabled 2FA wallet
8. When prompted for co-singer 3, "Enter Co-singer key"
9. Paste in the "X3" xpub from your disabled 2FA wallet.

This should theoretically recreate the 2-of-3 MultiSig that is identical to your Electrum disabled 2FA wallet. You should be able to see the same addresses generated, your pre-fork history and BCH coins. And because it contains 2 of the 3 private keys... should allow you to sign and broadcast transactions.

For reference: https://www.youtube.com/watch?v=umsIy1ks8vg

The video is using LTC and BTC, but should theoretically work the same...
sr. member
Activity: 364
Merit: 250
I have an older electrum 2FA wallet with some old funds i want to move to my present wallets (BTC already moved), and i imported the seed to disable 2FA. I have tried electron cash with the wallet file with 2FA disabled and seed directly with no luck, but the BCH shows at the address on block explorer and on electrum coins as being there. The wallet file just makes electron cash crash.

I cannot sign a transaction with electrum using a BCH server to broadcast, as it throws an error about the signature hash, sigfork hash ID... something to do with replay protection me thinks...

There is no option to import a 2FA seed into electron cash, trying to import it as a standard seed is no dice.

I manually got the xpub and xpriv keys from my electrum wallet files for the multisig addresses (imported the seed into an unpassworded wallet to grab them), and I also have the original 12 word seed with the two of three keys embedded in it.

How can I import this to electron cash or some other method so i can get my BCH out using either the seed or the xpriv keys? I have 2 of the 3 Xpriv keys and all 3 xpub keys to this multisig wallet, with 2-of-3 required.

Any help would be greatly appreciated.
Jump to: