0.0.1-alpha.12 • Published 10 days ago

credo-ts-didweb-anoncreds v0.0.1-alpha.12

Weekly downloads
-
License
ISC
Repository
github
Last release
10 days ago

Credo did:web AnonCreds

AnonCreds did:web method registry for Credo.

Based on current draft spec being written in this repo.

Usage

In order to plug-in this into an Credo Agent instance you must register DidWebAnonCredsRegistry into the AnonCredsModule configuration:

import { DidWebAnonCredsRegistry } from 'credo-ts-didweb-anoncreds'

const agent = new Agent({
  config: {
    /* agent config */
  },
  dependencies,
  modules: {
    /* ... */
    anoncreds: new AnonCredsModule({ registries: [
        /* ... */
      new DidWebAnonCredsRegistry()
    ] }),
})