Bitcoin Forum
October 19, 2018, 07:10:50 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How to know if a wallet.dat is a BTC wallet or an altcoin (small trick)  (Read 189 times)
cellard
Legendary
*
Offline Offline

Activity: 1162
Merit: 1152


View Profile
April 24, 2018, 02:27:15 PM
Merited by QuestionAuthority (5), BillyBobZorton (4), vapourminer (2), Jet Cash (2), FuzzyBear (1), onnz423 (1)
 #1

I often see people talking about this, asking about how they can know where a certain wallet.dat file belongs to.

Well I have found a small and useful trick that could help. You simply open your wallet.dat file, with any text editor of choice, and use ctrl+f to search for "name"" and if your wallet.dat file had any addresses, you will find them there. Now you just have to look at the format and you'll know. (If they begin with 1, it's BTC, if they begin with L, it's LTC...). Most have very recognizable formats. In the case of doubt, just enter the address in the block explorers you suspect the address belongs to look for any funds. This way you don't have to wait for it to sync to see if your wallet matches the client. And this is the trick I've been using when I found random wallet.dat files.

1539976250
Hero Member
*
Offline Offline

Posts: 1539976250

View Profile Personal Message (Offline)

Ignore
1539976250
Reply with quote  #2

1539976250
Report to moderator
1539976250
Hero Member
*
Offline Offline

Posts: 1539976250

View Profile Personal Message (Offline)

Ignore
1539976250
Reply with quote  #2

1539976250
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
ETFbitcoin
Legendary
*
Online Online

Activity: 1470
Merit: 1193


Use SegWit and enjoy lower fees


View Profile WWW
April 24, 2018, 03:07:53 PM
 #2

Nice trick, i didn't expect it works on encrypted wallet.dat. But some text editor show wallet.dat content on different format (such as Hex) when it can't recognize the format (such as Sublime Text 3). I think it would be great if there's example of finding the address on wallet.dat
Also, does all "default" wallet software use same format?

███           ▄▄▄                          ███
███           ███    ▄█                    ███
███ ▄▄▄▄▄▄          ▄██▄▄▄▄      ▄▄▄▄▄     ███        ▄██▄    ▄▄▄         ▄▄▄
███████████▄  ███ ▐████████  ██▄███████▄   ███       ██████    ███       ███▀
███▀    ▀███▌ ███   ███      ███▀    ▀███  ███      ████████    ███     ███▀
███      ▐██▌ ███   ███      ███      ███  ███     ██▀    ▀██    ███   ███▀
███      ▐██▌ ███   ███      ███      ███  ███    ███      ███    ███ ███▀
███▄    ▄███▌ ███   ███▄     ███▄    ▄███  ███   ████▄    ▄████    █████▀
███████████▀  ███   ▀██████  ███████████▀  ███  ████████████████    ███▀
▀▀▀ ▀▀▀▀▀▀    ▀▀▀     ▀▀▀▀▀  ███ ▀▀▀▀▀▀    ▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀    ███▀
                             ███       ▄▄▄ ▄   ▄  ▄ ▄▄▄          ▄███▀
                             ███      █    █   █  █ █▄▄▀      █████▀
                             ▀▀▀      ▀▄▄▄ █▄▄ ▀▄▄▀ █▄▄█      ▀▀▀















❱❱
❰❰

fabioganga
Full Member
***
Offline Offline

Activity: 448
Merit: 113


Bitcore (BTX) - The future is already here!


View Profile
April 24, 2018, 04:27:48 PM
 #3

I often see people talking about this, asking about how they can know where a certain wallet.dat file belongs to.

Well I have found a small and useful trick that could help. You simply open your wallet.dat file, with any text editor of choice, and use ctrl+f to search for "name"" and if your wallet.dat file had any addresses, you will find them there. Now you just have to look at the format and you'll know. (If they begin with 1, it's BTC, if they begin with L, it's LTC...). Most have very recognizable formats. In the case of doubt, just enter the address in the block explorers you suspect the address belongs to look for any funds. This way you don't have to wait for it to sync to see if your wallet matches the client. And this is the trick I've been using when I found random wallet.dat files.

It is a nice trick indeed. Thanks! However it must be noted that some forks of Bitcoin share the same format. Think of Bitcoin cash, Bitcore, Bitcoin Gold and others. However, your trick will indeed restrict the possibilities and give a definite clue on what coin the wallet belongs to.

onnz423
Hero Member
*****
Offline Offline

Activity: 840
Merit: 508


Make winning bets on sports with Sportsbet.io!


View Profile
April 24, 2018, 08:12:37 PM
 #4

Excellent information, and very useful. Now I know which of my locked wallets is a Litecoin wallet.

Is there some sort of list for all the different coin types?

