Author

Topic: pywallet command??? (Read 400 times)

HCP
legendary
Activity: 2086
Merit: 4361
April 12, 2018, 10:32:58 PM
#3
The official pywallet thread is here: https://bitcointalksearch.org/topic/pywallet-22-manage-your-wallet-update-required-34028
There is a link to recover wallets in the OP that leads here: https://bitcointalksearch.org/topic/guide-recover-your-deleted-keys-38004

However, if a simple "dumpwallet" is not working on your wallet.dat file, you'll likely need to put the wallet.dat onto a (small) USB thumbdrive and use recover from there. "Recover" cannot be run on a file, it needs to be run on a device!

Also, if your wallet.dat was created with newer versions of Bitcoin Core (ie. v0.13+), chances are pywallet will output a lot of errors about unrecognised data.

Basic "dumpwallet" goes something like:
Code:
C:\Python27\python pywallet.py --dumpwallet --datadir=D:\directory\with\wallet.dat
So... if you have your files in D:\wallet_recovery your command would be:
Code:
C:\Python27\python pywallet.py --dumpwallet --datadir=D:\wallet_recovery

As mentioned, recovery needs to scan a device... so I recommend a smallish USB drive to save time. The smaller the better.

Assuming you have 1GB thumb drive, mounted as X: and you want the recovered wallet to be put in "D:\recovered_wallet", then your "recover" command would be something like:
Code:
C:\Python27\python pywallet.py --recover --recov_size=1Gio --recov_device=X: --recov_outputdir=D:\recovered_wallet

Change X:, the recov_size, and recov_outputdir as appropriate. "recov_size" should be set to the size of the USB device 1GB = 1Gio, 8GB = 8Gio etc...
legendary
Activity: 2170
Merit: 1789
newbie
Activity: 3
Merit: 0
April 11, 2018, 08:14:22 AM
#1
I am trying to recover corrupted wallet.dat but I have no idea how to use pywallet.

I am using windows 2007.

Downloaded pywallet.py and python.

corrupted files and pywallet are in d: drive on background

Anybody can help me about command so I can at least try pywallet?


APPRECIATED!!!
Jump to: