Pages:
Author

Topic: [Solved] How to claim BTG from an Electrum wallet? - page 2. (Read 23558 times)

legendary
Activity: 2758
Merit: 6830
Thanks, I will give this a shot.  Just one thing.  I have Coinomi installed, but no wallet set up yet.  Clean slate, fresh install.  Rather than sweep, can I click "Restore a wallet" on the first screen that pops up, then scan the QR code, then add in a bitcoin gold wallet after the BTC wallet is created with my Electrum Private Key.  I thought I saw a way to add the bitcoin gold wallet after somewhere, by choosing a currency type to add, but I don't know where I saw that now.  If any of that makes sense.
No. You can't import a Electrum seed nor a single private key into Coinomi.

Or, should I set up a new wallet from scratch, go into the bitcoin gold wallet and do the sweep?
That's what you should do. Create a new wallet from Coinomi (don't forget to save your seed), and them do the BTG sweep.
newbie
Activity: 57
Merit: 0
I keep seeing people say to export the private keys.  Export how?  Export to what?  Correct me if I'm wrong, but it looks like you just have to pull up the private key, view the QR code and then scan that from Coinomi using your phone.  Nothing is exported, right?  That's more of an import?  Into Coinomi?  

I haven't tried it yet, but shouldn't it be as simple as starting a new Coinomi wallet, choosing the Restore option, then snapping a pic of the QR code from your Electrum Private Key, then adding Bitcoin Gold to Coinomi?
Right click your address in the Addresses tab (if the tab isn't showing: View -> Show Addresses) and select Private Key. Enter your wallet password (if you have any) and you should see your Private Key.

If you want to export your private key to claim your BTG in Coinomi, you can:

1. Click in the little QR code in right bottom part of the Electrum Private Key dialog.
2. Go to your Bitcoin Gold wallet in Coinomi.
3. Select Sweep Wallet and make sure "Receive with" is selected to Bitcoin Gold.
4. Scan your Private Key QR code and sweep your BTG to your Coinomi wallet.

Thanks, I will give this a shot.  Just one thing.  I have Coinomi installed, but no wallet set up yet.  Clean slate, fresh install.  Rather than sweep, can I click "Restore a wallet" on the first screen that pops up, then scan the QR code, then add in a bitcoin gold wallet (by hitting the COINS button) after the BTC wallet is created with my Electrum Private Key.  If any of that makes sense.

Or, should I set up a new wallet from scratch, go into the bitcoin gold wallet and do the sweep?

Sorry if I sound somewhat newbish.  It's because I don't want to click anything in Coinomi until I know for sure the route to take, so I can't see beyond the first screen.


legendary
Activity: 2758
Merit: 6830
I keep seeing people say to export the private keys.  Export how?  Export to what?  Correct me if I'm wrong, but it looks like you just have to pull up the private key, view the QR code and then scan that from Coinomi using your phone.  Nothing is exported, right?  That's more of an import?  Into Coinomi?  

I haven't tried it yet, but shouldn't it be as simple as starting a new Coinomi wallet, choosing the Restore option, then snapping a pic of the QR code from your Electrum Private Key, then adding Bitcoin Gold to Coinomi?
Right click your address in the Addresses tab (if the tab isn't showing: View -> Show Addresses) and select Private Key. Enter your wallet password (if you have any) and you should see your Private Key.

If you want to export your private key to claim your BTG in Coinomi, you can:

1. Click in the little QR code in right bottom part of the Electrum Private Key dialog.
2. Go to your Bitcoin Gold wallet in Coinomi.
3. Select Sweep Wallet and make sure "Receive with" is selected to Bitcoin Gold.
4. Scan your Private Key QR code and sweep your BTG to your Coinomi wallet.
newbie
Activity: 57
Merit: 0
Before Bitcoin Gold Fork i had some 0.01 BTC in my Electrum wallet. I moved away that fund only couple of two weeks ago.

I tried everything i can to claim my BTG:
Most notably using Coinomi wallet, and using their instructions https://coinomi.freshdesk.com/support/solutions/articles/29000016909-i-didn-t-have-btc-in-coinomi-at-the-time-of-the-snapshot-how-do-i-claim-btg-. I imported the seed of my Electrum wallet restoring it in Coinomi,after i had made it empty for obvious security reasons.
This would not have worked correctly... Electrum seeds ARE NOT BIP39 compatible, with generally means that Electrum seeds ARE NOT COMPATIBLE with any other known wallet...


Quote
Is there any way that i can claim this BTG? Cry
Yes, but it will need to be done manually... In your Electrum wallet, you need to go to your "Addresses" tab and look at ALL the addresses... receive and change... "used" and unused.

What you want to look for is all the addresses that you can find that has a non-zero "Tx" value... A non-zero "Tx" value means that the address MUST have received coins at some point:
https://i.imgur.com/259rzvA.png

Export the private key for EVERY address that has a non-zero TX value. Some of them may not have any BTG (as they might have been empty at the time of the fork), but if you export all of them, you're won't miss any coins Wink Don't forget to look through all your "change" as well as "receive" addresses... including both "used" and "unused".

Then you simply import all the private keys into the BTG wallet of your choice... and your BTG should show up Smiley

I keep seeing people say to export the private keys.  Export how?  Export to what?  Correct me if I'm wrong, but it looks like you just have to pull up the private key, view the QR code and then scan that from Coinomi using your phone.  Nothing is exported, right?  That's more of an import?  Into Coinomi?  

I haven't tried it yet, but shouldn't it be as simple as starting a new Coinomi wallet, choosing the Restore option, then snapping a pic of the QR code from your Electrum Private Key, then adding Bitcoin Gold to Coinomi?
newbie
Activity: 21
Merit: 0
"The address has no funds"
There are multiple causes for that error
The address starts with a "3" and is protected by multisig or is a segwit address
We are hard at work implementing these advanced options and latest technologies into Coinomi. We will make an announcement once they are done.
newbie
Activity: 21
Merit: 0
Before Bitcoin Gold Fork i had some 0.01 BTC in my Electrum wallet. I moved away that fund only couple of two weeks ago.

I tried everything i can to claim my BTG:
Most notably using Coinomi wallet, and using their instructions https://coinomi.freshdesk.com/support/solutions/articles/29000016909-i-didn-t-have-btc-in-coinomi-at-the-time-of-the-snapshot-how-do-i-claim-btg-. I imported the seed of my Electrum wallet restoring it in Coinomi,after i had made it empty for obvious security reasons.
This would not have worked correctly... Electrum seeds ARE NOT BIP39 compatible, with generally means that Electrum seeds ARE NOT COMPATIBLE with any other known wallet...


Quote
Is there any way that i can claim this BTG? Cry
Yes, but it will need to be done manually... In your Electrum wallet, you need to go to your "Addresses" tab and look at ALL the addresses... receive and change... "used" and unused.

What you want to look for is all the addresses that you can find that has a non-zero "Tx" value... A non-zero "Tx" value means that the address MUST have received coins at some point:
https://i.imgur.com/259rzvA.png

Export the private key for EVERY address that has a non-zero TX value. Some of them may not have any BTG (as they might have been empty at the time of the fork), but if you export all of them, you're won't miss any coins Wink Don't forget to look through all your "change" as well as "receive" addresses... including both "used" and "unused".

Then you simply import all the private keys into the BTG wallet of your choice... and your BTG should show up Smiley

I tried to claim BTG coins into Coinomi wallet using these instructions too and all addresses i tried resulted in the error of: "The private key does not contain any funds." Who can to help me pls?
newbie
Activity: 2
Merit: 0
Thanks a lot to HCP for the detailed illustrated instructions, that helped a lot and I got all my BTG's. I exchanged them for BTC on Coinomi, thru Changelly exchange: there was quite some waiting time for the exchange to complete, but all is well now.
full member
Activity: 224
Merit: 102
[-- snip --]
All wallets supporting BTG can be found in their official website.

Sure  Undecided.

The one from their official site was recently compromised (among other things wrong with BTG).
Which one? I imagine that you are talking about the web wallet that were storing private keys/seeds? Because that one wasn't created by anyone from the BTG dev team.

No, I'm talking about the one they have this giant warning for on their site:



Except things have changed since my one week hiatus from here, that's not a web wallet.

There is/was, you're just going to have to be willing to say "bye bye" to your BTC's during use.
Why?

See above.
legendary
Activity: 2758
Merit: 6830
Do you need to or would you advise sending out all the BTC from an address before importing it into some BTG wallet?
You don't need but it's recommended. Especially if you are going to import your private-key in a not so reliable wallet.

Also, which BTG wallet do you recommend/use?
All wallets supporting BTG can be found in their official website.

The one from their official site was recently compromised (among other things wrong with BTG).
Which one? I imagine that you are talking about the web wallet that were storing private keys/seeds? Because that one wasn't created by anyone from the BTG dev team.

There is/was, you're just going to have to be willing to say "bye bye" to your BTC's during use.
Why?
full member
Activity: 224
Merit: 102
Before Bitcoin Gold Fork i had some 0.01 BTC in my Electrum wallet. I moved away that fund only couple of two weeks ago.

I tried everything i can to claim my BTG:
Most notably using Coinomi wallet, and using their instructions https://coinomi.freshdesk.com/support/solutions/articles/29000016909-i-didn-t-have-btc-in-coinomi-at-the-time-of-the-snapshot-how-do-i-claim-btg-. I imported the seed of my Electrum wallet restoring it in Coinomi,after i had made it empty for obvious security reasons.
This would not have worked correctly... Electrum seeds ARE NOT BIP39 compatible, with generally means that Electrum seeds ARE NOT COMPATIBLE with any other known wallet...


Quote
Is there any way that i can claim this BTG? Cry
Yes, but it will need to be done manually... In your Electrum wallet, you need to go to your "Addresses" tab and look at ALL the addresses... receive and change... "used" and unused.

What you want to look for is all the addresses that you can find that has a non-zero "Tx" value... A non-zero "Tx" value means that the address MUST have received coins at some point:


Export the private key for EVERY address that has a non-zero TX value. Some of them may not have any BTG (as they might have been empty at the time of the fork), but if you export all of them, you're won't miss any coins Wink Don't forget to look through all your "change" as well as "receive" addresses... including both "used" and "unused".

Then you simply import all the private keys into the BTG wallet of your choice... and your BTG should show up Smiley

Do you need to or would you advise sending out all the BTC from an address before importing it into some BTG wallet? Also, which BTG wallet do you recommend/use? The one from their official site was recently compromised (among other things wrong with BTG).

Anyway to do this "cold" like with Electron Cash

Don't want to risk putting private key inside an Android phone (which are always full of exploits) or on an online computer with the main wallet

Rather create the transaction and sign it offline
Maybe you can do it by using Bitcoin Gold core? The problem with BTG is that there are almost no working wallet available.

There is/was, you're just going to have to be willing to say "bye bye" to your BTC's during use.
legendary
Activity: 2758
Merit: 6830
Anyway to do this "cold" like with Electron Cash

Don't want to risk putting private key inside an Android phone (which are always full of exploits) or on an online computer with the main wallet

Rather create the transaction and sign it offline
Maybe you can do it by using Bitcoin Gold core? The problem with BTG is that there are almost no working wallet available.

At least with BCH we had Electron Cash right after its release.
legendary
Activity: 3808
Merit: 1723
Anyway to do this "cold" like with Electron Cash

Don't want to risk putting private key inside an Android phone (which are always full of exploits) or on an online computer with the main wallet

Rather create the transaction and sign it offline
HCP
legendary
Activity: 2086
Merit: 4361
Can you explain this to someone with no much knowledge to scripts and devs ? (I have 2fa wallet)
Sadly, no... The simplified process as it stands requires you to be able to:

1. Disable the 2FA features of your 2FA wallet (restore -> 2FA wallet -> enter seed -> select "disable" -> DO NOT SET a wallet password)
2. Extract the 2 xprvs from your now "unencrypted" wallet file with a text editor
3. Get the "redeem scripts" for all the "3" addresses that hold coins
4. Use coinb.in to "decode" the redeem scripts and identify the "1" addresses that have been used to generate your "3" addresses
5. Use your extracted xprv's on https://iancoleman.io/bip39/ to generate "1" addresses and matching private keys
6. Match generated "1" addresses from https://iancoleman.io/bip39/ to "1" addresses from "redeem script" decode
7. Manually create a raw transaction in BTG Core wallet
8. Sign the raw transaction with private keys found at https://iancoleman.io/bip39/
9. Broadcast the signed transaction

Steps 1-6, aren't that difficult... and can be done relatively easily... a lot of point and click and copy/paste etc... Not super technical, they are just pretty time consuming.

Step 7 requires pretty indepth knowledge of how transactions are actually created and require some fairly low level Bitcoin fun... for reference: http://www.soroushjp.com/2014/12/20/bitcoin-multisig-the-hard-way-understanding-raw-multisignature-bitcoin-transactions/

Unfortunately, that article kind of glosses over the "spending" part of the process and "cheats" by using the wallet code to do it... We don't have that luxury here... as we're dealing with this at the private key level... and there aren't any BTG compatible tools Undecided

Step 8-9, aren't too difficult either...

Additionally, this process will also require that you install BTG Core wallet and download the entire BTG blockchain.

OR

You can wait until someone puts out a BTG compatible version of Electrum.
newbie
Activity: 3
Merit: 0


- MultiSigs are made up of several keys (2FA's are made up of 3)
- You need to get all the individual pieces (Electrum will only give you 1, by clicking "export private key"). This requires digging around in wallet files and using various tools to convert the redeem script into individual addresses and using xprvs to find the private keys for those individual addresses
- Once you have all the pieces, you can use them to manually create a "raw" transaction.
- You then sign the raw transaction using the individual pieces that you extracted and you can broadcast the message.


Can you explain this to someone with no much knowledge to scripts and devs ? (I have 2fa wallet)
HCP
legendary
Activity: 2086
Merit: 4361
Hey - yes I have a 2FA wallet. I imported my private key to a new electrum wallet and now that private key is assigned a "1" address.. which doesn't display the amount of BTG I have available like my "3" address does.... since the private key is now assigned to a  "1" address does this mean that I'll be able to recover the BTG since the private key is also associated with the 3 address or does this not work?
A 2FA wallet? Excellent, that makes things a little bit easier Smiley

Like I said earlier... you cannot simply export a key from an Electrum MultiSig address (Electrum 2FA wallets are a fancy type of MultiSig)... it just doesn't work like that.

- MultiSigs are made up of several keys (2FA's are made up of 3)
- You need to get all the individual pieces (Electrum will only give you 1, by clicking "export private key"). This requires digging around in wallet files and using various tools to convert the redeem script into individual addresses and using xprvs to find the private keys for those individual addresses
- Once you have all the pieces, you can use them to manually create a "raw" transaction.
- You then sign the raw transaction using the individual pieces that you extracted and you can broadcast the message.
newbie
Activity: 15
Merit: 0
Ok well now I'm totally confused, did I lose my BTG forever? Because --- I just imported my private key from my Mac which contained the "3" address and I imported the associated private key to my Dell PC Electrum wallet and created a new wallet through the standard set up and imported my private key.... now my private key that was on my Mac has a "1" address... but when I look up the "1" address the explorer doesn't return a result... but when I go back to view my "3" address I still see the BTG

Did I lose it forever since my new electrum wallet reassigned my private key to a "1" address?

No, you haven't lost it... the private key hasn't be "reassigned"... When you export a private key from Electrum for a "3" address... it doesn't get your ALL the private keys required to recreate that "3" address. Your wallet should say something like "2of3" or "2of2" or something like that in the title bar... The first number is the minimum number of signatures required to sign transactions... the 2nd number is the total number of private keys used to create the wallet.

So if you have "2of3", the wallet was originally created by merging 3 keys together... but you only need any 2 of these to sign a transaction. Depending on how the wallet was actually made will determine how many private keys are actually stored in your copy of the wallet... and whether or not you need private keys from other wallets to "co-sign" your transaction.

Do you remember how you setup the wallet? what xprvs, xpubs you used? or did you create a "two factor authentication" aka "2FA" wallet?

Hey - yes I have a 2FA wallet. I imported my private key to a new electrum wallet and now that private key is assigned a "1" address.. which doesn't display the amount of BTG I have available like my "3" address does.... since the private key is now assigned to a  "1" address does this mean that I'll be able to recover the BTG since the private key is also associated with the 3 address or does this not work?

I'm sorry if this sounds confusing - I'm really just trying to make sense of it myself. Any help is appreciated - thank you so much!
HCP
legendary
Activity: 2086
Merit: 4361
I'm also struggling here. All my elctrum addresses start with 3 and therefore I am unable to import ANY BTC keys to BTG wallet. I have tried various different methods to no avail. Surely someone has a solution.
As I stated... There is no way to just "import keys"...

Until someone creates a BTG compatible version of Electrum, You need to dig down into the MultiSig... extract multiple keys... create a manual transaction, sign it... and broadcast it.

Is your wallet a 2FA wallet? or is it a MofN MultiSig?
member
Activity: 115
Merit: 10
Ok well now I'm totally confused, did I lose my BTG forever? Because --- I just imported my private key from my Mac which contained the "3" address and I imported the associated private key to my Dell PC Electrum wallet and created a new wallet through the standard set up and imported my private key.... now my private key that was on my Mac has a "1" address... but when I look up the "1" address the explorer doesn't return a result... but when I go back to view my "3" address I still see the BTG

Did I lose it forever since my new electrum wallet reassigned my private key to a "1" address?

No, you haven't lost it... the private key hasn't be "reassigned"... When you export a private key from Electrum for a "3" address... it doesn't get your ALL the private keys required to recreate that "3" address. Your wallet should say something like "2of3" or "2of2" or something like that in the title bar... The first number is the minimum number of signatures required to sign transactions... the 2nd number is the total number of private keys used to create the wallet.

So if you have "2of3", the wallet was originally created by merging 3 keys together... but you only need any 2 of these to sign a transaction. Depending on how the wallet was actually made will determine how many private keys are actually stored in your copy of the wallet... and whether or not you need private keys from other wallets to "co-sign" your transaction.

Do you remember how you setup the wallet? what xprvs, xpubs you used? or did you create a "two factor authentication" aka "2FA" wallet?

I'm also struggling here. All my elctrum addresses start with 3 and therefore I am unable to import ANY BTC keys to BTG wallet. I have tried various different methods to no avail. Surely someone has a solution.
HCP
legendary
Activity: 2086
Merit: 4361
Ok well now I'm totally confused, did I lose my BTG forever? Because --- I just imported my private key from my Mac which contained the "3" address and I imported the associated private key to my Dell PC Electrum wallet and created a new wallet through the standard set up and imported my private key.... now my private key that was on my Mac has a "1" address... but when I look up the "1" address the explorer doesn't return a result... but when I go back to view my "3" address I still see the BTG

Did I lose it forever since my new electrum wallet reassigned my private key to a "1" address?

No, you haven't lost it... the private key hasn't be "reassigned"... When you export a private key from Electrum for a "3" address... it doesn't get your ALL the private keys required to recreate that "3" address. Your wallet should say something like "2of3" or "2of2" or something like that in the title bar... The first number is the minimum number of signatures required to sign transactions... the 2nd number is the total number of private keys used to create the wallet.

So if you have "2of3", the wallet was originally created by merging 3 keys together... but you only need any 2 of these to sign a transaction. Depending on how the wallet was actually made will determine how many private keys are actually stored in your copy of the wallet... and whether or not you need private keys from other wallets to "co-sign" your transaction.

Do you remember how you setup the wallet? what xprvs, xpubs you used? or did you create a "two factor authentication" aka "2FA" wallet?
newbie
Activity: 15
Merit: 0
This ONLY works for people with "1" address's, not 3 --- is there any method to work for a 3 address?? Can I import my private key ("3") into a new electrum wallet that supports ("1") address's?
This is the problem... you have a "3" type address... also known as "Pay to Script Hash" or "P2SH".

This type of address is typically used for "MultiSig" addresses which, as the name implies, requires multiple signatures from multiple private keys to be able to sign for messages. Due to this multi-key setup, they can often be difficult to port from one "chain" to another. Historically, they're also difficult to move from one wallet to another, as you can't just export a private key and then import/sweep that private key. Undecided

Additionally, Electrum generates "3" type addresses for it's "Two Factor Authentication" or "2FA" wallets.


Theoretically, it SHOULD be possible to recreate the MultiSig in Bitcoin Gold... but I suspect that at the moment, it would be a manual process and somewhat technical (ie. crafting raw transactions and signing them manually).

Ok well now I'm totally confused, did I lose my BTG forever? Because --- I just imported my private key from my Mac which contained the "3" address and I imported the associated private key to my Dell PC Electrum wallet and created a new wallet through the standard set up and imported my private key.... now my private key that was on my Mac has a "1" address... but when I look up the "1" address the explorer doesn't return a result... but when I go back to view my "3" address I still see the BTG


Did I lose it forever since my new electrum wallet reassigned my private key to a "1" address?
Pages:
Jump to: