Build a create tx whose output declares an imported did:plc identifier in
its localId field. Equivalent to calling createDidCkb with
data.value.localId = sourceDid; provided as a named helper for symmetry
with the other DID operations and so did:plc: migrations have an
obvious entry point.
The caller is responsible for: completing inputs + fee, building the
migration witness with buildMigrationWitness, and setting it at the
witness slot of input 0. See packages/examples/src/migrateDid.ts for the
full flow.
Build a create tx whose output declares an imported did:plc identifier in its
localIdfield. Equivalent to callingcreateDidCkbwithdata.value.localId = sourceDid; provided as a named helper for symmetry with the other DID operations and sodid:plc:migrations have an obvious entry point.The caller is responsible for: completing inputs + fee, building the migration witness with
buildMigrationWitness, and setting it at the witness slot of input 0. Seepackages/examples/src/migrateDid.tsfor the full flow.