+1 from me.

   ▄▄██████▄▄
  ████████████
███▄▄
 ██████████████▀▀▀██▄
████████████████   ▀██▄
████████████████     ▀██
██████████████       ██▌
██████████████        ▐██
██▌▀▀██████▀▀         ▐██
▐██                   ██▌
 ██▄                 ▄██
  ▀██▄             ▄██▀
    ▀██▄▄▄     ▄▄▄██▀
      ▀▀█████████▀▀





███████████████████████████
████████▀▀       ▀▀████████
█████▀   ▄ ▀███▀ ▄   ▀█████
████  ▄████▄ ▀ ▄████▄  ████
███  ▄ ▀███▀ ▄ ▀███▀ ▄  ███
██  ▄██ ▀▀ ▄███▄ ▀▀ ██▄  ██
██  █▀ ▄█ ███████ █▄ ▀█  ██
██   ▄███▄ █████ ▄███▄   ██
███  ████▀ ▄▄▄▄▄ ▀████  ███
████  ▀ ▄ ▀█████▀ ▄ ▀  ████
█████▄  ▀▀▄ ███ ▄▀▀  ▄█████
████████▄▄       ▄▄████████
███████████████████████████





█▀▀











█▄▄
▀▀█











▄▄█
█▀▀











█▄▄
▀▀█











▄▄█
Thirdspace
Hero Member
*****
Offline Offline

Activity: 770
Merit: 603


Mixing reinvented for your privacy | chipmixer.com


View Profile
April 24, 2018, 10:57:55 PM
 #5

It is a nice trick indeed. Thanks! However it must be noted that some forks of Bitcoin share the same format. Think of Bitcoin cash, Bitcore, Bitcoin Gold and others. However, your trick will indeed restrict the possibilities and give a definite clue on what coin the wallet belongs to.
Bitcoin cash has changed its address format, correct? take a look at this latest block #527,350 BCH chain
all addresses starts with 'q', no longer with '1'. I believe they changed the address formatting to avoid confusion BTC/BCH
I haven't checked exchanges, whether they also follow the new address format but by standard they should

cellard
Legendary
*
Offline Offline

Activity: 1162
Merit: 1152


View Profile
April 25, 2018, 02:12:16 PM
 #6

Nice trick, i didn't expect it works on encrypted wallet.dat. But some text editor show wallet.dat content on different format (such as Hex) when it can't recognize the format (such as Sublime Text 3). I think it would be great if there's example of finding the address on wallet.dat
Also, does all "default" wallet software use same format?

I found the trick works on wallet.dat that are encrypted too, simply because the part of the address list and the transaction history is unencrypted... this is obvious since anyone can open anyone's wallet.dat with the full client and see their addresses and transaction history. The only thing locked is transacting.

I always wanted the full wallet to be encrypted so in case anyone tries to see your transaction history and addresses they couldn't access it. I don't know why the design decision was to not fully encrypt the thing.

vapourminer
Legendary
*
Offline Offline

Activity: 1893
Merit: 1076


what is this "brake pedal" you speak of?


View Profile
April 28, 2018, 05:22:59 PM
 #7

thanks for posting this.

i have literally hundreds of wallet backups spread through dozens of hard drives. some ltc, some nmc, some btc. all just named "wallet.dat" before i figured i should give them a coin name a part of the name. always dreaded just dropping then into a client and seeing what happens.

this will help big time.
cellard
Legendary
*
Offline Offline

Activity: 1162
Merit: 1152


View Profile
April 29, 2018, 02:57:59 PM
 #8

thanks for posting this.

i have literally hundreds of wallet backups spread through dozens of hard drives. some ltc, some nmc, some btc. all just named "wallet.dat" before i figured i should give them a coin name a part of the name. always dreaded just dropping then into a client and seeing what happens.

this will help big time.

Indeed, it is a pain in the ass when you find a random wallet.dat file somewhere, and you don't know where it belongs, and you start droping the file on a ton of different potential full clients which you remember using back.. it's a mess.

Remember to use a block explorer if an address format is used in various coins, I think other coins also use an L for example, so it may not be Litecoin necessarily, a block explorer will make it clear, at least if it has funds in it.

BillyBobZorton
Legendary
*
Offline Offline

Activity: 1204
Merit: 1019


View Profile
June 11, 2018, 02:30:47 PM
 #9

Just found a massive stack of wallet.dat files from an old hard drive, this was really handful at trying to make sense out of it.
tokexchain
Newbie
*
Offline Offline

Activity: 132
Merit: 0


View Profile
June 14, 2018, 11:43:04 AM
 #10

That is some great info thanks and this will help me with the odd few .dats that are not marked, and I am sure as has been will help others too!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!