Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: cryptocoinz2 on September 09, 2018, 09:50:33 PM



Title: wallet.dat import ?
Post by: cryptocoinz2 on September 09, 2018, 09:50:33 PM
Hello world :-)


I have found a wallet.dat but no idea where is it from and where can i import it ?

Trying bitcoin core and litecoin core but the blockchain needs 9years to sync the blockchain.

anybody an idea ?


Title: Re: wallet.dat import ?
Post by: BitCryptex on September 09, 2018, 09:56:36 PM
Trying bitcoin core and litecoin core but the blockchain needs 9years to sync the blockchain.

It won't last that long. The synchronization takes about 3 days depending on how powerful your hardware is. You should be able to import this wallet file in Bitcoin Core without having to synchronize with the blockchain. You will be able to export your private key and view your addresses which you can check using the blockexplorer. Once you export your private key (https://github.com/OmniLayer/omniwallet/wiki/Exporting-a-private-key-from-Bitcoin-Qt---Bitcoin-Core-and-importing-to-Omniwallet.org), you can use Electrum to easily access your funds.


Title: Re: wallet.dat import ?
Post by: cryptocoinz2 on September 09, 2018, 10:41:02 PM
any other easier way....? im getting the message incorrect passpharse but its correct passpharse...


Title: Re: wallet.dat import ?
Post by: cissrawk on September 10, 2018, 02:23:38 AM
any other easier way....? im getting the message incorrect passpharse but its correct passpharse...
That pretty easy. Maybe you type it wrong or typo? Maybe you can change your passphrase to another word and try it again.


Title: Re: wallet.dat import ?
Post by: cryptocoinz2 on September 10, 2018, 11:58:58 AM
and what can i do whith finded wallet.dat files ? nothing or ? evry wallet dat is encrypted with a password or passpharse..or im incorect ?


Title: Re: wallet.dat import ?
Post by: cellard on September 10, 2018, 12:22:07 PM
and what can i do whith finded wallet.dat files ? nothing or ? evry wallet dat is encrypted with a password or passpharse..or im incorect ?

The wallet.dat files are not encrypted by default. They are encrypted only if you manually entered a password which you must be able to remind, otherwise you will never be able to access your coins ever again. Your only chance would be bruteforcing the password but if it's more than 8 characters it's pretty much game over. I have forgotten passwords in the past and you can consider whatever is encrypted as lost forever if you don't have a good memory.

Also it doesn't take 9 years. It means that you are rewinding 9 years worth of blocks, not that it will take actual 9 years for the bar to fill.


Title: Re: wallet.dat import ?
Post by: mocacinno on September 10, 2018, 12:32:53 PM
I agree with the others that have replied in this thread, but wanted to add one extra piece of potentially interesting information:
There are tools to export private keys from a wallet.dat without having to sync the complete blockchain or even install bitcoin core:
https://bitcointalk.org/index.php?topic=34028.0
There seems to be a recent version even supporting bech32:
https://bitcointalk.org/index.php?topic=34028.msg818406#msg818406

And there are tools to brute-force a wallet.dat's passphrase... But since it's brute-forcing, you'll either need a very short password, or you need to remember a lot about the password:
https://github.com/gurnec/btcrecover


I'd strongly recommand running these tools on an offline machine... AFAIK, they have been vetted and nobody found a call home, but in these cases, the popular phrase "better safe than sorry" pops to mind.


Title: Re: wallet.dat import ?
Post by: cellard on September 11, 2018, 04:44:12 PM
I agree with the others that have replied in this thread, but wanted to add one extra piece of potentially interesting information:
There are tools to export private keys from a wallet.dat without having to sync the complete blockchain or even install bitcoin core:
https://bitcointalk.org/index.php?topic=34028.0
There seems to be a recent version even supporting bech32:
https://bitcointalk.org/index.php?topic=34028.msg818406#msg818406

And there are tools to brute-force a wallet.dat's passphrase... But since it's brute-forcing, you'll either need a very short password, or you need to remember a lot about the password:
https://github.com/gurnec/btcrecover


I'd strongly recommand running these tools on an offline machine... AFAIK, they have been vetted and nobody found a call home, but in these cases, the popular phrase "better safe than sorry" pops to mind.

Does pywallet work only for bitcoin or for any altcoin that has a wallet.dat format for wallets? It mentions namecoin in there... that should be really useful, sometimes I find random wallets, and I have to go through an odyssey of problems attempting to extract private keys, because oftentimes the blockchain from these projects is very hard to sync, a lot become half abandoned but still there's some value in your wallet which you could dump into some exchange for BTC.

And btw if you ever need to figure out what a wallet.dat contains (as in if yo udont know which altcoin it is from) you can use my little trick here:

https://bitcointalk.org/index.php?topic=3386236.msg35477272#msg35477272

Just open wallet.dat which a text editor and follow the guide.