blockkeeper / blockkeeper-frontend-web

blockkeeper.io - Your blockchain book keeping app
GNU General Public License v3.0
25 stars 12 forks source link

Add testnet support (maybe in dev mode) #39

Open stepansnigirev opened 6 years ago

stepansnigirev commented 6 years ago

It would be nice to use Blockkeeper also on testnet. It should be just an additional coin with exactly the same logic as in Bitcoin, just with different prefixes.

For master public keys prefixes are: Bitcoin Testnet 0x043587cf - tpub... for P2PKH or P2SH Bitcoin Testnet 0x044a5262 - upub... for P2WPKH in P2SH Bitcoin Testnet 0x045f1cf6 - vpub... for P2WPKH Bitcoin Testnet 0x02575483 - Vpub... for P2WSH

For individual addresses prefixes are 0x6f for p2pkh addresses (instead of 0x00) and 0xc4 for p2sh (instead of 0x05).

For native segwit addresses (bech32 encoding) the human-readable part is changed from bc1 to tb1