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.
/wallet/did
DID of interest
{"value":"did:peer:WgWxqztrNooG92RXvxSTWv"}
Key type to query for.
{"value":"ed25519"}
DID method to query for. e.g. sov to only fetch indy/sov DIDs
{"value":"key"}
Whether DID is current public DID, posted to ledger but current public DID, or local to the wallet
{"value":"wallet_only"}
Verification key of interest
{"value":"H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"}