Pepecoin
- create
- create("pepecoin")
- family
- UTXO · utxo
- symbol
- PEP · 8 decimals
- bip44
- 3434
- caip2
- bip122:37981c0c48b8d48965376c8a42ece9a0
- explorer
- peppool.space
Address format
Base58Check only. P… is version 0x38, 9… and A… are 0x16, 25 bytes either way, checksum unchecked. There's no Bech32 branch: the fork inherited Dogecoin's SegWit deployment, which timed out, so there's nothing to check. 0x16 is Dogecoin's script version too, and it stays because Pepecoin has no other one.
This is the native PEP coin with eight decimals. An ERC-20 token called PEPE on Ethereum is a different thing with a different address format, and this class doesn't describe it.
import { getChain } from "@agntn/chains";
const chain = getChain("pep");
chain.assertAddress("PdGZ1aBYkDy6sJhPSxtjPnNGb6h8AwKxJ9"); // returned unchanged
chain.type; // "utxo"
chain.caip2; // "bip122:37981c0c48b8d48965376c8a42ece9a0"
Spellings
pepecoin, pep, Pepecoin. The key is pepecoin, the rest resolve through getChain.
Litecoin
Bitcoin's rules under Litecoin's versions and the ltc prefix. The deprecated 3… script form is left out because its bytes are a Bitcoin address, byte for byte.
eCash
CashAddr with the checksum verified under the ecash prefix, written or not. Two decimals, which is the fact most likely to bite.