Bitcoin Forum

Bitcoin => Electrum => Topic started by: bitsamurai on November 24, 2017, 10:33:25 AM



Title: [Solved] How to claim BTG from an Electrum wallet?
Post by: bitsamurai on November 24, 2017, 10:33:25 AM
[Edit: some cleaning up]
I tried to claim BTG coins into Coinomi wallet using these 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-).
But all addresses i tried resulted in the error of: "The private key does not contain any funds."
Am i missing something here?


Title: Re: How to claim BTG from an Electrum wallet?
Post by: HCP on November 24, 2017, 11:33:50 AM
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- (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? :'(
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://talkimg.com/images/2023/11/15/zO4j5.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 ;) 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 :)


Title: Re: How to claim BTG from an Electrum wallet?
Post by: asdlolciterquit on November 24, 2017, 11:39:55 AM
i read a lot of these kind of thread, and i'm in the situation of the OP.

I'm wondering: is it sure that there will be in the next future an electrum-BTG wallet? Are they still working on it?


Title: Re: How to claim BTG from an Electrum wallet?
Post by: TryNinja on November 24, 2017, 02:25:55 PM
i read a lot of these kind of thread, and i'm in the situation of the OP.

I'm wondering: is it sure that there will be in the next future an electrum-BTG wallet? Are they still working on it?
They offered a bounty for a Electrum fork some time ago. You can check it here[1].

That was all that came out of it:
Quote
ElectrumX now has Bitcoin Gold support via Coinomi: kyuupichan/electrumx@f3fea9f (https://github.com/kyuupichan/electrumx/commit/f3fea9f8ee88305aa087bb996a3d1857708b3a20)
https://github.com/BTCGPU/BTCGPU/issues/48#issuecomment-345377640

But there is nothing ready or easy to setup so far.

[1] https://github.com/BTCGPU/BTCGPU/issues/48


Title: Re: How to claim BTG from an Electrum wallet?
Post by: bitsamurai on November 24, 2017, 08:30:07 PM
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- (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? :'(
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.

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 ;) 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 :)
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:

This made the trick: Thanks a lot!


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: ycir on November 24, 2017, 08:43:29 PM
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?


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on November 24, 2017, 10:19:27 PM
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. :-\

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


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: ycir on November 24, 2017, 10:32:42 PM
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. :-\

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?


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on November 24, 2017, 10:46:23 PM
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?


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: turboblade on November 24, 2017, 10:58:05 PM
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.


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on November 24, 2017, 11:01:15 PM
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?


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: ycir on November 24, 2017, 11:18:10 PM
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!


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on November 24, 2017, 11:55:46 PM
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 :)

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.


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: MrTynKyn1 on November 25, 2017, 04:42:14 AM


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


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on November 25, 2017, 05:01:36 AM
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 :-\

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.


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: adaseb on November 25, 2017, 08:10:52 PM
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


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: TryNinja on November 26, 2017, 06:02:53 PM
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.


Title: Re: How to claim BTG from an Electrum wallet?
Post by: Coiner_ on November 26, 2017, 06:48:27 PM
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- (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? :'(
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 ;) 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 :)

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.


Title: Re: How to claim BTG from an Electrum wallet?
Post by: TryNinja on November 26, 2017, 08:13:11 PM
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?


Title: Re: How to claim BTG from an Electrum wallet?
Post by: Coiner_ on November 27, 2017, 01:21:45 AM
[-- snip --]
All wallets supporting BTG can be found in their official website.

Sure  :-\.

Quote
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:

http://image.ibb.co/nGnTQ6/image.png (https://bitcoingold.org/critical-warning-nov-26/)

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

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


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: clairette on November 27, 2017, 07:55:47 AM
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.


Title: Re: How to claim BTG from an Electrum wallet?
Post by: mr.dimus on November 29, 2017, 10:07:33 AM
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- (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? :'(
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 ;) 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 :)

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?


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: mr.dimus on November 29, 2017, 05:21:13 PM
"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.


