TheNewb
Posts: 1
Joined: Mon Jul 04, 2016 4:30 am

Need help extracting usable BTC from a wallet.dat.txt file.

Mon Jul 04, 2016 4:46 am

This will be my first time posting here so please forgive any newbyness.

A friend recently gave me an old thumbdrive with a wallet.dat.txt file on it. It is a txt file called wallet.dat. He had bought a full BTC but didn't know what he was doing or how to spend it so he said I can keep it if can figure it out.

I'm semi-familiar with BTC but know almost nothing about paper wallets/cold storage. After some research, I discovered I might could import it here: https://blockchain.info/wallet/import-wallet

However, I get the following error message: Unknown File Type wallet.dat.txt

I think perhaps he may have played with it trying to get the BTC, and opened the .dat with a word processor which converted the file to wallet.dat.txt

Here are a couple of images to better show what I am working with here:
Image
Image

Is there any way to convert the wallet.dat.txt back into wallet.dat? Just trying to get at that free 1 BTC. Please help! Any/all advice is welcome!

User avatar
zju
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 62
Joined: Fri Oct 02, 2015 5:27 am

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Mon Jul 04, 2016 6:43 am

Try this page: https://blockchain.info/wallet/import-wallet

I believe it will create a blockchain.info wallet for you using the private keys in the wallet.dat file.

User avatar
arnoudk
Bronze Bitcoiner
Bronze Bitcoiner
Posts: 631
Joined: Wed Oct 21, 2015 4:04 am
Location: Belize

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Mon Jul 04, 2016 6:52 am

Before doing any experimentation, please make a copy of the file and work with the copy.

I assume it is misnamed. It should be wallet.dat and not wallet.dat.txt.

wallet.dat is what bitcoin-qt uses. You may be able to read it using this software. I am not sure if they are fully backwards compatible, but the last modified date of the file should give an indication of the version of bitcoin-qt used to make it.
Excited about the potential of Bitcoin Cash in the beautiful country of Belize.
Developer of the RegisterDocuments.com Document Registration Service (using the Bitcoin Cash blockchain).

User avatar
SerutEhtt
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 77
Joined: Wed Jun 08, 2016 1:08 pm

Donate BTC of your choice to 1SeruCcX7fSMAMTLuUbokaP77STszuPJm

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Mon Jul 04, 2016 8:04 am

May be it is encrypted, which is why blockchain.info shows you the error while trying to import it in, in which case you have to make the blockchain info wallet with the same password and then you'd be able to import it in.

If you can find the private keys inside then you can import it into almost all wallets.
CoinMama
Buy BTC itcoins with Credit Card or Cash in minutes

0x8d8b18B67F6A0B8B30798E0f63afA3c09f04c130

BTC.PASS
Posts: 4
Joined: Thu Jan 12, 2017 2:50 pm

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Tue Jan 24, 2017 3:22 pm

Recovery password
Fast, high-quality recovery of your forgotten password. Inexpensive!
communicate http://recoverywallet.com/

User avatar
stan.distortion
Nickel Bitcoiner
Nickel Bitcoiner
Posts: 24
Joined: Mon Nov 02, 2015 6:02 pm
Location: Ireland

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Tue Jan 24, 2017 3:50 pm

A very rough way to check if it's encrypted or not, open it up in a hex editor and amidst all the garbled up info there should be some fairly obvious text strings, key or ckey. If they're ckey then the wallet is encrypted, key is unencrypted. On a backup of course! There are plenty of free hex editors and some regular text editors will display it well enough to check it but they usually either take a long time to load it or bork entirely.
Bitcoin maximalism is a lot like saying Debian-stable is the only distro and anyone using Debian-testing is a traitor. Rock solid systems have their place and so do advanced features, https://www.dash.org/

Rmcdermott927
Bronze Bitcoiner
Bronze Bitcoiner
Posts: 590
Joined: Tue Sep 20, 2016 7:32 pm

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Tue Jan 24, 2017 9:54 pm

Download pywallet and run the wallet.dat through that. It will tell you if it is encrypted and if not will dump the wallet contents to a txt file.
Image

User avatar
defcon23
AMA
AMA
Posts: 224
Joined: Tue Sep 20, 2016 8:26 pm

Donate BTC of your choice to 12FkPaQSu1PjJfnk1X9qQ5HFEGBGVk1vrt

Contact: Telegram

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Mon Feb 06, 2017 7:38 pm

Download pywallet and run the wallet.dat through that. It will tell you if it is encrypted and if not will dump the wallet contents to a txt file.

Yeah . + 1 for pywallet. jack jack have make an awesome piece of code with this.. 8-)

you could find many good infos there : https://github.com/jackjack-jj/pywallet

and remember : google is always your friend ;) ( exept when it leaked your personals infos .. lol ;) )
Image

User avatar
Decoded
Global Moderator
Global Moderator
Posts: 417
Joined: Sat Oct 15, 2016 11:28 am

Donate BTC of your choice to 1fdFgrw59gczh96esrpJST6MVHyQm4VJK

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Mon Feb 06, 2017 8:17 pm

It may be encrypted, but OP's problem is that he's using Windows, which by default hides file name extensions of known file types. In this case, .txt.

In actuality, the wallet file is not. .dat file, but. .txt file, and the name of the file is wallet.dat.

Press your windows search button, and type in "Folder Options". Something along those lines should come up, then click "View", then uncheck "Hide extensions for known file types".

