Recovering funds after I lost my wallet.dat

0

I have received the bitcoin way back in 2013 in Bitcoin Core. At that time I don't know about the importance of wallet.dat - I have formatted my hard disk and install Bitcoin Core again in 2017 but there it didn't show my Bitcoin in my balance. I have my Bitcoin Key.

How can I get my bitcoin back? Please help me!

Pratik Shah

Posted 2017-10-18T03:15:46.820

Reputation: 1

2Do you mean you have the private key for the address the funds were sent to?Highly Irregular 2017-10-18T04:27:09.237

Your Bitcoins are gone forever Sorry.Luke Mlsna 2017-10-31T21:23:08.080

Answers

1

If you have your private key, you can add it to your wallet with the command
bitcoin-cli importprivkey "<YOUR_PRIVATE_KEY>" "" false

(The false at the end is to cancel rescan at the moment of adding. It could take some time.)

If you do not have the private key associated with the address the coins were sent to back then, they are lost.

amanusk

Posted 2017-10-18T03:15:46.820

Reputation: 363

1No, I don't have private key. I have public key only. Is there any way I can get my private key from public key? ThanksPratik Shah 2017-10-19T06:23:17.217

2Unfortunately no. If it was possible, anyone could take anyone's bitcoins. Your only option is to try and salvage information from your formatted hard drive using some recovery software.amanusk 2017-10-19T06:48:44.417