Last updated: November 30, 2017
If you held Bitcoin (BTC) in a Bitcoin Core software wallet before the Bitcoin blockchain fork on August 1, 2017, you now also possess an equal quantity of Bitcoin Cash (BCH). In this post, we will show you how to claim it.
There are numerous ways to claim Bitcoin Cash from a Bitcoin Core wallet. In this tutorial, we will demonstrate how to retrieve a private key for a Bitcoin Core wallet address. Then we will show you how to use the private key to claim Bitcoin Cash using the Electron Cash wallet on Windows 10. Electron Cash is a lightweight SPV (Simplified Payment Verification) wallet. It does not download the blockchain or run a full node.
If you want to claim Bitcoin Cash from Bitcoin Core, but want to run a full node Bitcoin Cash wallet, please see How to claim Bitcoin Cash from Bitcoin Core to a full node wallet.
Step 1. Important: Backup your Bitcoin Core wallet (wallet.dat file)
Do not skip this step. Under the File menu, click Backup Wallet. Save the wallet.dat file to a location or device other than where you have installed Bitcoin Core. The wallet.dat file contains your Bitcoin private keys.
Step 2. Find BTC addresses that have balances
Under the Help menu, click Debug window. In the Debug Window, click the Console tab. Type listaddressgroupings into the command input field, and press the Enter key on your keyboard. After a few seconds, a list of your public wallet addresses will display in the Console. Review the list for addresses that have balances.
Step 3. Unlock your Bitcoin Core wallet
Remain in the Debug window’s Console tab. If you encrypted your wallet with a passphrase, you must unlock the wallet to retrieve a private key. To unlock the wallet, type the following command and press Enter:
walletpassphrase your-pass-phrase-here seconds-to-unlock
For example, if your passphrase is “mypassphrase” and you want to unlock your wallet for 5 minutes (300 seconds) while you embark upon this process, the command would be:
walletpassphrase mypassphrase 300
After 300 seconds, your wallet will automatically re-lock.
Step 4. Retrieve the private key for each public address with a balance
Remain in the Debug window’s Console tab. While you have unlocked your Bitcoin Core wallet, type the following command and press Enter:
The private key for your Bitcoin address will display in the Console.