Try   HackMD

Implementing a New AnonCreds Registry in ACA-PY

The short form:

  • Implement BaseAnonCredsResolver
  • Implement BaseAnonCredsRegistrar
  • Found Here

Models for the API are defined here

Events (for automatic revocation list registration):

  • When the object is finalized, call finish_* on AnonCredsIssuer
    • e.g. AnonCredsIssuer.finish_schema, AnonCredsIssuer.finish_cred_def, etc.
  • Calling finish_* will trigger the next step in the revocation artifact setup
  • Automatic setup occurs here

As a plugin:

https://github.com/hyperledger/aries-cloudagent-python/blob/main/aries_cloudagent/anoncreds/init.py

Example:

https://github.com/hyperledger/aries-cloudagent-python/blob/main/aries_cloudagent/anoncreds/default/legacy_indy/registry.py