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.
Creation requires Owner::Standard (§2.4). Owner::Custom is REFUSED with
crate::DidError::UnsupportedOwner: both spends in a create emit conditions that are only
computable inside this call, and a pre-built inner spend cannot carry them. See the
# Owner::Custom section on create_did for the three independent reasons.
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.