Title: Re: How to claim BTG from an Electrum wallet?
Post by: aessedai on December 02, 2017, 10:11:10 AM
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- (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? :'(
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 ;) 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 :)

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?


Title: Re: How to claim BTG from an Electrum wallet?
Post by: TryNinja on December 02, 2017, 10:23:09 AM
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.


Title: Re: How to claim BTG from an Electrum wallet?
Post by: aessedai on December 02, 2017, 10:34:59 AM
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.




Title: Re: How to claim BTG from an Electrum wallet?
Post by: TryNinja on December 02, 2017, 10:39:31 AM
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.


Title: Re: How to claim BTG from an Electrum wallet?
Post by: aessedai on December 02, 2017, 10:53:41 AM

That's what you should do. Create a new wallet from Coinomi (don't forget to save your seed), and them to the BTG sweep.

Thank you so much!  That worked perfectly!  I'm rich now!  ;D

Do you think it's safe to leave it in Coinomi now?  That swept it from my previous private key in Electrum to a new private key in Coinomi, if I understand it right.  Right?  So I shouldn't have to go sending it to a new address or anything, right?

Thanks!  You're awesome!


Title: Re: How to claim BTG from an Electrum wallet?
Post by: TryNinja on December 02, 2017, 11:09:07 AM
Do you think it's safe to leave it in Coinomi now?  That swept it from my previous private key in Electrum to a new private key in Coinomi, if I understand it right.  Right?
Yes. You basically sent your BTG from your Electrum address to a new address created by your Coinomi wallet.

So I shouldn't have to go sending it to a new address or anything, right?
Honestly, I would trust Coinomi more than all the other BTG wallets currently available in the Bitcoin Gold website.

If you have a Trezor/Ledger Nano S, store your coins there. If not, keep them in your Coinomi wallet if you plan to hold, or send them to an exchange if you plan to sell.

Thanks!  You're awesome!
Always glad to help :)


Title: Re: How to claim BTG from an Electrum wallet?
Post by: aessedai on December 02, 2017, 11:23:54 AM
have a Trezor/Ledger Nano S, store your coins there. If not, keep them in your Coinomi wallet if you plan to hold, or send them to an exchange if you plan to sell.


