0.0.1-alpha.7 • Published 4 months ago

aries-framework-didweb-anoncreds v0.0.1-alpha.7

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

Aries JavaScript did:web AnonCreds

AnonCreds did:web method registry for aries-framework-javascript.

Based on current draft spec being written in this repo.

Usage

In order to plug-in this into an AFJ Agent instance (from 0.4.0 onwards) you must register DidWebAnonCredsRegistry into the AnonCredsModule configuration:

import { DidWebAnonCredsRegistry } from 'aries-javascript-didweb-anoncreds'

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