/** * base58btc encoding (Bitcoin alphabet) — a pure, chain-agnostic codec. * * This is NOT a Solana primitive: base58btc is the shared encoding used by * Bitcoin, IPFS (CIDv0), Solana addresses, and others. It lives in * `@motebit/protocol` as a sibling to the money converters (`toMicro` / * `fromMicro`) — pure deterministic byte math, no I/O, no chain awareness. * * The motebit use today: a Solana address is `base58Encode(ed25519_pubkey)` — * the sovereign rail's "identity key = address" property. That chain-specific * knowledge ("Solana address = base58 of the 32-byte pubkey") stays at the call * site; this module only knows bytes → base58 string. */ /** * Encode bytes as a base58btc string. Leading zero bytes map to leading `1`s * (base58btc convention), so the encoding is length-preserving for zero * prefixes — the property addresses and CIDs depend on. */ export declare function base58Encode(bytes: Uint8Array): string; //# sourceMappingURL=base58.d.ts.map