Author

Topic: How to dump all private keys from wallet.dat ? (Read 3006 times)

legendary
Activity: 952
Merit: 1367
August 19, 2020, 08:24:20 AM
#6
I want to know if want to make any specific wallet address as dump key how to do that

dumpprivkey "address"
member
Activity: 270
Merit: 31
Payment Gateway http://Al-Buraq.Net/PaymentGateway
I want to know if want to make any specific wallet address as dump key how to do that
legendary
Activity: 2954
Merit: 4158
To export all the keys, you have to use dumpwallet command. The command will export all your keys and your master private key which can generate any future address unencrypted so use it with care.

1.Go to help>debug window>console.
2. Key in this if you have your wallet encrypted:
Code:
walletpassphrase PASSWORDHERE 600
replacing the relevant parts.
3. Create a blank txt file in whatever directory you want and name it walletdump.txt. For example, I stored mine in C:/ with the name walletdump.txt.
4. Key in this:
Code:
dumpwallet C:/walletdump.txt
. The command will export every of your private keys into that text file. You can change the directory if you stored your text file on another directory.
jr. member
Activity: 115
Merit: 2
I need to dump all private keys from wallet.dat because it has too much addresses, so I cant use dumpprivkey for each address

Can you not make a new wallet, send all of the coins from your first wallet to the second and then just delete the old wallet.dat?
If you have fewer private keys to import than expoert, then that might be a good solution for it.

Thats idea, but I need exactly what I need - extract all private keys from wallet.dat Smiley
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
I need to dump all private keys from wallet.dat because it has too much addresses, so I cant use dumpprivkey for each address

Can you not make a new wallet, send all of the coins from your first wallet to the second and then just delete the old wallet.dat?
If you have fewer private keys to import than expoert, then that might be a good solution for it.
jr. member
Activity: 115
Merit: 2
I need to dump all private keys from wallet.dat because it has too much addresses, so I cant use dumpprivkey for each address
Jump to: