1

recently I found a very old wallet.dat file back from 2011 (I did some mining back then). I was able to run pywallet to export the keys into JSON file, this file includes private keys and all, so i assume it was not encrypted. The structure is as follows, there are bunch of these.

    {
        "addr": "", 
        "compressed": false, 
        "hexsec": "", 
        "private": "", 
        "pubkey": "", 
        "reserve": 1, 
        "sec": "", 
        "secret": ""
    }, 

The question is - what do I do with this now? I want to check if there any coins that I have mined but i have no idea what the next step is.

I have tried copying the value of "private" into Bitcoin Core's console with "importprivkey" but i get "Invalid private key encoding (code -5)"

Thanks for your help!

1 Answers1

1

You don't need to import the keys to see if they have a balance or not. Just copy the content of "addr" and use a Bitcoin blockchain explorer such as https://blockchain.info/ to check if there is any BTC on the address.

And i guess you could just import the wallet.dat on Bitcoin Core directly if there is any BTC on any of your addresses.

Seccour
  • 26
  • 3
  • Thanks for your reply, but there are hundreds of these in there. Doing it by hand one by one would not be very pleasant. I just installed Bitcoin Core, and its currently downloading the chain. Is there a quick way to import the wallet file once it's done? – enlightenedOne Jul 04 '17 at 20:00
  • You can check here : https://bitcoin.stackexchange.com/questions/10974/import-wallet-dat-into-a-new-bitcoin-qt-client – Seccour Jul 04 '17 at 21:17