Post
Topic
Board Development & Technical Discussion
Re: Pywallet 2.2: manage your wallet [Update required]
by
strig1
on 19/05/2021, 00:09:33 UTC
recov_device should just be the drive letter (in windows) if you want to check an entire drive... you don't want to specify a "file"

Try:
Code:
python pywallet.py --recover --recov_device=E: --recov_size=1000Gio --recov_outputdir=.

Thank you this worked! I got a recovered wallet.dat file that was much bigger than my original (~1000KB) with a bunch of keys in it. I ran the code below and got a few hundred addresses. My Bitcoin Core is fully synced and I tried opening this wallet but get stuck on "Opening Wallet. Not sure what do next.

Code:
pywallet.py --dumpwallet  --wallet=wallet.dat > walletdump.txt

Code:
Example Output:
 "addr": "1GK46gd6C8nXXXXXXXXXXXX3HMgbqHF",
            "compressed": false,
            "encrypted_privkey": "5613a75d7ad6c19135a26eXXXXXXXXXXXXXXXX1908e61cb08cf49e21dXXXXXb1c65142912",
            "label": "recovered: 93bfXXXXXXXXXXXXXXXXXX710881d50XXXXX89585154c",
            "pubkey": "04ef1bc57033e7942233fb6d21f421XXXXXXXXXXXXXXXXXXXXXXXXXX6f74cf794ced69144dbb379c373d4b780fa4151bb50a3",
            "reserve": 0
        },