Bitcoin Forum
April 26, 2024, 05:16:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Get addresses from wallet.dat  (Read 127 times)
CryptCrypt (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 6


View Profile
April 09, 2021, 09:53:29 AM
Merited by LoyceV (1)
 #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?

"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16550


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
April 09, 2021, 10: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.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
CryptCrypt (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 6


View Profile
April 09, 2021, 04: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.
nc50lc
Legendary
*
Online Online

Activity: 2394
Merit: 5535


Self-proclaimed Genius


View Profile
April 10, 2021, 04:43:32 AM
Merited by LoyceV (2)
 #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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4165


View Profile
April 10, 2021, 05: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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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!