Bitcoin Forum
April 19, 2024, 10:00:33 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: Extracting Bitcoin Gold from 2FA & Multisig Electrum Wallet  (Read 2842 times)
walleting.services (OP)
Member
**
Offline Offline

Activity: 275
Merit: 34

Automated Bitcoin Fork Claiming


View Profile WWW
November 18, 2017, 09:04:10 PM
Last edit: December 03, 2017, 03:31:37 AM by walleting.services
 #1

We were successful in extracting the Bitcoin Gold from a multisig address that was made using the Electrum-Trustedcoin method. Our 2Fa / multisig BTG digging service is now open for business.

Walleting.Services BTG Digging:
--> https://bitcointalk.org/index.php?topic=2434261.0 <--


This is a dedicated thread for those using Electrum 2FA or Multisig wallets trying to claim your Bitcoin Gold:
This post was useful: https://bitcointalk.org/index.php?topic=1989369.msg19853098#msg19853098
The Process:

0) empty your real BTC & BCH from the wallet
1) Regenerate your 2FA electrum wallet with the seed, select "disable" 2FA
2) Find your multisig address with BTG in it. It starts with a 3. Right click, details
3) copy-past your Redeem Script here: https://coinb.in/#verify (save page offline for maximum security)
4) (for 2-of-3 methods, as most will be) find the 3 addresses that need at least 2 of them to sign
5) Dig your X1 & X2 xpriv keys from the text file in your regenerated, password-less, disabled 2FA wallet file.  It's in plain text. Windows it's in %appdata%/electrum, mac it's in ~/.electrum. Linux is in Go -> Location and type ~/.electrum
6) Make a 2 new standard electrum wallets using the 2 xprv keys and find one of the addresses needed to sign your 2FA address in each of them.
OR
6a) Use this: https://iancoleman.io/bip39/ or this http://bip32.org/ to find the private keys using the 2 xprv keys you dug out earlier. (we ended up generating 10,000 keys to find ours)
7) Create your new transaction in the Bitcoin Gold Debug Console (get Hex)
Cool Sign the transaction with the first key (get Hex)
9) Sign the transaction with the second key (get Hex)
10) sendrawtransaction "hex"

[scroll down a few posts for the exact commands to enter into the console]

1713564033
Hero Member
*
Offline Offline

Posts: 1713564033

View Profile Personal Message (Offline)

Ignore
1713564033
Reply with quote  #2

1713564033
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713564033
Hero Member
*
Offline Offline

Posts: 1713564033

View Profile Personal Message (Offline)

Ignore
1713564033
Reply with quote  #2

1713564033
Report to moderator
walleting.services (OP)
Member
**
Offline Offline

Activity: 275
Merit: 34

Automated Bitcoin Fork Claiming


View Profile WWW
November 18, 2017, 10:25:11 PM
 #2

Update:

Have found 2 private keys for a 2-of-3 multisig address with BTG in it.

Working on creating the raw transaction to broadcast in the Bitcoin Gold Core wallet.

walleting.services (OP)
Member
**
Offline Offline

Activity: 275
Merit: 34

Automated Bitcoin Fork Claiming


View Profile WWW
November 19, 2017, 12:44:20 PM
Last edit: November 21, 2017, 01:48:07 AM by walleting.services
 #3

Update:

We were successful in broadcasting the transaction and the Bitcoin Gold was freed from it's multisig chamber.

Bit123ABC
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
November 25, 2017, 04:35:33 PM
 #4

Hi,
I am trying to do the same thing, but are having trouble with step 8, signing the transaction. Are you able to write a bit more detail on how you set the transaction up/ got the txid and vout? I must be using a wrong one somehow. When signing the transaction the hex i get is identical to the one i put in.
walleting.services (OP)
Member
**
Offline Offline

Activity: 275
Merit: 34

Automated Bitcoin Fork Claiming


View Profile WWW
November 26, 2017, 04:20:51 PM
Last edit: November 30, 2017, 01:19:11 AM by walleting.services
 #5

**Warning: It is about to get nerdy**
If this is too intimidating or you get stuck, please consider our BTG Digging Service.
We will do this for you and charge a small fee. References available.

Walleting.Services BTG Digging:
--> https://bitcointalk.org/index.php?topic=2434261.0 <--



