1.0.0-beta.7 • Published 7 months ago

@vckit/credential-router v1.0.0-beta.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

credential-router

This plugin is used to route for issuing and verifying verifiable credential that will navigate to the correct plugin based on the proof format of the credential.

Usage

  • Add this declaration to agent.yml config file
# Agent
agent:
  $require: '@veramo/core#Agent'
  $args:
    - schemaValidation: false
      plugins:
        - $require: '@vckit/credential-router#CredentialRouter'
  • And export the functions of the plugin to be used in the application
- routeCreationVerifiableCredential
- routeVerificationCredential