How can I identify the coin type from its address?

3

I know Bitcoin addresses start with 1, and it seems that testnet addresses start with m or n, and Namecoin addresses start with N, but is there a more complete list that would allow me to identify the coin type from an address? I hope this isn't offtopic, asking about other block chains.

I specifically want to know what these addresses are for (they're embedded in the executable linked to in this question):

3Q9yidc7Sqwj4fkFmomzC4fqyFzNGTA21x
3Nw1sp46VjHyVDDAaQhDHZSX4xvoqNzrBs
3NjPgjfMAAbamPE5PcgvXHSkCzq4kqijpH

but a complete list associating address prefixes with coin types would be more useful.

Chris Moore

Posted 2012-02-18T08:44:33.620

Reputation: 13 952

According to the last paragraph in https://en.bitcoin.it/wiki/BIP_0013#Rationale it looks like these are Bitcoin addresses, valid under BIP 13. Is it possible this in-the-wild malware is ready for P2SH before the official client is?

Chris Moore 2012-02-18T10:27:19.880

Alternative blockchain-based currencies are on-topic, see http://meta.bitcoin.stackexchange.com/questions/15/are-questions-about-other-crypto-currencies-on-topic .

Meni Rosenfeld 2012-02-18T16:29:37.033

Answers

3

There is a list here, and a more detailed one here. 3 is indeed for a Bitcoin script hash.

Meni Rosenfeld

Posted 2012-02-18T08:44:33.620

Reputation: 18 542

I looked at http://blockexplorer.com/testnet/block/00000000f2094d5227b836ef4c7ea23f9a3f248e7eb6ac487a49c54ced55e531 to see some example testnet addresses. They start with 'm' and 'n' there... I'm guessing the wiki page is wrong.

Chris Moore 2012-02-18T22:21:16.157

I was hoping for a more complete list - there are all kinds of altchains (solidcoin, litecoin, tenebrix, ixcoin, geistgeld (?), etc.), none of which I care about, but it would be useful to have a definitive list that would let me know what kind of an address I was looking at.Chris Moore 2012-02-18T22:22:40.057

The wiki page was changed in this revision: https://en.bitcoin.it/w/index.php?title=Base58Check_encoding&diff=20952&oldid=20486 - the same change which makes the page say things like "Bitcoin addresses always start with the digit '3'".

Chris Moore 2012-02-19T01:41:02.867

1

Sounds like the kind of edit Luke would make. I created a more complete list at https://en.bitcoin.it/wiki/List_of_address_prefixes , but it still requires some work.

Meni Rosenfeld 2012-02-19T06:36:02.750

Thanks Meni. I worked on your page a bit, filling in all the missing values. There are probably more altchains that need adding though.Chris Moore 2012-02-20T02:55:03.950

1@ChrisMoore Great work.Meni Rosenfeld 2012-02-20T09:10:27.887