Hi,
I am trying to do the same thing, but are having trouble with step 8, signing the transaction. Are you able to write a bit more detail on how you set the transaction up/ got the txid and vout? I must be using a wrong one somehow. When signing the transaction the hex i get is identical to the one i put in.


First you need to gather all the inputs that funded the address (essentially you need to find all transactions that funded the address and were unspent when the fork happened).

Then you can open the console in Electrum (View > Show Console) and type the following command (replace TXID_HERE with the transaction ID of one of the input transactions from the previous step):

deserialize(gettransaction("TXID_HERE"))

You'll get a formatted JSON output. Under "outputs" you need to find your 2FA / Multisig address. Once you find it you'll see three fields under the address that you need to take note of:
prevout_n -> this is the vout value
scriptPubKey -> needed for signing the transaction
value -> also needed for signing the transaction to avoid triggering replay protection

You need to repeat this for every input!!!

Once you have all the values written down you need to create a raw transaction. You can do this by running the following command in Bitcoin Gold Core:

createrawtransaction '[{"txid": "INPUT_TRX_ID", "vout": VOUT_VALUE}]' '{"YOUR_BTG_ADDRESS":  AMOUNT_TO_SEND}'

Please note that you need to repeat the following for EVERY input!!

{"txid": "INPUT_TRX_ID", "vout": VOUT_VALUE}

So for example if you have 3 inputs the command would look something like this:

createrawtransaction '[{"txid": "INPUT_TRX_ID_1", "vout": VOUT_VALUE_1}, {"txid": "INPUT_TRX_ID_2", "vout": VOUT_VALUE_2}, {"txid": "INPUT_TRX_ID_3", "vout": VOUT_VALUE_3}]' '{"YOUR_BTG_ADDRESS":  AMOUNT_TO_SEND}'

Also note that AMOUNT_TO_SEND should be the sum of all "value" fields MINUS the transaction fee you wish to pay! (Make sure the amount is in BTC / BTG and NOT in mBTC / mBTG or anything similar).

After you run this command you should get a raw transaction hash. Next you need to sign it. You will do this by running the following command:

signrawtransaction "RAW_TRANSACTION_HASH" '[{"txid": "INPUT_TRX_ID", "vout": VOUT_VALUE, "scriptPubKey": "INPUT_SCRIPT_PUB_KEY", "redeemScript": "MULTISIG_ADDRESS_REDEEM_SCRIPT", "amount": "INPUT_VALUE_FIELD"}]' '["FIRST_PRIVATE_KEY_FOR_SIGNING"]'

Please note that you should again repeat the input part for every input like you did with "createrawtransaction" except that this time you need to also provide "redeemScript", "scriptPubKey" and "amount" fields for each input!!

Once you run this command you should see the HEX hash of the signed transaction and an error saying something like "The current operation isn't possible with the current stack size!". This error is normal and it's just saying we need to sign the transaction with another private key before we can spend the inputs.

To sign it for the second time run the same command again, but replace the RAW_TRANSACTION_HASH with the new, signed transaction hash (you can find it above the error) and replace FIRST_PRIVATE_KEY_FOR_SIGNING with the second private key. Once you run the command you should get the signed transaction hash. You can then run the following command to broadcast it to the network:

sendrawtransaction "SIGNED_TRX_HASH"


That was easy, right? No?
Then have us do it for you!
Walleting.Services BTG Digging:
--> https://bitcointalk.org/index.php?topic=2434261.0 <--


Tips: GZrbRvCaEppbEB4493HCeU3w6GXPnDs5XB

Bit123ABC
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
November 28, 2017, 11:18:14 AM
 #6

Thanks guys!! Smiley
Got it working. I was using a wrong scriptPubKey and did not have the amount in my signrawtransaction statements.
Believe some of the wallets are working on making the process more user friendly, so that will probably come soon, but if you let me have an address i am happy to send a btg your way for your help.
Bit123ABC
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
November 28, 2017, 03:03:16 PM
 #7

I made a spreadsheet to repeat the process a bit easier. As it is; it will only help with "one input" transactions, ie. not work for addresses that have received multiple transfers. Most of mine however had not. Link below in case it can help anyone (All the hashes, addresses etc. in the sheet are invalid).

http://wikisend.com/download/745806/redeem.ods

