Create DID

DID cheqd scheme is supported with the same functionality as the other DID schemes (see Decentralized Identifiers for command-line interface or #decentralised-identifiers for REST API). Creating a did:cheqd will also onboard with the Universal Registrar. The created DID can be checked at https://resolver.cheqd.net/1.0/identifiers/{your-did} or using the Universal Resolver.

did:cheqd requires keys of type Ed25519. They can be either:

  • imported into SSIKit - and further used when creating the did by specifying the kid

  • or created with SSIKit

    • standalone

    • by default when running the did-create command

Using the CLI | Command Line Interface

Detailed instructions on how to build and run the SSI-Kit's CLI.

E.g. create a did:cheqd on testnet and also create the key for it by default

ssikit did create -m cheqd -n testnet

or

ssikit did create -m cheqd --network testnet

Using the REST API

Detailed instructions on how to build and run the SSI-Kit's REST API.

Create a did:cheqd document on the test or main network

POST https://core.ssikit.walt.id/v1/did/create/

Request Body

NameTypeDescription

method*

String

did schema (use cheqd)

network

String

mainnet or testnet

did:cheqd:testnet:dc3a71fb-be38-4145-a80a-dfc67628ab53

Last updated