Post
Topic
Board Bitcoin Technical Support
Re: Using .dat wallet without downloading the blockchain?
by
hosseinimr93
on 06/09/2022, 14:22:33 UTC
The wallet has had around 5-10 transactions, but buy using the commands that BitMaxz mentioned I'll only find one private key? How to I differanciate between the keys that I want?
Yes, the dumpprivkey command is used for exporting the private key of a single address.
If you know the address(es) containing bitcoin, use the above command.

If you want to dump all private keys, use the following command. It will create a text file including all your private keys.

Code:
dumpwallet X
Replace X with your desired directory. For example if you want the private keys to be saved in a text file in drive C with the name of "walletdump', replace X with C:/walletdump.txt


How to I differanciate between the keys that I want?
You should enter the address in the dumpprivkey command.
For example, dumpprivkey X gives you the private key associated with address X.


Also.. lets say that I have all the adresses. Do I then create one wallet in electrum and import every private key into that wallet. First when this is done I'll be able to transfer the remaining coins to another wallet in one single transaction?
Yes and Yes.