Post
Topic
Board Altcoin Discussion
Re: Extracting Bitcoin Gold from 2FA & Multisig Electrum Wallet
by
adys11
on 09/12/2017, 21:18:06 UTC
**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).




I did all the steps, I have now 2 wallets, with 2 addresses that need to be signed. (both are first addresses from some reason)
Now the inputs:

https://blockchain.info/address/321SXfj5sMQ8VcgcgtNC1SZgMa4YZrvLWv


or here
https://btgexplorer.com/address/AG6JFd6GebjuDRCB8SMvjhTqgehXLDRveR

Can you please help me to build the command?
I guess its the second transaction from the buttom? a4c64944cfc57822c460436d7fd359bb641cf63e86ba95f50bf5789516bd160b

createrawtransaction '[{"txid": "63d10de4ba8bd486a4f4eb1419a6bc7a52d3ce3d73f6e4dc8e7ecb6d8dd504b3", "vout":0.98889564}]' '{"AG6JFd6GebjuDRCB8SMvjhTqgehXLDRveR":  0.98889564}'

I am getting "JSON integer out of range (code -1)"



update - ok - no need in 0. before the value - so

createrawtransaction '[{"txid": "63d10de4ba8bd486a4f4eb1419a6bc7a52d3ce3d73f6e4dc8e7ecb6d8dd504b3", "vout":98889564}]' '{"AG6JFd6GebjuDRCB8SMvjhTqgehXLDRveR":  98889564}'


now I am getting amount out of range (code -3)
Should I use the same address or a new address?




You have to consider both transaction IDs, anyway the "vout" is the prevout_n, not the value of the transaction.
https://bitcointalk.org/index.php?topic=2550529.0
You can follow this tutorial step by step, if you need any help feel free to ask
Then you have to write the value in BTC, not satoshi (convert with http://satoshitobitcoin.co and don't forget the fee)
There is all written in that tutorial
Great tutorial, thanks!