Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: LFC_Bitcoin on January 03, 2016, 09:29:19 PM



Title: .dat files
Post by: LFC_Bitcoin on January 03, 2016, 09:29:19 PM
Can anybody remind me how to hell to open .dat files on Windows 10 (without Office).

All I can see is a lot of nonsense when trying to use Notepad. I've been using Trezor & paper wallets for ages. Can't remember how to open one.


Title: Re: .dat files
Post by: achow101 on January 03, 2016, 09:30:38 PM
Can anybody remind me how to hell to open .dat files on Windows 10 (without Office).

All I can see is a lot of nonsense when trying to use Notepad. I've been using Trezor & paper wallets for ages. Can't remember how to open one.
You generally aren't supposed to open .dat files. Those are data files and their formats differ depending on the software the created it. Generally you use hex editors to open those files.


Title: Re: .dat files
Post by: shorena on January 03, 2016, 09:34:24 PM
Since you posted in tech support, is it a wallet.dat from bitcoin core?


Title: Re: .dat files
Post by: LFC_Bitcoin on January 03, 2016, 09:39:40 PM
Since you posted in tech support, is it a wallet.dat from bitcoin core?

Yes.
I haven't used Core for a long time, I downloaded the entire blockchain again recently purely to use Bitcoin Core on a clean PC to store some coins.

I've made a back up & just wondered how to open the file if I ever need to.

I'm a bit of a long term HODLER so it's not urgent.

What do I do with this wallet back up file if my PC ever breaks, if I can't even open the .dat file.  

I'm not majorly tech gifted, just a saver/HODLER - I like to be prepared for every eventuality.


Title: Re: .dat files
Post by: achow101 on January 03, 2016, 09:55:15 PM
Since you posted in tech support, is it a wallet.dat from bitcoin core?

Yes.
I haven't used Core for a long time, I downloaded the entire blockchain again recently purely to use Bitcoin Core on a clean PC to store some coins.

I've made a back up & just wondered how to open the file if I ever need to.

I'm a bit of a long term HODLER so it's not urgent.

What do I do with this wallet back up file if my PC ever breaks, if I can't even open the .dat file.  

I'm not majorly tech gifted, just a saver/HODLER - I like to be prepared for every eventuality.
You can download and install Bitcoin Core again which should be able to read that file. If it can't, then you can download an older version that can. Another option is to use a tool like pywallet which can dump the private keys from the wallet.dat file so that you can import them into another wallet and spend the Bitcoin.


Title: Re: .dat files
Post by: LFC_Bitcoin on January 03, 2016, 10:02:37 PM
So if I wanted to upload this wallet.dat file into a fresh Core client download would I do the following -

- Open Client
- File
- Open URL
- Open payment request from URI or file

Bang the wallet.dat in, press OK & that's it, all the addresses & private keys will be uploaded

Sorry for the total noobness (embarrassed). I just like to be prepared


Title: Re: .dat files
Post by: shorena on January 03, 2016, 10:13:09 PM
So if I wanted to upload this wallet.dat file into a fresh Core client download would I do the following -

- Open Client IIRC it needs to start once to create folders
- Close client, put wallet.dat in the correct place.
- Start client again
- File
- Open URL
- Open payment request from URI or file

Bang the wallet.dat in, press OK & that's it, all the addresses & private keys will be uploaded

- While its syncing (can be ignored) go to Help -> Debug Window -> Console
- unlock for 120 seconds with: walletpassphrase pass123 120
- get all the private keys to a file with: dumpwallet c:\keys.txt (modify for OS if needed)
- open file and import private keys into any other wallet you like.

Sorry for the total noobness (embarrassed). I just like to be prepared

Dont be embarrassed for asking question.


Title: Re: .dat files
Post by: LFC_Bitcoin on January 03, 2016, 10:17:11 PM
Thanks guys, always great to see people around here willing to help & share their knowledge.

:)

/thread