This is a step-by-step guide to claim your Bitcoin Gold (BTG) and convert them into Bitcoin Cash (BCH) in quick and easy way using BarterDEX decentralized exchange. There was a lot of issues to claim, even they had malware issues. If you are following this guide, you even don’t need to download over 170GB blockchain data which takes ages to sync. Please follow the steps accordingly.
- BarterDEX App – https://github.com/KomodoPlatform/BarterDEX/releases
- BTC privkey (Bitcoin Core wallet used here for demonstration purposes)
Click on “Add Coins”
Copy the BTG smartaddress and save it somewhere, we will need this address to transfer our claimed BTG.
Start Bitcoin Core, click “Help > Debug window”
Click on “Console”
If your wallet is locked, we need to unlock it first using “walletpassphrase YOUR_PASSPHRASE 600” and hit enter. 600 is in seconds, means your wallet will be unlocked for the next 5 minutes and after that it will be locked again automatically.
Console output will be “null“, which means your wallet is now unlocked and you can proceed to retrieve your privatekey. The console will not show your passphrase with the output.
Click on the green “Send” button to claim your BTG.
Insert the BTG address you got from Step 6, enter 0.1% of your full amount, tick the check box to subtract tx fees from the sending amount and click on “Send Transaction“. Follow this step again with the full amount of your balance this time. This way, all your BTG will be claimed and you will have a pair of deposit which is requires for BarterDEX trading.
You will be presented with a txid, once the claim is done. Press “OK“. Now, you can close the BarterDEX app.
Start the BarterDEX app again and use the seed passphrase we created at Step 2 to login to BarterDEX.
Add BCH & BTG in electrum mode. Check Step 4 on how to add coins on electrum mode in BarterDEX. And, click on exchange.
Select BTG/BCH market. Enter the price and amount to buy and press “BUY” and wait for your swap to complete!
Additional Step for MacOS
You should allow app from 3rd party developers first, otherwise MacOS will not let you run the BarterDEX app. Courtesy of @dukeleto from the slack for pointing this out.
If your swap has gone through, congratulations! You have just done your first Atomic Swap!
Note: BarterDEX doesn’t store your private key or funds. We are taking the advantages of the wallet features of BarterDEX to claim BTG in a painless way using the electrum mode. Keep your seed passphrase safe. Your passphrase will always show the same smartaddress.