Bitcoin Forum
May 23, 2024, 07:58:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Extract all private keys from wallet.dat automatically  (Read 993 times)
DaveF (OP)
Legendary
*
Offline Offline

Activity: 3486
Merit: 6305


Crypto Swap Exchange


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

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3402
Merit: 6642


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!