1.0.0-beta.7 • Published 7 months ago
@vckit/vc-api v1.0.0-beta.7
vc-api agent router
- This agent router conform to vc-api standard that to achieve interoperability's goal between various parties.
Usage
- This plugin follow the
veramo
architecture , so you can configure it withagent.yml
# API base path
- - /issuer
- $require: '@vckit/vc-api-issuer?t=function#AgentRouter'
$args:
- createCredential: createVerifiableCredential
updateCredentialStatus: updateVerifiableCredentialStatus
Test with test-suite
- Clone the test suite: https://github.com/w3c-ccg/vc-api-issuer-test-suite
- Go to
node_modules/vc-api-test-suite-implementations/implementations
, create files except the index file - Create new implementation file:
{
"name": "GoSource",
"implementation": "GoSource Verifiable Credentials",
"issuers": [{
"id": "YOUR_DID_MANAGED_BY_YOUR_KMS",
"endpoint": "http://localhost:3332/agent/credentials/issue",
"options": {
"type": "Ed25519Signature2020"
},
"tags": ["vc-api", "Ed25519Signature2020"]
}]
}
- Run the test command
npm run test
1.0.0-next.99
7 months ago
1.0.0-next.98
7 months ago
1.0.0-next.96
7 months ago
1.0.0-next.164
7 months ago
1.0.0-beta.6
7 months ago
1.0.0-beta.7
7 months ago
1.0.0-next.60
11 months ago
1.0.0-next.59
11 months ago
1.0.0-next.58
11 months ago
1.0.0-next.55
11 months ago
1.0.0-next.54
11 months ago
1.0.0-next.57
11 months ago
1.0.0-next.56
11 months ago
1.0.0-beta.5
11 months ago