Bitcoin Forum
September 18, 2025, 10:32:51 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Extract all private keys from wallet.dat automatically  (Read 1025 times)
DaveF (OP)
Legendary
*
Offline Offline

Activity: 3976
Merit: 6896


Wheel of Whales 🐳


View Profile WWW
November 05, 2016, 08:29:08 PM
 #1

I tried a search and could not find an answer.

Is there a way to pull all the private keys that are in a wallet automatically?

I have several wallets that have from 7 or 8 addresses in them to some older ones with 100s of addresses. I want to move them all into 1 new wallet.
I know I can do them one at a time, but that will take days and I'll always have the fear that I missed one.
Most of the addresses are dead, some have some dust but a few get some random payments now and then. So its worth some time and effort to move them.

Thanks,
Dave

███████████▄
████████▄▄██
█████████▀█
███████████▄███████▄
█████▄█▄██████████████
████▄█▀▄░█████▄████████
████▄███░████████████▀
████░█████░█████▀▄▄▄▄▄
█████░█
██░█████████▀▀
░▄█▀
███░░▀▀▀██████
▀███████▄█▀▀▀██████▀
░░████▄▀░▀▀▀▀████▀
 

█████████████████████████
████████████▀░░░▀▀▀▀█████
█████████▀▀▀█▄░░░░░░░████
████▀▀░░░░░░░█▄░▄░░░▐████
████▌░░░░▄░░░▐████░░▐███
█████░░░▄██▄░░██▀░░░█████
█████▌░░▀██▀░░▐▌░░░▐█████
██████░░░░▀░░░░█░░░▐█████
██████▌░░░░░░░░▐█▄▄██████
███████▄░░▄▄▄████████████
█████████████████████████

█████████████████████████
████████▀▀░░░░░▀▀████████
██████░░▄██▄░▄██▄░░██████
█████░░████▀░▀████░░█████
████░░░░▀▀░░░░░▀▀░░░░████
████░░▄██░░░░░░░██▄░░████
████░░████░░░░░████░░████
█████░░▀▀░▄███▄░▀▀░░████
██████░░░░▀███▀░░░░██████
████████▄▄░░░░░▄▄████████
█████████████████████████
.
...SOL.....USDT...
...FAST PAYOUTS...
...BTC...
...TON...
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3794
Merit: 7375


Just writing some code


View Profile WWW
November 05, 2016, 09:14:25 PM
 #2

The dumpwallet rpc command exports all of the keys to a human readable text file. You can then use a script to import all of those private keys into your new wallet.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!