Your file should now be named wallet.dat.txt.

Make a copy of it now. You don't want to accidentally corrupt it.

Now rename it to wallet.dat, accept the warning, and you're done. Unless your friend trolled you and he gave you a text file on purpose, you can now go back to blockchain.Info and import the wallet.dat file.

If you want, encrypt the file with a password and send it to me with the password and I'll work on unlocking it for you. I'll do it for free, I don't want someone else's Bitcoin.
theres a snake in my boot

User avatar
defcon23
AMA
AMA
Posts: 224
Joined: Tue Sep 20, 2016 8:26 pm

Donate BTC of your choice to 12FkPaQSu1PjJfnk1X9qQ5HFEGBGVk1vrt

Contact: Telegram

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Mon Feb 06, 2017 9:18 pm

It may be encrypted, but OP's problem is that he's using Windows, which by default hides file name extensions of known file types. In this case, .txt.

In actuality, the wallet file is not. .dat file, but. .txt file, and the name of the file is wallet.dat.
" If you want, encrypt the file with a password and send it to me with the password and I'll work on unlocking it for you. I'll do it for free, I don't want someone else's Bitcoin. "
Press your windows search button, and type in "Folder Options". Something along those lines should come up, then click "View", then uncheck "Hide extensions for known file types".

Your file should now be named wallet.dat.txt.

Make a copy of it now. You don't want to accidentally corrupt it.

Now rename it to wallet.dat, accept the warning, and you're done. Unless your friend trolled you and he gave you a text file on purpose, you can now go back to blockchain.Info and import the wallet.dat file.

If you want, encrypt the file with a password and send it to me with the password and I'll work on unlocking it for you. I'll do it for free, I don't want someone else's Bitcoin.

Hey sir!


I won't discuss this part:
" If you want, encrypt the file with a password and send it to me with the password and I'll work on unlocking it for you. I'll do it for free, I don't want someone else's Bitcoin. "

as I think you should be someone "highly reputable " ... but.. : the deontology said: never ever propose something like this .... just in case a problem happens...
Examples: recently, I was talking about an issue an electrum user got with his wallet, with ThomasV ( who coded electrum wallet & server ..)

he was possibly able to solve the user issue ( with his electrum 2fa seed ) but he had formerly REFUSED to accept the user send him his seed .... ( who knows what could happen.... ..you see ? ;) )

in the case of a problem, it would be difficult to be involved afterwards.


just my two satoshis...

kind regards
Image

User avatar
Decoded
Global Moderator
Global Moderator
Posts: 417
Joined: Sat Oct 15, 2016 11:28 am

Donate BTC of your choice to 1fdFgrw59gczh96esrpJST6MVHyQm4VJK

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Mon Feb 06, 2017 10:06 pm

It may be encrypted, but OP's problem is that he's using Windows, which by default hides file name extensions of known file types. In this case, .txt.

In actuality, the wallet file is not. .dat file, but. .txt file, and the name of the file is wallet.dat.
" If you want, encrypt the file with a password and send it to me with the password and I'll work on unlocking it for you. I'll do it for free, I don't want someone else's Bitcoin. "
Press your windows search button, and type in "Folder Options". Something along those lines should come up, then click "View", then uncheck "Hide extensions for known file types".

Your file should now be named wallet.dat.txt.

Make a copy of it now. You don't want to accidentally corrupt it.

Now rename it to wallet.dat, accept the warning, and you're done. Unless your friend trolled you and he gave you a text file on purpose, you can now go back to blockchain.Info and import the wallet.dat file.

If you want, encrypt the file with a password and send it to me with the password and I'll work on unlocking it for you. I'll do it for free, I don't want someone else's Bitcoin.

Hey sir!


I won't discuss this part:
" If you want, encrypt the file with a password and send it to me with the password and I'll work on unlocking it for you. I'll do it for free, I don't want someone else's Bitcoin. "

as I think you should be someone "highly reputable " ... but.. : the deontology said: never ever propose something like this .... just in case a problem happens...
Examples: recently, I was talking about an issue an electrum user got with his wallet, with ThomasV ( who coded electrum wallet & server ..)

he was possibly able to solve the user issue ( with his electrum 2fa seed ) but he had formerly REFUSED to accept the user send him his seed .... ( who knows what could happen.... ..you see ? ;) )

in the case of a problem, it would be difficult to be involved afterwards.


just my two satoshis...

kind regards
I know how to handle private keys securely.

I honestly am just offering my help, I don't care if you think if it's a scam or not. OP can decide for himself.

Please, I understand you believe you have a right to tell anyone less trusted than you to piss off and that only someone more trusted you should do it, but please. Even the dumbest person will understand the risks of giving someone else their private key.
theres a snake in my boot

User avatar
defcon23
AMA
AMA
Posts: 224
Joined: Tue Sep 20, 2016 8:26 pm

Donate BTC of your choice to 12FkPaQSu1PjJfnk1X9qQ5HFEGBGVk1vrt

Contact: Telegram

Re: Need help extracting usable BTC from a wallet.dat.txt file.

Mon Feb 06, 2017 10:15 pm

Man... Just try to avoid this kind of rude tone.. I,m free to expose my point of view as you was free to expose your way to think the last time an user had thanx me for having helped him ..
( ref : my AMA thread)
Ps: bitcoin.com shoudnt become a hate place like the other forum... Anytime. There wasnt any offense here..
Thank you.

Regards
Image

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests