Create a DID
Create a DID using the did:cheqd method from ACA-Py Agent
Last updated
Was this helpful?
Create a DID using the did:cheqd method from ACA-Py Agent
Last updated
Was this helpful?
Follow these instructions to create a new DID from ACA-Py Agent and publish the associated DID Document on cheqd ledger.
⚠️ Before you begin...
Make sure you've correctly configured the cheqd plugin's agent settings for ACA-Py.
For wallet storage, utilise a Postgres database to ensure key persistence, enabling future updates to the DID.
Populate the various options
and features
in the JSON request body and call the API to create the DID.
These are the variables that can be passed in the Body:
After creating a DID or multiple DIDs, users can list all the created DIDs associated with their wallet. Using the /wallet/did
API.
Additional features to enable for the did.
"{}"
Additional configuration options
{"key_type":"ed25519","method_specific_id_algo":"uuid","network":"testnet"}
DID created
"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86"
The published didState
{"did":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","didDocument":{"authentication":["did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1"],"controller":["did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86"],"id":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","verificationMethod":[{"id":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1","type":"Ed25519VerificationKey2020","controller":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86","publicKeyMultibase":"z6Mk..."}]},"secret":{"signingResponse":[{"kid":"did:cheqd:testnet:099be283-4302-40cc-9850-22016bcd1d86#key-1","signature":"SHFz..."}]},"state":"finished"}
Flag to denote if the operation was successful
true
Verification key
"BnSWTUQmdYCewSGFrRUhT6LmKdcCcSzRGqWXMPnEP168"
DID list