quark-project / quark

Quark cryptocurrency
http://www.qrknet.info/
MIT License
34 stars 40 forks source link

Unable to import private key #22

Open meacreatio opened 7 years ago

meacreatio commented 7 years ago

I bought some quark coin almost 4 years ago. I stored the private key in a safe place. Today I synced the entire chain, and when I entered my private key via the command line from Quark-QT I got the following error: Invalid private key encoding (code -5). I've been out of the loop for a while. Was there an update to Quark-QT that would have changed how these keys are read in? Is there a specific format I should look for (starts with a letter "x", "n" characters long, etc)? I've imported the private keys for my other coins into their respective wallets and there's been no issue. Any thoughts? Thanks in advance for the help.

Looks like someone else is also having the same issue: https://www.reddit.com/r/QuarkCoin/comments/6d8mv5/trouble_importing_private_key/?st=j6hg7a95&sh=cb1f3727

mtl1979 commented 7 years ago

There is two formats for private keys, compressed and uncompressed. Most likely you need to convert the private key to the other format.