Ah! I didn't think of that.  I have a Trezor.  I haven't even looked into setting up currencies other than bitcoin in it.  Good idea.  I plan on just holding onto the BTG for a while. 


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: ThomasAnderson7 on December 02, 2017, 05:18:40 PM
Can someone help me extracting my Bitcoin Gold from a 2fa Electrum Wallet step by step on Skype? I can offer 7% of the amount of Bitcoin Gold I manage to extract in return (not much, 7% of like 2,15, but it's still money), I find this process really difficult and I don't wanna lose my Bitcoin Gold


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: rjg20000 on December 03, 2017, 12:50:29 AM
Im in the same boat with the 2FA Electrum wallet and BTG. I think at this point its best to wait until Coinomi releases support for the import.


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on December 03, 2017, 01:58:48 AM
It *is* doable... it just isn't a straightforward "point and click" exercise... you need to find all the UTXOs contained in each 2FA address and manually create and sign a transaction to move these UTXOs to the BTG wallet address of your choice (personal wallet or exchange etc). This means typing in a bunch of commands on the Electrum and BitcoinGold Core wallet consoles.

It also means that you need to have the BitcoinGold "Core" wallet downloaded, installed and fully synced.


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: Spendulus on December 03, 2017, 04:33:05 AM
Can someone help me extracting my Bitcoin Gold from a 2fa Electrum Wallet step by step on Skype? I can offer 7% of the amount of Bitcoin Gold I manage to extract in return (not much, 7% of like 2,15, but it's still money), I find this process really difficult and I don't wanna lose my Bitcoin Gold


I suggest you take one private key with a small balance as of the 10-24 date, and work only with that one key. Get it done and verify success.

Then do another.

Really, there is no rush.

Otherwise, wait and expect that better means to retrieve the coins will become available. Think about it. If the BTG developers want to success, they need people to be able to get their coins and use them.


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: Lisander on December 03, 2017, 01:08:55 PM
Thank you for gide, now I will hold BTG while it grows enough.


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: ThomasAnderson7 on December 03, 2017, 07:31:42 PM
Can someone help me extracting my Bitcoin Gold from a 2fa Electrum Wallet step by step on Skype? I can offer 7% of the amount of Bitcoin Gold I manage to extract in return (not much, 7% of like 2,15, but it's still money), I find this process really difficult and I don't wanna lose my Bitcoin Gold

I can pay you guys, I will not take a lot of your time, just half an hour for 7% of my BTG (2,15), please, help me on Skype, hit me a PM


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: JaydenClayton5 on December 04, 2017, 07:44:21 PM
Can someone help me extracting my Bitcoin Gold from a 2fa Electrum Wallet step by step on Skype? I can offer 7% of the amount of Bitcoin Gold I manage to extract in return (not much, 7% of like 2,15, but it's still money), I find this process really difficult and I don't wanna lose my Bitcoin Gold

I can pay you guys, I will not take a lot of your time, just half an hour for 7% of my BTG (2,15), please, help me on Skype, hit me a PM

I'm offering a service to extract Bitcoin Gold from a 2fa Electrum Wallet, I'll take only 5% of the recovered BTG as a tip. The whole process it's very complicated and risky, yes, and requires a lot of time but it's doable, I will take care of everything, if you are interested hit me a PM or add me on Skype: jayden82@greenmail.net

I suggest you to do this, before BTG actually fails, as everyone are saying sell ASAP, so contact me and I'll take care of you. You won't even need to download the entire blockchain of the BTG Core Wallet, I will send BTG to a Coinomi wallet of yours if you wanna hodl them or to an exchange if you wanna sell them (if you are not pratical I can help with this too, don't worry).

P.S. Before you do this, you have to empty your Bitcoin Wallet from Bitcoin sending them to a brand NEW wallet, same with Bitcoin Cash, send them to a new Electron or another BCH wallet, so when you have to extract the BTG the wallet has to be empty from BTC and BCH

If you don't trust I can walk you through step by step


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on December 04, 2017, 08:40:30 PM
I'm offering a service to extract Bitcoin Gold from a 2fa Electrum Wallet, I'll take only 5% of the recovered BTG as a tip. The whole process it's very complicated and risky, yes, and requires a lot of time but it's doable
Complicated in so much that it requires you to restore your 2FA wallet with 2FA disabled, get the xprvs from the wallet file, find the addresses that contain coins, then collect redeem scripts, scriptpubkeys, vouts etc for the UTXOs controlled by those addresses and then manually create a transaction in BTG Core and then sign it with the appropriate private keys generated from the xprvs... Risky? Not really, the only risk involved is that you get your "fee" calculation wrong and spend more than you should on fees or you put the BTG address in wrong and send your coins to the wrong place :P

If you screw anything else up, chances are that BTG Core will just reject your command with an error and you can try again.

I walked thomasanderson7 through this process on skype yesterday... took maybe an hour to demonstrate the process with one address. He then did the rest himself.


NOTE: If you're going to do it yourself, you need to have BTG Core downloaded, installed and fully synced.


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: starpro on December 04, 2017, 10:46:05 PM
I haven't got my bitcoin gold but reading all of the conversation here it makes me think that it's totally complicated. Is there any other easy way?


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on December 04, 2017, 11:10:42 PM
I haven't got my bitcoin gold but reading all of the conversation here it makes me think that it's totally complicated. Is there any other easy way?
If it's in an Electrum 2FA or MultiSig wallet (ie. "3" addresses)... No.

If it's just a "standard wallet" that is generating "1" addresses... Yes.


Title: Re: How to claim BTG from an Electrum wallet?
Post by: milvi4ka on December 06, 2017, 02:09:21 PM
Everything worked like a charm! I created a new Electrum wallet first and moved my btc there. Then exported my private keys, luckily I only used two addresses. However, I could not get the Bitcoin Gold Core wallet to sync (and it required 150GB to do so), and I also didn't want to actually download Coinomi on my phone. I try to avoid using my phone for anything different than checking Blockfolio. So instead, I read that I can use Android emulator on the PC.

BlueStacks emulator worked best for me and is the easiest to operate. Once you set up your Google Play account on the emulator, find the Coinomi app and download it. In the app click on the BTG wallet and click Advanced Settings. Replace the Derivation Path with M/44H/0H/0H. I saw this in an article where they give the following Hint too:

If you have more than one Bitcoin wallets in your Coinomi and want to claim the equivalent BTG you will have to repeat the above process, replacing each time the last zero with the (zero-based) account index, so for the second wallet this would be M/44H/0H/1H, for the third wallet it would be M/44H/0H/2H, and so forth.

If you already had added a BTG wallet without clicking Advanced Settings, you can delete it by pressing and holding on the Overview icon next to it. My laptop has touchscreen so I didn't have any problems with that. I tried with Right mouse button but it didn't work.

After your wallet is set up, go to the top right menu and click Sweep wallet. There you can put your private key which you exported from your btc wallet. I'd definitely recommend moving your btc to a new Electrum wallet before exporting any keys, because it takes 30 sec, some satoshis which equal 2-3USD , but it's much more secure.

Good luck!

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?


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: levonictarov on December 12, 2017, 08:12:48 PM
I haven't got my bitcoin gold but reading all of the conversation here it makes me think that it's totally complicated. Is there any other easy way?

Much easier with coinomi. Available for desktop - https://www.coinomiwallet.org/ (https://www.coinomiwallet.org/)



Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on December 12, 2017, 11:32:15 PM
Much easier with coinomi. Available for desktop - https ://www.coinomiwallet. org/  <-- SCAM
This website appears to be a SCAM... being spammed by a bunch of newbies... the official site is www.coinomi.com and they have ONLY (officially) released a wallet for Android


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: angry_friend on December 13, 2017, 08:38:38 AM
Contacted HCP, he helped me to free my BTGs from a 2FA Electrum wallet in ~ 30 minutes  :P


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: mr.dimus on January 04, 2018, 08:43:00 PM
It *is* doable... it just isn't a straightforward "point and click" exercise... you need to find all the UTXOs contained in each 2FA address and manually create and sign a transaction to move these UTXOs to the BTG wallet address of your choice (personal wallet or exchange etc). This means typing in a bunch of commands on the Electrum and BitcoinGold Core wallet consoles.

It also means that you need to have the BitcoinGold "Core" wallet downloaded, installed and fully synced.

HCP I tried to claim BTG coins into Coinomi wallet using many 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?

On COINOMI site "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.

My address starts with a "3" its mean that I need to wait update for coinomi which will be working with multisig? Or I can to try extract with BTG CORE? THX for help!


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: HCP on January 04, 2018, 09:42:01 PM
My address starts with a "3" its mean that I need to wait update for coinomi which will be working with multisig? Or I can to try extract with BTG CORE? THX for help!
If your address starts with a "3", you either have a 2FA wallet or a MultiSig wallet...

Either way, currently, the only "safe" way to get access to these BTG coins would be to use BTG Core and handcraft the transactions necessary to recover the coins. You might want to read the thread here (https://bitcointalk.org/index.php?topic=2550529.0) if you want to give it a go, or you can PM me if you want.


Title: Re: [Solved] How to claim BTG from an Electrum wallet?
Post by: alsaas on February 11, 2018, 10:08:10 PM

For a 2FA wallet or a MultiSig wallet I suggest you try https://www.excrypts.org/