Expand description
DID creation (SPEC §3 “Create”).
Minting a DID from a funding coin is three coin spends bundled together (SPEC §3 notes): the
funding coin spend (which creates the launcher and, per Owner, requires the owner’s
signature), the launcher spend (which creates the eve DID), and an owner update/settle
spend that confirms the DID’s metadata so wallets can parse it. All three land in one
DidSpend — dig-did never splits a create across multiple return values.
Every builder here is generic over Owner (§2.4): a Owner::Standard key or a
Owner::Custom pre-built inner spend both work, because the settle step is built from the raw
chia_wallet_sdk::driver::Spend primitive (Did::spend) rather than a typed inner layer.
Functions§
- create_
did - Mints a brand-new DID, fully settled and wallet-parseable, from a funding coin.
- create_
eve_ did_ only - Launches the eve DID WITHOUT the owner-update settle step.
- create_
simple_ did create_didwith the common defaults: no recovery list, a single required verification, and nil metadata. The usual entry point for a DID that does not need a recovery configuration.