A few years ago I mined a couple of alt-coins. Now I have approximately 5 wallets which are named in non-suggestive way: wallet_01.dat, wallet_02.dat, ..., wallet_05.dat. Each of them has reasonable amount of coins, also I have no idea how much exactly and what coin correspond to each wallet. Now I would like to restore some order by checking what do I have and how much.

Is there a way for me to figure this out? I do not remember exactly what these alt-coins are but have approximate ideas (probably can try to remember and select 30 potential candidates).

With this, I clearly can try each of the alt-coin client, wait for sync (may be do not even need this) and try to open each of the wallet. This will be very slow and because I am not 100% sure I will be lucky with my 30 crypto-coin guesses might take even longer.

So, is there a way to find a corresponding alt-coin for a wallet. Even maybe finding how much coins are in the wallet without downloading the client?

3 Answers 3


I think you can narrow your search space. If you're on linux, and you run the command

strings wallet.dat | grep purpose | less

you should get a list of all of the addresses in the wallet, even if the wallet is encrypted. You can check that against a list of address prefixes for each altcoin.

If you run

strings wallet.dat | grep tx | less

you should get a line for every transaction that wallet has sent or received. (This only catches transactions that were present the last time the wallet was open. If someone sent you a billion cryptobucks ten minutes after you logged out, this will not catch that.)

  • Thank you for looking into my question. When I run strings wallet.dat | grep purpose I get no output at all. The same for strings wallet.dat | grep tx. Commented Jul 26, 2017 at 6:42
  • @wallet-hoarder Can you try name or ckey or key ? Does strings wallet.dat print anything at all?
    – Nick ODell
    Commented Jul 26, 2017 at 17:50
  • strings wallet.dat returns many many strings, | grep names returns something like name"IdOs4Users... (changed because I do not know whether it is important). For some wallets it has a bunch of such names. ckey returns nothing. key returns many lines, majority look like key! Commented Jul 27, 2017 at 5:01
  • @wallet-hoarder That's a good sign. Part after name is an address. Also, if key shows up, but not ckey, then the wallet is not encrypted.
    – Nick ODell
    Commented Jul 27, 2017 at 5:07
  • It is highly likely that the wallets are not encrypted because they were in a truecrypt container. Thanks to you I found that the first character in the name can tell me the currency. In one of the wallets the first character is Q. I found this database for altcoin prefixes. The integer value of Q is 81, and it tells me that it is PotCoin (I am very sure I have never mined this). Q also suggest quarkcoin which I remember mining. Do you know how to find the currency from this character? Commented Jul 27, 2017 at 5:22

Just open each file and look for name"

the address will be after that.

  • Hi weff, welcome to Bitcoin.Stackexchange.com. You seem to have an idea how to help the asker. Could you please further explain how knowing the address would help the asker to determine which altcoin the wallet belongs to?
    – Murch
    Commented Jul 26, 2017 at 16:49
  • And what should I do with this address? Commented Jul 27, 2017 at 5:03

Open in a hex editor search for name, might say team doge or some other thing that will be simple and if you are not on linux getting python and a few plugins working just to figure out what coin is the wallet.dat is a pain. Although if you need to extract a key or try to fix it you will want python and some other tools.

There is a hex editor plugin for notepad++ if you are trying to find one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.