Setup ACA-Py Agent

Pre-requisites

Before you begin, ensure you have a DID registrar and resolver running.

  • For testnet, you can use the cheqd DID registrar and resolver.

  • For mainnet, you can run your own cheqd DID registrar with the correct mnemonic configuration. For details check here.

Configuration

  • The DID Registrar and the DID Resolver URL can be passed via a plugin-config.yml.

  • The plugin works only with askar-anoncreds wallet type.

  • Using a Postgres DB as wallet storage type is also recommended.

Build the Agent and deploy

Build the ACA-Py Agent docker image with the plugin, and then deploy on your choice of infrastructure.

Example Dockerfile:

FROM ghcr.io/openwallet-foundation/acapy:py3.12-1.1.0

USER root

# install plugins as binaries
RUN pip install git+https://github.com/openwallet-foundation/acapy-plugins@main#subdirectory=cheqd

USER $user
COPY ./configs configs

ENTRYPOINT ["aca-py"]

Sample configs are available here.

Next steps

Now that your ACA-Py agent is successfully set up to work with cheqd, try following our tutorials for creating a new DID or issuing Verifiable Credentials.

Last updated