Chains

Stellar

SEP-23 Strkeys for classic accounts, muxed accounts and contracts, with canonical base32 and the CRC16-XModem checksum verified.
create
create("stellar")
family
Stellar · stellar
symbol
XLM · 7 decimals
bip44
148
caip2
stellar:pubnet
explorer
stellar.expert/explorer/public

Address format

SEP-23 Strkeys, three kinds: G… for a classic account (35 decoded bytes), M… for a muxed account (43 bytes) and C… for a contract (35 bytes). The base32 has to be canonical, no padding and no stray trailing bits, the version byte has to match the letter, and the CRC16-XModem checksum at the end is verified. One character off fails.

A secret seed starts with S and isn't an address. It's rejected here, which is the right answer for something that should never have been pasted into an address field.

import { getChain } from "@agntn/chains";

const chain = getChain("xlm");
chain.assertAddress("GA7QYNF7SOWQ3GLR2BGMZEHXAVIRZA4KVWLTJJFC7MGXUA74P7UJVSGZ"); // returned unchanged
chain.type; // "stellar"
chain.caip2; // "stellar:pubnet"

Spellings

stellar, xlm, Stellar. The key is stellar, the rest resolve through getChain.

@agntn/chains·MIT license· A format check, not proof an address exists. Nothing on this site talks to a chain.