<p>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.</p>

<p>Secondly, the ID in the exported <code>.csv</code> 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 (<code>Help &gt; Debug Window &gt; Console</code>) and use the <code>dumpwallet</code> or <code>dumpprivkey</code> commands to get the private keys. The private keys will always begin with a <code>5</code>, <code>K</code>, or <code>L</code>. If they do not, then those are not valid private keys.</p>

<p>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.</p>

<p>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.</p>

CC BY-SA 3.0
2017-08-27T04:24:32.600Z
2017-08-27T04:24:32.600Z
Ava Chow
<p>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</p>

<p>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.</p>

<bitcoin-core><bitcoin-cash><private-key-export>
export Bitcoin Cash private key from Bitcoin QT after send out BTC to exchange
Mingliu88
# export Bitcoin Cash private key from Bitcoin QT after send out BTC to exchange

(Asked by: username_0 on 2017-08-27)

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.

**Tags:** bitcoin-core, bitcoin-cash, private-key-export


---

## 1 answers

### Answer by username_1 on 2017-08-27. Score: 2

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.


---

