Skip to content

DID Operations

Creating a DID

  1. Request Parameters:

    GET /?namespace=example&alias=my-did
    

  2. Response includes:

  3. parameters: Policy-driven configuration
  4. state.id: Placeholder DID identifier
  5. proof: Proof options

  6. Create Log Entry:

  7. Build a log entry matching the returned parameters
  8. Sign it with your controller key
  9. Get witness signatures if required

  10. Submit Log Entry:

    POST /example/my-did
    {
      "logEntry": { ... },
      "witnessSignature": { ... }
    }
    

Updating a DID

Submit a new log entry to the same endpoint:

POST /example/my-did
{
  "logEntry": { ... },
  "witnessSignature": { ... }
}

Resolving a DID

  • Current State: GET /example/my-did/did.json
  • History: GET /example/my-did/did.jsonl
  • Witness Proofs: GET /example/my-did/did-witness.json