How to Claim Bitcoin Cash from a Bitcoin Core Wallet
If you held Bitcoin at the time Bitcoin Cash was created (block #478558, 1st Aug 2017 13:16 UTC) you now own the same amount of Bitcoin Cash. This short tutorial will show you how to claim Bitcoin Cash from the Bitcoin you had held in a Bitcoin Core wallet at the time of the hard fork.
This guide will show you how to export private keys from a Bitcoin Core wallet. You will need a Bitcoin Core wallet that contained Bitcoin at the time of the Bitcoin Cash hard fork. Any transactions since the hard fork will not be available on the Bitcoin Cash chain. We will be using the Electron Cash wallet to import the private keys and claim the Bitcoin Cash.
Before we begin, here is an overview of the steps involved.
Export Private Keys from Bitcoin Core.
Send your full balance to a new Bitcoin Address (optional).
Download Electron Cash.
Import Private Keys into Electron Cash.
Claim Bitcoin Cash from a Bitcoin Core Wallet
Step 1: Export Private Keys from Bitcoin Core
The first thing we need to do is export all of our private keys that contained Bitcoin at the time of the hard fork. Once we have exported the keys we will be able to import them into Electron Cash and then spend the Bitcoin Cash. To export the keys perform the following steps.
Open Bitcoin Core.
Click on Help, Debug window and then click the Console tab.
If your wallet is encrypted run the following command: walletpassphrase [PASSWORD] 900 replace [PASSWORD] with your wallet passphrase.
Enter listaddressgroupings to list all public addresses.
For each public address run the following command to view the corresponding private key. dumpprivkey [ADDRESS] replace [ADDRESS] with one of the addresses in the output of the command in the previous step.
Copy each private key to a text file for later use in Electron Cash.
With each private key copied to a text file, you are now ready to move onto the next step and claim your Bitcoin Cash.
Step 2: Send your full balance to a new Bitcoin Address (optional).
This step is optional but I highly recommend sending your full wallet balance to a new Bitcoin address where the private key will not be imported in the following steps. When I claimed my Bitcoin Cash using this method I sent them all to a new SegWit address on a Ledger Nano S hardware wallet. The reason for doing this is to guarantee the creators of the Electon Cash wallet do not have access to your Bitcoin private keys and funds.
Step 3: Download Electron Cash
Electron Cash is a fork of Electrum. The good thing about using Electrum and Electron Cash is that you don’t need to download the full blockchain. This is handy for claiming your Bitcoin Cash, especially if you don’t plan to keep any or don’t want to run a full node.
WARNING: It’s advisable to run Electron Cash on a different computer to your current Bitcoin Core wallet. This is to be on the safe side, since it’s possible the code could be malicious and attempt to steal your Bitcoin.
Step 4: Import Private Keys into Electron Cash.
The final step is to import the private keys used in the dumpprivkey command in the first step. Remember to make sure you have sent the funds to a new Bitcoin address before importing the keys in the following steps. Don’t import the private key of the new address your funds were sent to and make sure you have plenty of confirmations before proceeding.
Open Electron Cash, give the wallet a name and then click Next.
Select Standard wallet then click Next.
Select the Use public or private keys option and then click Next.
Copy and paste the private keys you exported from the Bitcoin Core wallet and then click Next.
Enter a password to encrypt the wallet file (or leave blank to disable encryption) then click Next.
Now if you had any Bitcoin on any on any of the private keys imported you should see a balance and a list of transactions on the History tab.
You should now be able to spend your Bitcoin Cash by sending transactions from the Electron Cash wallet. If you have any questions leave them in the comments below.