Post
Topic
Board Announcements (Altcoins)
Re: [ANN][XCP] Counterparty Protocol, Client and Coin (built on Bitcoin) - Official
by
jbah01
on 30/01/2014, 16:44:31 UTC
Try to do this following this guide:
https://en.bitcoin.it/wiki/How_to_import_private_keys_v7%2B

But getting this error for every private key I tried:
Invalid private key (code -5)

Ideas?
Did you unlock your wallet before importing?
Walletpassphrase PASSWORD 600 (Will unlock it for 10 minutes)
Importprivkey PRIVATEKEY LABELFORADDRESS

Yes, still getting this error every time.
[/quote]
Not sure if it makes a difference, but you checked for extra spaces due to copy/paste?
Otherwise recheck the key, privkey starts with a 5
I think that you must also use a label that is not already in use in your wallet, but not sure