aries-framework-didweb-anoncreds
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.7 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i aries-framework-didweb-anoncreds

Weekly Downloads

2

Version

0.0.1-alpha.7

License

ISC

Unpacked Size

28.2 kB

Total Files

18

Last publish

Collaborators

  • genaris