Post
Topic
Board Development & Technical Discussion
Re: Extracting currency names from wallets or using RPC
by
fbueller
on 22/05/2014, 14:08:02 UTC
Seemingly everyone here has forgotten about the version byte used in addresses!

Create a new address over RPC, decode the base58 into hex, and the first byte will indicate what network you are on. https://en.bitcoin.it/wiki/List_of_address_prefixes If the item isn't on this list, just follow this procedure with your whatevercoin, and you'll get the address byte.