Credential OpenAttestation Plugin
info
Please note that this content is under development and is not ready for implementation. This status message will be updated as content development progresses.
- This plugin is used for issuing and verifying verifiable credential that adhere to OpenAttestation framework
Usage
- Add the plugin to your
agent.yml
file
///... other declarations
# Agent
agent:
$require: '@veramo/core#Agent'
$args:
- schemaValidation: false
plugins:
/// ... other declarations
- $require: '@vckit/credential-oa#CredentialOA'
- And export the functions of the plugin to be used in the application
- createVerifiableCredentialOA
- verifyCredentialOA
- Use the CLI to quickly issue a credential
pnpm vckit credentialOA create
Note: The credential OA plugin only supports issuing by DID ethr. You can use the
@veramo/did-manager
plugin that should be configured in theagent.yml
file to create a DID ethr.