Author

Topic: Get addresses from wallet.dat (Read 129 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
April 10, 2021, 03:59:27 AM
#6
If you realy don't want to synchronize and want to be absolutely sure that it is empty, you can get a wallet dump. Window>Console and
Code:
dumpwallet D:/Wallet

Replace the directory to file to whichever you want, must have write permission. You'll get a dump file which you can open with any text editor and it will show you the addresses from your keypool as well. Can be quite a tedious task to check every address.

It's slightly easier if you Electrum and text editor (such as sublime text) which have shortcut/function to add prefix (such as "p2khh:") on front of WIF private key and only copy the private key (with it's prefix).
legendary
Activity: 2954
Merit: 4158
April 10, 2021, 01:26:07 AM
#5
If you realy don't want to synchronize and want to be absolutely sure that it is empty, you can get a wallet dump. Window>Console and
Code:
dumpwallet D:/Wallet

Replace the directory to file to whichever you want, must have write permission. You'll get a dump file which you can open with any text editor and it will show you the addresses from your keypool as well. Can be quite a tedious task to check every address.
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
April 10, 2021, 12:43:32 AM
#4
-snip-
-snip- I didn't know that I could list addresses without sync.
There's a limitation, it will only show addresses that were previously used by the wallet, you'll likely see the involved (unverified) transactions in the "Transactions" tab anyways.
You can paste their TXID on a multi-coin blockexplorer like blockchair.com to check if those are valid in an altcoin chain.

The only reliable way to check the balance is to sync those wallets to their respective networks, because you'll never know if it's an older backup and the wallet was used a few more times after the "Best block at time of backup" of the recovered backup/file.
newbie
Activity: 5
Merit: 6
April 09, 2021, 12:45:43 PM
#3
When it finished I was able to see the addresses I used and verify that they were 0BTC (well, 0.0000008BTC) with blockchain.info.
Why the need for an external site? When it's synced, Bitcoin Core shows the balance already.

Quote
Is there any way to list the addresses without having to download the coin client and synchronize it?
I would download the client and use listaddressgroupings in console. Or just let it sync, that shouldn't take as long for those altcoins.



Please stop the inappropriate use of bold font.

Thank you,  listaddressgroupings  solve my problem. I didn't know that I could list addresses without sync.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
April 09, 2021, 06:54:15 AM
#2
When it finished I was able to see the addresses I used and verify that they were 0BTC (well, 0.0000008BTC) with blockchain.info.
Why the need for an external site? When it's synced, Bitcoin Core shows the balance already.

Quote
Is there any way to list the addresses without having to download the coin client and synchronize it?
I would download the client and use listaddressgroupings in console. Or just let it sync, that shouldn't take as long for those altcoins.



Please stop the inappropriate use of bold font.
newbie
Activity: 5
Merit: 6
April 09, 2021, 05:53:29 AM
#1

I have several wallet.dat files of different currencies from a few years ago.

I'm pretty sure they're empty but I'd like to check it out. Since I only have the wallet.dat (I can't remember the passphrase), I downloaded the bitcoin-qt client and loaded the wallet and let it sync.

When it finished I was able to see the addresses I used and verify that they were 0BTC (well, 0.0000008BTC) with blockchain.info.

Now I want to do the same with doge, ltc and a few more.

Is there any way to list the addresses without having to download the coin client and synchronize it?

Jump to: