WeMineCoins (OP)
|
|
August 15, 2014, 09:25:47 AM |
|
I was moving some coins around today and everything went fine for 6 out of the 7 paper wallets I wanted to move coins from but 1 of them will not let me import the private key into the litecoin-qt client or electrum. The error I get is
Invalid private key encoding (code -5)
(Possibly useful info) I generated a number of keys when i made the one i sent coins to here is an empty address that also doesn't work.
Litecoin Address: LZkNB3aXU7TqEnucv5usASW82C2z47vzZN  Private Key (Wallet Import Format): vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWe
When ever I try to import that private key it gives me the same error.
Anyone know what I need to do to get around this error?
|
The Technical Founder of WeMineCoins
|
|
|
WeMineCoins (OP)
|
|
August 16, 2014, 02:33:13 PM |
|
bump if someone solves this I'll reward them.
|
The Technical Founder of WeMineCoins
|
|
|
zolace
|
|
August 16, 2014, 03:03:05 PM |
|
Here is how to add the private key to the Litecoin-Qt (standard) wallet.
Click the "Help" menu and choose "Debug window."
Go to the "Console" tab.
Type in the command importprivkey leave a space and then paste in the private key. Press <enter> and the client will import the key. It may take a while for it to processes. The address will show up in your "Receive Coins" addresses and becomes part of the Litecoin-Qt's wallet. Please note that private keys are normally longer
If you encrypted your wallet, you will need to type in this command before the 'importprivkey' command: walletpassphrase 'your secret password' '30'
To export your private key from an address in your Litecoin-Qt wallet, follow all the same instructions but instead use the dumpprivkey command in place of the importprivkey command. Like this:
Code: [Select]
dumpprivkey <litecoinaddress>
Example:
Code: [Select]
dumpprivkey LVjpg1vHQryg6keCZ3rLW93KXoQUNSUhhZ
I hope this helps, seems like your code is short
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
|
|
WeMineCoins (OP)
|
|
August 16, 2014, 03:06:55 PM |
|
Here is how to add the private key to the Litecoin-Qt (standard) wallet.
Click the "Help" menu and choose "Debug window."
Go to the "Console" tab.
Type in the command importprivkey leave a space and then paste in the private key. Press <enter> and the client will import the key. It may take a while for it to processes. The address will show up in your "Receive Coins" addresses and becomes part of the Litecoin-Qt's wallet. Please note that private keys are normally longer
If you encrypted your wallet, you will need to type in this command before the 'importprivkey' command: walletpassphrase 'your secret password' '30'
To export your private key from an address in your Litecoin-Qt wallet, follow all the same instructions but instead use the dumpprivkey command in place of the importprivkey command. Like this:
Code: [Select]
dumpprivkey <litecoinaddress>
Example:
Code: [Select]
dumpprivkey LVjpg1vHQryg6keCZ3rLW93KXoQUNSUhhZ
I hope this helps
The error litecoin-qt spits out when i do that is this Invalid private key encoding (code -5) And yes I've decrypted the wallet already and tried it on a new wallet that wasn't even encrypted same results.
|
The Technical Founder of WeMineCoins
|
|
|
zolace
|
|
August 16, 2014, 03:10:01 PM |
|
Hmm are you copy and pasting, this shouldnt happen usually. if your copy and pasting make sure your not getting an extra space on it
Also And you are sure they key isn't already in the wallet?
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
|
|
zolace
|
|
August 16, 2014, 03:15:00 PM |
|
also try to run rescan from dos. open a dos prompt change directory to where the litecoin-qt program is and then type litecoin-qt -rescan
this could take a while but it might work.
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
|
|
thefunkybits
Legendary
Offline
Activity: 1218
Merit: 1000
|
|
August 16, 2014, 03:22:35 PM |
|
Did you decrypt the wallet in console? and with a sufficient timeout?
I always used to have trouble with this as well...
|
|
|
|
WeMineCoins (OP)
|
|
August 16, 2014, 04:51:07 PM |
|
Hmm are you copy and pasting, this shouldnt happen usually. if your copy and pasting make sure your not getting an extra space on it
Also And you are sure they key isn't already in the wallet?
The key is not already in the wallet and rescan is pointless (though I've tried it anyways) since the key won't import. Try using the private key I posted and you should get the error. Did you decrypt the wallet in console? and with a sufficient timeout?
I always used to have trouble with this as well...
Yes I've decrypted the wallet and tried to import the key on a fresh non encrypted wallet. I always get the same error.
|
The Technical Founder of WeMineCoins
|
|
|
elbandi
|
|
August 16, 2014, 09:29:55 PM |
|
LTC Private Key WIF is 51 characters base58, starts with a '6' or 52 characters base58, starts with a 'T'. You have a shorter key, so i think, some characters are missing from begin.
|
|
|
|
WeMineCoins (OP)
|
|
August 16, 2014, 10:21:29 PM |
|
LTC Private Key WIF is 51 characters base58, starts with a '6' or 52 characters base58, starts with a 'T'. You have a shorter key, so i think, some characters are missing from begin.
The way I showed you the private key in my initial post is how it was generated. Perhaps I used a faulty program that generated a valid address and invalid private key? That would be a shame.
|
The Technical Founder of WeMineCoins
|
|
|
elbandi
|
|
August 17, 2014, 11:19:32 PM |
|
LTC Private Key WIF is 51 characters base58, starts with a '6' or 52 characters base58, starts with a 'T'. You have a shorter key, so i think, some characters are missing from begin.
The way I showed you the private key in my initial post is how it was generated. Perhaps I used a faulty program that generated a valid address and invalid private key? That would be a shame. How long is your private key string?
|
|
|
|
WeMineCoins (OP)
|
|
August 18, 2014, 01:08:43 PM |
|
LTC Private Key WIF is 51 characters base58, starts with a '6' or 52 characters base58, starts with a 'T'. You have a shorter key, so i think, some characters are missing from begin.
The way I showed you the private key in my initial post is how it was generated. Perhaps I used a faulty program that generated a valid address and invalid private key? That would be a shame. How long is your private key string? The one I'm trying to recover the coins from was generated at the same time as this one here so it's the same length. Litecoin Address: LZkNB3aXU7TqEnucv5usASW82C2z47vzZN  Private Key (Wallet Import Format): vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWe
|
The Technical Founder of WeMineCoins
|
|
|
elbandi
|
|
August 18, 2014, 02:31:22 PM |
|
The one I'm trying to recover the coins from was generated at the same time as this one here so it's the same length. Litecoin Address: LZkNB3aXU7TqEnucv5usASW82C2z47vzZN  Private Key (Wallet Import Format): vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWe
Ah, i see. Is the generator app/program public available? (i have some idea, but it would help, if i can generate a wrong private key) Elbandi
|
|
|
|
WeMineCoins (OP)
|
|
August 20, 2014, 02:12:37 PM |
|
The one I'm trying to recover the coins from was generated at the same time as this one here so it's the same length. Litecoin Address: LZkNB3aXU7TqEnucv5usASW82C2z47vzZN  Private Key (Wallet Import Format): vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWe
Ah, i see. Is the generator app/program public available? (i have some idea, but it would help, if i can generate a wrong private key) Elbandi I either used cryptowallets.org or liteaddress.org to generate it. I think the key to figuring this out revolves around figuring out why the private key starts with a letter other than 6 or T.
|
The Technical Founder of WeMineCoins
|
|
|
elbandi
|
|
August 20, 2014, 05:28:20 PM |
|
The one I'm trying to recover the coins from was generated at the same time as this one here so it's the same length. Litecoin Address: LZkNB3aXU7TqEnucv5usASW82C2z47vzZN  Private Key (Wallet Import Format): vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWe
I can generate the privkey started with 6 vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWe : privkey: 6vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWe598j6C pubkey: LY9BJz6HdYkh4n5oHvzmAo2fHkL8EV6BW6 pubkey (comp): Lgjv9Z3cNrmztbaJ8bpW88W3Y3MKHdRnrz ------ privkey: 6vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWeCM9v3B pubkey: LVTj7DbByfzVDKjtCAAU6iGyjGNUwSvNXU pubkey (comp): LVzTGFgzQg4S3KsRJLTnwBBspYnPF3yr86 ------ privkey: 6vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWeHABy9L pubkey: LX1vepRBeeKJc4Tmux1cBNE4GuN4fCTDLe pubkey (comp): LTbBeMFPVzxqXQ9RfntV598M2vtuQ6qLyi ------ privkey: 6vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWeP43WR7 pubkey: LcCTuXiTDocnic9NDFnY3ovUU8G137k3u2 pubkey (comp): LcDiNJJX64AdiLYMeiFrHiJycneV3xeZ86 ------ privkey: 6vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWeX1erYT pubkey: LWBAiYHr2ErsiR2YFgvzUYAf7pc8LPCjmU pubkey (comp): LYGCSm6SpCdYDNCiYqDUZ1z8V8Ko2r4p4s ------ privkey: 6vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWefy3Kyk pubkey: LY51BaA3nULX7C7Zy276XDc9A4J9yJ5aDe pubkey (comp): LXroNP7X7hShMm8kTUpcx99iDyVCoifziE ------ privkey: 6vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWeoLyumZ pubkey: LPpH3ipSZgD84F7tDpCLyoS35ZspFGYc4W pubkey (comp): LKruyhszFiaMhq2hpkyeTkgk8HUKo4BmBF ------ privkey: 6vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWet1UkvA pubkey: LUtUmXKqC37auPXYPozUD5mYTnhshEw6ob pubkey (comp): LSt94Th8K6PRyiF2KC6EsWCkR8FVGw7GJv ------ privkey: 6vbBoiGtUDZPoADY36ymfbnoXicFZXW7UHKWTxD7uuGWey4D4Vn pubkey: LdX89nkiYHrBFdSvBKkGam6SZ6b2Ytywdg pubkey (comp): LLhRgYKjEYApgFhHP5UXgLDajcGeQt3gnp ------
but none of them has that litecoin address
|
|
|
|
ijl53
Member
Offline
Activity: 64
Merit: 10
CyptoLong
|
|
August 21, 2014, 04:51:53 AM |
|
Im having the same problem!! just tried to import some keys from a paper wallet generated on http://www.liteaddress.org/ ages ago. I can see the coins using an address watcher, but when trying to import on the qt it gives me the exact error code! yet my address does begin with a 6. I wish there was a blockchain like app for ltc. it would make paper wallets hassle free. Anyways, anyone have any suggestions? thanks!
|
|
|
|
WeMineCoins (OP)
|
|
August 21, 2014, 02:06:13 PM |
|
Im having the same problem!! just tried to import some keys from a paper wallet generated on http://www.liteaddress.org/ ages ago. I can see the coins using an address watcher, but when trying to import on the qt it gives me the exact error code! yet my address does begin with a 6. I wish there was a blockchain like app for ltc. it would make paper wallets hassle free. Anyways, anyone have any suggestions? thanks! The fix to your problem sounds like it may be as simple as trying http://electrum-ltc.org/
|
The Technical Founder of WeMineCoins
|
|
|
WeMineCoins (OP)
|
|
August 24, 2014, 04:43:11 PM Last edit: August 24, 2014, 06:04:54 PM by WeMineCoins |
|
Shocked no one else has run into this issue / can't assist with this.
Edit : Solved - The stated private key was different than what we saw when we used the barcode scanner app on our mobile phone which gave us the actual normal private key.
|
The Technical Founder of WeMineCoins
|
|
|
FredDag
|
|
September 03, 2014, 01:28:00 PM |
|
Edit : Solved - The stated private key was different than what we saw when we used the barcode scanner app on our mobile phone which gave us the actual normal private key.
What does this mean? I'm having the same issue & don't understand how you solved it.
|
|
|
|
Cryptobro
Member
Offline
Activity: 84
Merit: 10
|
|
September 03, 2014, 01:46:35 PM |
|
Sounds like when he scanned the qr code of the address on his cellphone the private key shown was the correct one. Originally he was using an invalid key that may been generated incorrectly by the paper wallet generator.
You should try scan the qr code to see if that solves your problem.
(Note: I could be reading this wrong...I'm actually having the same problem but don't have a way to scan my code)
|
|
|
|
|