Author

Topic: Import Bitcoin private keys, Help for 100usd! (Read 1423 times)

newbie
Activity: 20
Merit: 4
Try pywallet https://github.com/jackjack-jj/pywallet with --recover option and small partition with wallet.dat on it

Recently recovered with it my corrupted wallet.dat https://bitcointalksearch.org/topic/corrupted-encrypted-walletdat-possible-to-recover-1404609

Just in case - my address 1MwM8z8RZdEFuBx5tcg6YHAvLG1AdGYyT8  Smiley

Good luck!
staff
Activity: 3458
Merit: 6793
Just writing some code
Have you tried running Bitcoin Core with the -salvagewallet option to see if it can recover the corrupted some keys so that you can spend from them? If you try that, make sure you keep a backup of your wallet.dat file somewhere as I think it will destroy the corrupted wallet once it attempts a salvage.
legendary
Activity: 1022
Merit: 1008
Delusional crypto obsessionist
I'm still fighting for it Sad
Those keys are not what I needed to recover cash..

But were the keys valid? Did the method work?
sr. member
Activity: 689
Merit: 269
I'm still fighting for it Sad
Those keys are not what I needed to recover cash..

still not fixed?
EDIT: tell us what happened
newbie
Activity: 29
Merit: 0
I'm still fighting for it Sad
Those keys are not what I needed to recover cash..
legendary
Activity: 1022
Merit: 1008
Delusional crypto obsessionist
I was wondering if you had any success retrieving your coins?
newbie
Activity: 29
Merit: 0
Thank you guys ! Smiley

Because there were more helpers as soon as will receive bitcoins I'm going to send 50usd to apocalyptic and findftp ! Smiley
Apocalyptic if you could send me your address on pm
Watashi, also thank you for involve but I'm using Mac : ) It's for sure good info for future people who will look for solution.
sr. member
Activity: 689
Merit: 269
How can I change compressed priv key to priv key? or just to wallet import format?

Hi there, on linux you can use this script bitcoin.sh


https://github.com/grondilu/bitcoin-bash-tools/


you run it simply from the command line

source ~/bitcoin.sh

newBitcoinKey 0x8010b1bb119ad37d4b65a1022a314897b1b3614b345974332cb1b9582cf03536

The first command activates the script
the second command translates your private key  to compressed and uncompressed wif so you can import it to bitcoin core:

Once you see the address with your funds, you have won!

importprivkey your key


If there is problem with script, try entering the key in reverse order for example:

aabbcc.........8899
9988.........ccbbaa

(because sometimes keys are reversed)
good luck




legendary
Activity: 1022
Merit: 1008
Delusional crypto obsessionist
Hmm... already did all process until last point...

Is there any ready software which can allow me simply change this code through base 58 encode? or the best from priv key to wif?  

I mean, becuase if I have 100 private keys then it's going to kill my brain Smiley

Maybe you can use https://www.bitaddress.org ?
You can insert and convert multiple private key formats.
It's an offline javascript app so your keys are not shared with the server.

You can send the 100USD in BTC to 1EV3EXsW197nAkJtiWA16ZfjfPfjPitLrN

Thanks!  Wink
newbie
Activity: 29
Merit: 0
Hmm... already did all process until last point...

Is there any ready software which can allow me simply change this code through base 58 encode? or the best from priv key to wif? 

I mean, becuase if I have 100 private keys then it's going to kill my brain Smiley
newbie
Activity: 47
Merit: 0
Assuming "+ private key (32 bytes) +" stands for the private exponent of the key, you have to prepend the version byte 0x80, then apply Base58Check (see the "Encoding a private key" section of https://en.bitcoin.it/wiki/Base58Check_encoding )

Edit: Actually the whole process is outlined step-by-step at https://en.bitcoin.it/wiki/Wallet_import_format
newbie
Activity: 29
Merit: 0
Hello..
I lost some cash in my corrupted wallet.dat .. I'm trying to desperately recover it.. Already found many private keys in hex editor but have problem with importing them to bitcoin wallet.

I found that this is structure of private and public key

 // structure of a private key:
 // "308201130201010420" + private key (32 bytes) + " 2020101302c06072a8648ce3d0101022100ffffffffffffffffffffffffffffffffffffffffffff fffffffffffefffffc2f300604010004010704410479be667ef9dcbbac55a06295ce870b07029bf cdb2dce28d959f2815b16f81798483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47 d08ffb10d4b8022100fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364 141020101a14403420004" + public key (64 bytes)
 
 // structure of compressed private key
 // "3081D30201010420" + private key (32 bytes) + "a08185308182020101302c06072a8648ce3d0101022100fffffffffffffffffffffffffffffffff ffffffffffffffffffffffefffffc2f300604010004010704210279be667ef9dcbbac55a06295ce 870b07029bfcdb2dce28d959f2815b16f81798022100fffffffffffffffffffffffffffffffebaa edce6af48a03bbfd25e8cd0364141020101a124032200" + compressed public key (33 bytes)
 

My private keys are structured as compressed. If I'm adding it to my console as command:

importprivkey FC3F143D1C92B2054EC37DA0B491AAE37CE7BAA77A5F1577B17191D2F7936C01 (key modified due to privacy)

Then on output I have "Invalid private key encoding (code -5)"

How can I change compressed priv key to priv key? or just to wallet import format?
For help I'm sharing with 100usd as it's important for me.
Jump to: