Create Issuer DID
Create an issuer Decentralized Identifier (DID) with the did:cheqd DID method using cheqd Studio.
Last updated
Was this helpful?
Create an issuer Decentralized Identifier (DID) with the did:cheqd DID method using cheqd Studio.
Last updated
Was this helpful?
To create a cheqd DID (did:cheqd
) and associated DID Document there are two ways of building the payload for the request:
Make sure you have set up your account with cheqd Studio and are logged in, using our guide below:
Using the /did/create
API, users have two options for creating a did:cheqd
DID and associated DID Document on-ledger:
Filling out a simple form using the application/x-www-url-form-encoded
or application/json
option within an API client of your choice.
Compiling a full DID Document body yourself using the application/json
option, using already created identity keys, within an API client of your choice.
This is the easiest way to create DIDs on cheqd and is recommended for users who are not overly familiar with compiling DID Documents.
Using the application/x-www-url-form-encoded
option, users are able to choose between the following variables to compile your DID:
From this request, cheqd Studio will automatically create and publish a DID and associated DID Document to the ledger and return it as a response.
Alternatively, you can use the application/json
option and pass only a few specific inputs, for example:
Or, if you have created a keypair already that you want to use, you can reference that in the request:
Within the /did/create
JSON payload, paste the response of your DID Document template, with your own signing keys.
Request format:
Hit execute on the API below to create your did:cheqd
DID and associated DID Document.
After creating a DID or multiple DIDs, users can list all the created DIDs associated with their account. Using the /did/list
API.
Below are a list of alternatives for creating cheqd DIDs.
Instead of generating a DID Document using simple parameters, you can create a fully formatted DID Document yourself. Before, submitting a manually created DID, you will need to have to input the key material into the DID document.
Use the to generate a new keypair within the Credential Service key management store. Copy the "publicKeyHex".
To simplify this process of formatting a DID Document using your own keys, we've created a . Simply paste in your publicKeyHex and choose the variables to compile your DID Document template.
Set Up Your Account
Set up your account with cheqd Studio and get your API key to start using the APIs.
This endpoint returns the list of DIDs controlled by the account.
This endpoint creates a DID and associated DID Document. As input, it can take the DID Document parameters via a form, or the fully-assembled DID Document itself.
Network to create the DID on (testnet or mainnet)
Algorithm to use for generating the method-specific ID. The two styles supported are UUIDs and Indy-style Base58. See cheqd DID method documentation for more details.
Type of verification method to use for the DID. See DID Core specification for more details. Only the types listed below are supported.
The unique identifier in hexadecimal public key format used in the verification method to create the DID.
["https://www.w3.org/ns/did/v1"]
Simple setup for building cheqd DIDs into existing applications using REST APIs, building into the .