---
title: "Dogecoin"
description: "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."
canonical_url: "https://chains.agntn.dev/chains/dogecoin"
---
# 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.

<chain-facts chain="dogecoin">



</chain-facts>

## 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](https://chains.agntn.dev/chains/pepecoin)'s script version, because Pepecoin forked Dogecoin and kept it. The same 25 bytes are an address on both chains, and [identify](https://chains.agntn.dev/guide/identify) names both for a `9…` or `A…` instead of guessing. A `D…` address is Dogecoin's alone.

```ts
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`.


## Sitemap

See the full [sitemap](https://chains.agntn.dev/sitemap.md) for all pages.
