Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 695 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 695 Bytes

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()
    ] }),
})