[Solved] importprivkey - Team recover lost funds - old version client
-
So, Just to be sure I wanted to check my paperwallet today. Generated a while back with [url=http://www.featheraddress.org/.]http://www.featheraddress.org/.[/url]
So in the console I do a importprivkey privatkeyI get a {“code”:-5,“message”:“Invalid private key”} ???
Okay, so my client is running v0.6.4.2 and my blockchain is behind 57 days, but this transaction is from August 4.
So anybody a clue cause I’m getting a small heart-attack here. -
Ok, I guess I’m fucked bigtime here.
Just check featheraddress.org again and tried to use last tab where you van enter a privatekey: “The text you entered is not a valid Private Key!”
WTF ??When I use the same feature on my locally saved html page from featheraddress.org I do get the connected ftc address.
Has there really been a screwed-up version of featheraddress.org online ?
If so, I have lost a shitload of feathercoins -
Please update your wallet to 0.6.4.4. It sounds like you have run the old client on the new network so you will get errors after upgrade. To solve these errors you will need to look at the following.
[url=http://forum.feathercoin.com/index.php/topic,3915.msg30416.html#msg30416]http://forum.feathercoin.com/index.php/topic,3915.msg30416.html#msg30416[/url]
Back to business. Have you managed to import any private keys?
Try dumping the key to an address in your wallet using dumpprivkey and then try importing it to see if that works. If not then there is something else a miss. You will need to unencrypt your wallet for the period that you do this using the walletpassphrase command.
-
[quote name=“Bushstar” post=“36518” timestamp=“1385477631”]
Please update your wallet to 0.6.4.4. It sounds like you have run the old client on the new network so you will get errors after upgrade. To solve these errors you will need to look at the following.
[/quote]Thanks for answering. I will update first.
-
I have the 0.6.4.4 on a windows client now . Ubuntu did not go so easy.
Same errors.
Anyway, what use is a dumprivkey when my feathercoins are on paperwallets ?
-
I want to see that you can get importprivkey to work by testing it on a private key from your wallet. Or just get another address from feathercoinaddress.org for testing.
Have you got importprivkey to work with any addresses?
-
Hmm,
When on my new clean installed client I do a dumpprivkey for an newly made address I receive the private key.
When I do a importprivkey for that same key key I get json: code:-4, message: Error adding key to wallet
I have to admit I am not very familiar with the crypto cli.
Btw, since i just freshly installed the client on my laptop, the blockchain is halfway now. -
As I read it you try to import the key to the same wallet?
that can’t work, as the key is already in that wallet.
you need to import the key to another wallet, or even delete the current wallet, run feathercoin-qt again and then import.
You can import during the sync process ;)
-
Yes I figured as much.
Thanks for your reply.I have 2 clients running now (ubuntu and windows), so I could test properly.
Importing keys I got from a dumpprivkey work okay.The private keys from my paperwallets seem to do not however.
Alreay send a pm to bushstar with one of my privatekeys so he can check, thats how desperate I am :-( -
[quote name=“Pietjebel” post=“36570” timestamp=“1385491370”]
Yes I figured as much.
Thanks for your reply.I have 2 clients running now (ubuntu and windows), so I could test properly.
Importing keys I got from a dumpprivkey work okay.The private keys from my paperwallets seem to do not however.
Alreay send a pm to bushstar with one of my privatekeys so he can check, thats how desperate I am :-(
[/quote]Bushstar is a good guy and I’ll vouch for his dependability and trustworthyness. You’re taking a huge risk by sending your private keys around, but if there’s anyone who I’d trust to not take my coins, it would be Bushstar.
Bushy: Remember a while back hank and I worked on that python code to fix incorrectly versioned private keys dumped by FeathercoinJ? It might be worth it to give that a try… I mean the worst thing that happens is it doesn’t work. Code is here: https://github.com/hank/life/blob/master/code/python/cryptcoin_addr_convert/convert.py
-
Well, the privatekey is no good anyway.
I get the sincere impression I have been using a broken featheraddress generator.
It does not give a lot of hope at this point. -
I don’t see how this could be the case. The private key can in fact be anything. Any string of random bytes of the appropiate size can serve as your private key, and a public key can always be computed from any private key. It’s getting it imported that’s the trick, and that requires the correct format.
-
Well, altough I do not follow the logic yet, thank you for giving a me a bit of hope again ;-)
-
I wouldnt worry yet you have the two best guys on the job here if anyone can fix this its them!
-
I have got the coins. Hats off to Kevlar, the key did not seem to work in any version of the client but running it through Kevlar’s Python script produced a working private key :)
Pietjebel, please give me a working address to send your funds on to.
-
Wow, You have no idea how happy I am !! Thank you su much Bush, and Kevlar !
I am at work right now, so have no address to provide.
Also there are more paperwallets then the one I gave you.I will contact you in my lunch break.
Thank You so much, pfffffff
-
[quote name=“Bushstar” post=“36730” timestamp=“1385544568”]
I have got the coins. Hats off to Kevlar, the key did not seem to work in any version of the client but running it through Kevlar’s Python script produced a working private key :)Pietjebel, please give me a working address to send your funds on to.
[/quote]This is a not uncommon bug where the programmer of the client doesn’t change the version number in the export format. The private key is properly exported, but the version number is wrong. This code fixes that. Thanks to hank for providing the challenge, bounty, and final solution for the fix when my code fell one step short. Glad it worked. :)
-
To all,
Several heart-attacks later, but I have my coins again!
Wise lesson to always test the importprivkey [paper_wallet_privkey] before sending all your coins to paper wallets.Thanks to those involved (Peter, Kevlar, Hank)!
-
Is this still the case if I create a paper wallet on featheradress.org or is everything fixed and can I create one without any future heartattacks?
-
this is what makes me happy to be here. bushstar, i think youre awesome. i cant see to many other devs etc taking the time to help this guy like you did.