Create a DID using the did:cheqd method from ACA-Py Agent
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.
/did/cheqd/create
Additional features to enable for the did.
{}
Additional configuration options
{"key_type":"ed25519","method_specific_id_algo":"uuid","network":"testnet"}
/wallet/did
DID of interest
did:peer:WgWxqztrNooG92RXvxSTWv
^(did:sov:)?[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}$|^did:([a-zA-Z0-9_]+)(:[a-zA-Z0-9_.%-]+)?:([a-zA-Z0-9_.%-]+(:[a-zA-Z0-9_.%-]+)*)((;[a-zA-Z0-9_.:%-]+=[a-zA-Z0-9_.:%-]*)*)(\/[^#?]*)?([?][^#]*)?(\#.*)?$$
Key type to query for.
ed25519
ed25519
, bls12381g2
DID method to query for. e.g. sov to only fetch indy/sov DIDs
key
Whether DID is current public DID, posted to ledger but current public DID, or local to the wallet
wallet_only
public
, posted
, wallet_only
Verification key of interest
H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV
^[123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{43,44}$