Post
Topic
Board Announcements (Altcoins)
Re: [EMC] EMERCOIN|崛起币 ★ Blockchain Service Platform ★ PoS | PoW | BTC merge-mined
by
MessyCoin
on 22/06/2017, 19:34:16 UTC
If I do it like this I always get the error message
Quote
Invalid private key encoding (code -5)

I tried it without double quotes, too, but with the same result.

I found this thread where it says that the key could be BIP38 encrypted which is not supported by Bitcoin core and probably also from Emercoin wallet. Any idea how to decrypt it?

I created the key pair using a paper wallet generator.

I want to import a private key to my new installed Emercoin wallet. I tried to do so over the client console but unlike in Bitcoin wallet there is no import private key function or something similar. Can someone tell me please how to import private keys?

As I remember it's the same as bitcoin-qt? Open the debug console and type importprivkey "youremercoinprivkey"

I remember this problem happening before and this was the answer: https://bitcointalk.org/index.php?topic=362513.msg16835114;topicseen#msg16835114

It suggests a possible solution is to get an old version of emercoin-qt and then upgrade to the latest, but keep the same wallet.dat. .. but I am not sure where you can download version v0.3.7 anymore.

Apologies I can't be of much more immediate help. If you can't work it out then please contact one of the developers by private message or ask in the Emercoin slack.