Bitcoin Forum
August 25, 2024, 03:20:33 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin wallet file is damaged due to storage format problem  (Read 87 times)
Lisibaw (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 11, 2024, 02:19:04 PM
 #1

The wallet file of my bitcoin wallet is stored in the form of text.
In 2013, I copied and pasted the secretkey in the wallet file into a newly-built word document, and then deleted the secretkey in the original wallet file.
 A few years later, when I copied and pasted the secretkey into wallet.txt again, the wallet file was unusable and destroyed. My wallet file contains the following information:
partner:xxxxxxx
secretkey:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Excuse me, masters, how can I retrieve Bitcoin by program or other means?
BitMaxz
Legendary
*
Offline Offline

Activity: 3360
Merit: 3086


BTC price road to $80k


View Profile WWW
April 11, 2024, 04:31:37 PM
 #2

Would you mind to check if the secretkey is a WIF key that starts with K or L or use the link below to check if the secret key you are using looks the same as the private key listed there?

- https://en.bitcoin.it/wiki/List_of_address_prefixes

Once you confirm the secret key is a WIF private key you can import it to the Electrum wallet you can download the Electrum wallet from this link below

- https://electrum.org/#download

You can follow the guide below on how to import the private key It is old but the procedure should still be the same

- https://bitcoinelectrum.com/importing-your-private-keys-into-electrum/

Lisibaw (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
April 21, 2024, 02:27:51 AM
 #3

My bitcoin wallet is bitcoin core.
BitMaxz
Legendary
*
Offline Offline

Activity: 3360
Merit: 3086


BTC price road to $80k


View Profile WWW
June 15, 2024, 10:20:03 PM
Merited by NeuroticFish (3)
 #4

My bitcoin wallet is bitcoin core.
Yes, I know.
Would you mind to check or giving a few samples of what the secretkey looks like? Like I said in my previous post if the first character starts with K or L that is a WIF key you can able to import it to any wallet that supports a WIF key like Electrum you can follow the guide that I posted above.

If the first character is different then that's not a WIF key if that's the case you might need to read the list of address prefixes to recognize what's in the secretkey once you found out update here.

Here's the sample of the content of old wallet.dat before just found it on pastebin but it is only secret and it is decoded into hex if yours looks the same as this then you might need to convert it into a WIF key the only working tool that you can convert the secret is by using  the bitaddress tool but it's not safe to use online you need to run it into an offline device for safety purposes.

Code:
#address
    addr = '1AJ3vE2NNYW2Jzv3fLwyjKF1LYbZ65Ez64'
    sec = '5JMhGPWc3pkdgPd9jqVZkRtEp3QB3Ze8ihv62TmmvzABmkNzBHw'
    secret = '47510706d76bc74a5d57bdcffc68c9bbbc2d496bef87c91de7f616129ac62b5f'.decode('hex')
    pubkey = '046211d9b7836892c8eef49c4d0cad7797815eff95108e1d30745c03577596c9c00d2cb1ab27c7f95c28771278f89b7ff40da49fe9b4ee834a3f6a88324db837d8'.decode('hex')
    ckey = '0f8c75e4c6ab3c642dd06786af80ca3a93e391637d029f1da919dad77d3c8e477efd479814ddf4c459aeba042420868f'.decode('hex')
Source: https://pastebin.com/XWibUePh

In case the secret is the same as this in hex format and want to convert it then here's the link below

- https://github.com/pointbiz/bitaddress.org

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!