SHA-256: 0ae5e292b8ac0f756726e378b7dfb34535bc1f1c1f85b44a0e3c5c8e004720b5
walleting.services (OP)
Member
**
Offline Offline

Activity: 275
Merit: 34

Automated Bitcoin Fork Claiming


View Profile WWW
November 28, 2017, 06:27:03 PM
 #8

if you let me have an address i am happy to send a btg your way for your help.

Thank you very much for the recognition and the tip:

GZrbRvCaEppbEB4493HCeU3w6GXPnDs5XB

We felt the most ethical thing to do was give away the info on how to solve the problem while offering our service to do it for customers who don't want to go through all of that.




YuriyOdUa
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 01, 2017, 02:14:30 AM
 #9

Hi.
Cannot find needed multisig adresses (with funds) after regenerating my 2FA electrum (with disabled 2FA).
Can't find them after regenerating with enabled 2FA either. Am I doing something wrong?
turboblade
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile
December 01, 2017, 03:10:45 AM
 #10

Excellent instructions, many thanks. Got the Tx created and signed correctly, however when I try to send transaction to network I am faced with the following error.

mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation

Any ideas?
turboblade
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile
December 01, 2017, 11:49:57 AM
 #11

Excellent instructions, many thanks. Got the Tx created and signed correctly, however when I try to send transaction to network I am faced with the following error.

mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation

Any ideas?

Figured it out for anyone who's interested. Make sure you use the amounts of the original inputs when signing. I was using adjusted amounts to allow for fees, which was incorrect. Although it will sign correctly, the transaction cant be sent. The fees adjustment need only be taken into account when creating the transaction, not while signing it.
ThomasAnderson7
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 01, 2017, 06:07:32 PM
 #12

I don't understand the order from the instructions from the first post and the detailed 5th post, can someone clear that to me please?
And if someone can write the instructions in a simpler way would be great
walleting.services (OP)
Member
**
Offline Offline

Activity: 275
Merit: 34

Automated Bitcoin Fork Claiming


View Profile WWW
December 02, 2017, 03:49:13 AM
 #13


I don't understand the order from the instructions from the first post and the detailed 5th post, can someone clear that to me please?
And if someone can write the instructions in a simpler way would be great

We can do it for you at a special rate of 10% drop us a PM or an email and mention this post.



Walleting.Services BTG Digging:
--> https://bitcointalk.org/index.php?topic=2434261.0 <--

 

turboblade
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile
December 02, 2017, 09:02:26 AM
 #14

If you follow the instructions above it will work for you. If you have multiple previous (deposits)  inputs to the address you are trying to unlock, the command becomes rather long, though achievable. Let me know if you need any help
walleting.services (OP)
Member
**
Offline Offline

Activity: 275
Merit: 34

Automated Bitcoin Fork Claiming


View Profile WWW
December 02, 2017, 01:53:02 PM
 #15

Has anyone been able to extract BTG from a SegWit address?

We are currently banging our heads against this one for a client. Not sure if it is even possible right now. We keep getting an error:

Segregated witness not enabled on network (code -4)

Bitcoin Gold website claims they support Segwit, but Bitcoin Gold Core claims the network doesn't... We wonder if it's possible to mine such a transaction but not possible for the Core client to broadcast it yet...

 Huh

ThomasAnderson7
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 02, 2017, 03:03:30 PM
 #16


I don't understand the order from the instructions from the first post and the detailed 5th post, can someone clear that to me please?
And if someone can write the instructions in a simpler way would be great

We can do it for you at a special rate of 10% drop us a PM or an email and mention this post.

Sorry but that's what I think, if you can do it you could write a simpler tutorial and earn with tips, because if I can, thanks to you, recover my BTG automatically I feel I owe you something, I think everyone in Bitcoin community if they find themselves in a situation like this would think the same, the soultion so would be to write a simpler guide with screenshots.
That's because no one, even at the cost of losing money, would give their private keys. There will be more forks, it can happen something, but the private keys are personal, so it's obvious no one would agree to that, even at a price like 5% or 2%.
So if you wanna help give help following on Skype step by step and getting paid 10% or write a simpler tutorial and earn by donations. That's my piece of advice.


If you follow the instructions above it will work for you. If you have multiple previous (deposits)  inputs to the address you are trying to unlock, the command becomes rather long, though achievable. Let me know if you need any help

Can you help me step by step on Skype via Chat? I can pay you 7% of my Bitcoin Gold
walleting.services (OP)
Member
**
Offline Offline

Activity: 275
Merit: 34

Automated Bitcoin Fork Claiming


View Profile WWW
December 03, 2017, 01:20:32 AM
 #17

We just extracted BTG from a Segwit address for a client. It was hard to figure out at first, but relatively straight forward once we figured out our issues. The WS team member that did that job it will write it up soon so the community can benefit.


So if you wanna help give help following on Skype step by step and getting paid 10% or write a simpler tutorial and earn by donations. That's my piece of advice.

Thank you for your feedback.

Please check our growing list of satisfied clients in our thread service thread:  https://bitcointalk.org/index.php?topic=2434261.msg24929414#msg24929414

We are one of the good guys, acting ethically, doing hard work, and giving away game for free. Our intent is to make a good name for ourselves and offer our services for many years in many different forms. That being said, we understand your desire to preserve the integrity of your private keys for future forks. We understand that our guarantee to delete your seed immediately after BTG retrieval and never extract any other coin without your approval is not good enough for you, and we can respect that.

We don't use Skype for security reasons, but for $100/hr (minimum 1 hour charge, ) we can have a team member jump on a Telegram, Cryptocat, Signal or something similar and work with you through to extract your BTG, telling you exactly what to type into the debug console. You will never have to reveal your seed or private keys to us. Note that you must have the latest version of Bitcoin Gold Core with the ~140GB blockchain fully sync'd.  (Also make sure you didn't download the "scam version" that was available from their Github for 1.5 days earlier this week)

DM or email us walleting.services at protonmail dot com and we can set up a time.

ThomasAnderson7
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
December 03, 2017, 02:00:10 AM
 #18

We just extracted BTG from a Segwit address for a client. It was hard to figure out at first, but relatively straight forward once we figured out our issues. The WS team member that did that job it will write it up soon so the community can benefit.


So if you wanna help give help following on Skype step by step and getting paid 10% or write a simpler tutorial and earn by donations. That's my piece of advice.

Thank you for your feedback.

Please check our growing list of satisfied clients in our thread service thread:  https://bitcointalk.org/index.php?topic=2434261.msg24929414#msg24929414

We are one of the good guys, acting ethically, doing hard work, and giving away game for free. Our intent is to make a good name for ourselves and offer our services for many years in many different forms. That being said, we understand your desire to preserve the integrity of your private keys for future forks. We understand that our guarantee to delete your seed immediately after BTG retrieval and never extract any other coin without your approval is not good enough for you, and we can respect that.

We don't use Skype for security reasons, but for $100/hr (minimum 1 hour charge, ) we can have a team member jump on a Telegram, Cryptocat, Signal or something similar and work with you through to extract your BTG, telling you exactly what to type into the debug console. You will never have to reveal your seed or private keys to us. Note that you must have the latest version of Bitcoin Gold Core with the ~140GB blockchain fully sync'd.  (Also make sure you didn't download the "scam version" that was available from their Github for 1.5 days earlier this week)

DM or email us walleting.services at protonmail dot com and we can set up a time.

lol.
adys11
Newbie
*
Offline Offline

Activity: 9
Merit: 2


View Profile
December 04, 2017, 07:21:13 AM
 #19

I have the same issue, f2a electrum wallet.

trezor have a new solution for this, didn't check it, I wonder if it will work for the f2a multisig

https://blog.trezor.io/claim-bitcoin-gold-bgold-btg-f66969e7f2c0


I will check it tonight and update.

* wallet new version to support this is still in beta, so I will wait few more days.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 04, 2017, 08:46:57 PM
 #20

trezor have a new solution for this, didn't check it, I wonder if it will work for the f2a multisig
No, it won't... because the Trezor tool is designed for claiming the BTG from your Trezor BTC wallet... NOT from other wallets.

If you need to get the BTG from your Electrum 2FA wallet, you'll need to follow the guide that they have provided here... and you'll need BTG Core installed and fully synced... or you'll need to get someone you trust that has BTG Core, give them your Electrum 2FA seed and let them do it on your behalf.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Pages: [1] 2 3 4 »  All
  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!