Chains
Dogecoin
Base58Check under 0x1e and 0x16, 25 bytes, no Bech32. The script version is the one Pepecoin kept, so a 9 or A address fits both chains.
- create
- create("dogecoin")
- family
- UTXO · utxo
- symbol
- DOGE · 8 decimals
- bip44
- 3
- caip2
- bip122:1a91e3dace36e2be3bf030a65679fe82
- explorer
- blockchair.com/dogecoin
Address format
Base58Check only. D… is version 0x1e, 9… and A… are 0x16, 25 bytes either way with the checksum verified. There's no Bech32 branch: SegWit sits in the node's deployment table with its timeout set to zero, so it never switched on and no witness address exists to check.
0x16 is also Pepecoin's script version, because Pepecoin forked Dogecoin and kept it. The same 25 bytes are an address on both chains, and identify names both for a 9… or A… instead of guessing. A D… address is Dogecoin's alone.
import { getChain } from "@agntn/chains";
const chain = getChain("doge");
chain.assertAddress("DH5yaieqoZN36fDVciNyRueRGvGLR3mr7L"); // returned unchanged
chain.bip44; // 3
chain.caip2; // "bip122:1a91e3dace36e2be3bf030a65679fe82"
Spellings
dogecoin, doge, Dogecoin. The key is dogecoin, the rest resolve through getChain.