Post
Topic
Board Bitcoin Technical Support
Re: Old wallet.dat from 2011
by
HCP
on 26/02/2021, 08:06:59 UTC
Thanks for your response, I don't know any of the public addresses associated with this wallet.dat. From my understanding you need atleast 1 to dumpwallet. If I download full node, will the addresses show up? How can I recover something off of this wallet.dat file?
No, the fact that you don't know any of the public addresses associated with the wallet doesn't matter... dumpwallet only needs the wallet.dat to be unlocked using the walletpassphrase (if any) and you say the wallet isn't encrypted... so if you can load it up in Bitcoin Core, then you can just go into the console and use the dumpwallet command... all you will need to use as a parameter is the full path to the output file.

for instance:
Code:
dumpwallet "~/wallet_dump.txt"

Then you should be able to open the output file with a text editor and see all the private keys in WIF format...

Alternatively, you can try and get PyWallet working... and use it's --dumpwallet command (note that this results in different output to the dumpwallet in Bitcoin Core)... If you're having trouble getting the latest version working due to issues with the updates that jackjack is in the middle of, I still have a fork of the "old" version here: https://github.com/HardCorePawn/pywallet