Expand description
The did:chia:1… string codec (SPEC §2.3 & §9).
A DID’s canonical string form is did:chia: followed by the bech32m encoding of its
launcher_id. This codec delegates to chia-sdk-utils’ Address — the same codec
dig-identity and chip35 use — so a did:chia: string byte-agrees across the ecosystem
(INV-4, SPEC §9). It never hand-rolls bech32m.
Constants§
- DID_
CHIA_ PREFIX - The bech32m human-readable prefix of a v1 Chia DID (
did:chia:1...).
Functions§
- did_
string_ from_ launcher_ id - Encodes a DID singleton’s launcher id as its canonical
did:chia:1…string. - launcher_
id_ from_ did_ string - Decodes a
did:chia:1…string back to the DID singleton’s launcher id.