I have a physical Litecoin based on a Casacius Bitcoin. I have the public key and see that the Litecoins are there.

Peeling back the seal/sticker revealed a Mini Private Key, but I'm having trouble importing it into Litecoin Core, importprivkey(…) gives me the error message Invalid private key encoding (code -5).

What do I need to do to import the Mini Private Key?

  • I'm voting to close this question as off-topic because it is not about Bitcoin.
    – Claris
    Jun 18, 2019 at 11:12
  • 1
    Litecoin & Bitcoin use the same core engine
    – Freddy
    Jun 18, 2019 at 11:14
  • @Anonymous: I disagree, because a) the new rules requiring applicability to Bitcoin are not in effect yet, b) the question and answer would be the same for Bitcoin, so I'd argue it would be on-topic even after that.
    – Murch
    Jun 23, 2019 at 20:11

1 Answer 1


You must convert the mini-private-keys to regular private-key format before being able to import them in wallets such as Litecoin-core. If your keys are based on "Casascius" then you could use liteaddress.org (fork of bitaddress.org) to do the conversion. Follow these steps:

  1. In order to be safe download the source code from https://github.com/litecoin-project/liteaddress.org and run it on an offline and clean computer. That way you can be sure that the code you are running is actually what was shown on GitHub and running offline helps to keep your private keys safe from malwares, keyloggers,...
  2. Run the file called bitaddress.org.html (it is not renamed to liteaddress!)
  3. Move your mouse around (you have to, then you can ignore the result)
  4. Click on the tab called "Wallet Details" and paste your minikey in the first box can click "View Details" button.
  5. Depending on which address has balance (compressed or uncompressed) copy the respective private key at the bottom and import that in litecoin-core
  • This answer could be improved by explaining why the website should be downloaded and what risks the user exposes themselves to by using it.
    – Murch
    Jun 23, 2019 at 20:14

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.