Basic example of how to create, delegate and invoke an authorization capability using DIDKit in node.
Note: I used Node v14.18.1
- Clone repo
- Install dependencies:
npm install
(from project folder) - Run code:
node index.js
@spruceid/didkit-wasm-node
is an npm package that provides bindings to functions exposed by the rust library DIDKit- The Rust code that this library calls can be found here
- Authorization Capabilities are defined in this W3C Draft Community Report from the Credentials Community Group