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 Answer 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.

  • 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? Jul 4, 2017 at 20:00
  • You can check here : bitcoin.stackexchange.com/questions/10974/…
    – Seccour
    Jul 4, 2017 at 21:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.