After Bitcoin Cash folked, I have sent BTC to exchanges from wallet Bitcoin QT. Before sending, I have export out a file with format as below in .CSV file: Confirmed,Date,Type,Label,Address,N,ID TRUE,2017-07-30T21:25:50,Received with,tes,X_address,X_number_of_bitcoin,X_ID

I thought the X_ID is the private key at that time. However, when I tried import X_ID into another BCH wallet, the error message said: the format is not correct. I appreciate anybody's help in term of how to get the private key at this point.

1 Answer 1


First of all, there is no "private key at the time". Your wallet does not have one private key which it changes for each transaction or on a time basis. Rather your wallet contains multiple private keys, one for each address you use. It is not one private key per transaction.

Secondly, the ID in the exported .csv file is not the private key. In fact, there is no way for your wallet's private keys to be exported from the GUI. You will need to open the debug console (Help > Debug Window > Console) and use the dumpwallet or dumpprivkey commands to get the private keys. The private keys will always begin with a 5, K, or L. If they do not, then those are not valid private keys.

However you should not need to export your private keys to import into a Bitcoin Cash wallet. You can use a Bitcoin Cash wallet which is based on Bitcoin Core; such wallets read and use the Bitcoin Core wallet.dat file.

So to be able to spend your Bitcoin Cash, first move your Bitcoin to a new wallet. Then download and install a Bitcoin Core based Bitcoin Cash wallet such as Bitcoin ABC, Bitcoin Unlimited Cash, and Bitcoin Classic Cash. Then copy your Bitcoin Core datadir (which includes the blockchain, the databases, and your wallet.dat file) and have your Bitcoin Cash client use it. You may need to have it reindex the blockchain. Once that is done, you should be able to spend your Bitcoin Cash and use the Bitcoin Cash wallet software as you normally do with Bitcoin Core.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.