Bitcoin Forum
May 03, 2024, 08:22:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Trying to move BCH from Electrum 2FA wallet - Pulling my hair out with this!  (Read 357 times)
jacobmayes94 (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
November 20, 2017, 10:11:34 PM
 #1

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.
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 21, 2017, 10:43:08 AM
 #2

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...

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
jacobmayes94 (OP)
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
November 21, 2017, 01:00:14 PM
 #3

Thanks a ton for that, i think after spending hours on it i overlooked that option, worked fine, thank you!
elephantleg
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 26, 2017, 02:19:35 AM
 #4

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!
bob743567
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 30, 2017, 01:20:36 PM
 #5

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
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 30, 2017, 09:57:48 PM
 #6

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
elephantleg
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 03, 2018, 04:16:22 AM
 #7



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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!