Bitcoin Forum
June 06, 2026, 05:07:23 AM *
News: Latest Bitcoin Core release: 31.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

Activity: 4228
Merit: 7342


✅ NO KYC


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

 
 b1exch.to 
  ETH      DAI   
  BTC      LTC   
  USDT     XMR    
.███████████▄▀▄▀
█████████▄█▄▀
███████████
███████▄█▀
█▀█
▄▄▀░░██▄▄
▄▀██▄▀█████▄
██▄▀░▄██████
███████░█████
█░████░█████████
█░█░█░████░█████
█░█░█░██░█████
▀▀▀▄█▄████▀▀▀
achow101
Moderator
Legendary
*
expert
Offline

Activity: 3934
Merit: 7738


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!