Bitcoin Forum
May 02, 2024, 09:47:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: exporting private key from wallet with 2fa  (Read 436 times)
kozalla (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
September 26, 2017, 06:18:27 PM
 #1

I'm trying to export a private key so I can add it to omniwallet.  The address contains some MAID.

3Qs6L5xhAXHupV4KCVo6MSGv6HC4JwqhHD

When I export the private key it shows a balance of 0 on omniwallet.  I read elsewhere that this is because I have a 2fa wallet, and the address doesn't have a single private key.  I restored the wallet from seed and chose to disable 2fa, but it didn't seem to solve anything.

What steps do I need to take to move these coins to omniwallet, if that's even possible?  Thanks.

If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714686468
Hero Member
*
Offline Offline

Posts: 1714686468

View Profile Personal Message (Offline)

Ignore
1714686468
Reply with quote  #2

1714686468
Report to moderator
1714686468
Hero Member
*
Offline Offline

Posts: 1714686468

View Profile Personal Message (Offline)

Ignore
1714686468
Reply with quote  #2

1714686468
Report to moderator
aplistir
Full Member
***
Offline Offline

Activity: 378
Merit: 197



View Profile
September 26, 2017, 09:01:01 PM
 #2

Not an expert in your problem, but...

Easiest thing would be to create a new address in your new wallet, and just transfer the coins to the new address.
The only drawback is that you will have to pay the transfer fee, which is currently quite small.


My Address: 121f7zb2U4g9iM4MiJTDhEzqeZGHzq5wLh
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
September 27, 2017, 02:36:52 AM
 #3

2FA wallets are "MultiSig" wallets... so the address is actually created using THREE private keys... exporting a single one and then importing it into another wallet will generate a completely different address and you will not be able to access your MAID token.

From a quick read, you would need to manually construct a "raw, unsigned" transaction that transfers your MAID... and then sign it with Electrum by getting the 2 private keys for your 2FA address from restoring and disabling 2FA.

Read this: https://github.com/OmniLayer/omniwallet/issues/1314

They seem to have been successful in recovering MAID from an Electrum 2FA, but it looks like a LOT of work Undecided

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10530



View Profile
September 27, 2017, 04:49:48 AM
 #4

~
From a quick read, you would need to manually construct a "raw, unsigned" transaction that transfers your MAID... and then sign it with Electrum by getting the 2 private keys for your 2FA address from restoring and disabling 2FA.

i did not read it all to be honest but it seems like a very long and unnecessary way of doing something that is easy to do! there is a much simpler way but still a bit long to get all the 3 master keys of your 2FA wallet in Electrum.

i am not sure how MAID works but if the 3 master keys (2FA is a 2 out of 3 IIRC) is what you want i can write some walkthrough here.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
September 27, 2017, 05:03:03 AM
 #5

Unfortunately, it isn't just about getting the 2 private keys out of Electrum... that part is easy... you simply restore your 2FA wallet using the 2FA seed and "disable" the 2FA when prompted to "Keep or disable"... don't put a password on the wallet file, copy paste the two xprv's from your unencrypted wallet file into the BIP39 tool and use a derivation path of m/0... et voila, all the "1" addresses that form components of your "3" address are created.

The difficulty comes from the fact that MAID is essentially a token running on Omnilayer... and while you can easily send a transaction from your 2FA wallet that will send Bitcoin, there is no way for you to create a transaction in Electrum that will move the MAID.

So, as far as I can tell... you need to:

1. Get your 2 keys from your 2FA wallet for the address containing MAID
2. Install and Sync Omni
3. Create a raw, unsigned transaction in Omni that shifts the MAID from your electrum address to somewhere else (and includes a small amount of BTC)
4. Sign the transaction using the private keys
5. Broadcast the transaction
6. Live happily ever after Wink


Steps 3&4 look to be the hard part Undecided

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10530



View Profile
September 27, 2017, 05:17:10 AM
 #6

Unfortunately, it isn't just about getting the 2 private keys out of Electrum... that part is easy... you simply restore your 2FA wallet using the 2FA seed and "disable" the 2FA when prompted to "Keep or disable"... don't put a password on the wallet file, copy paste the two xprv's from your unencrypted wallet file into the BIP39 tool and use a derivation path of m/0... et voila, all the "1" addresses that form components of your "3" address are created.
i was talking about getting the "3" addresses but with all the keys in one place and be able to sign transactions yourself without the need for other parties. you actually don't need a third party either. you just restore from seed and disable the 2FA but go to your wallet file and take out the master keys and then create a new wallet with those keys to have a new wallet.

Quote
The difficulty comes from the fact that MAID is essentially a token running on Omnilayer... and while you can easily send a transaction from your 2FA wallet that will send Bitcoin, there is no way for you to create a transaction in Electrum that will move the MAID.
yeah that is why i said i have no idea how MAID works Tongue

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!