Serves contexts of example credentials for CHAPI Playground.
Contexts served by this package are to be used with CHAPI Playground and are pulled in from vc-examples.
- Node.js 18+ is required.
To install and start server locally (for development):
$ git clone https://github.com/credential-handler/vc-playground-contexts-server.git
$ cd vc-playground-contexts-server
$ npm install
$ npm start
$ curl -k https://localhost:65443/examples/movie-ticket/v2.json
The contexts
directory of the
vc-examples repo is served
statically from the /examples/
folder. Contexts are consequently available at
URLs similar to http://localhost:65443/examples/alumni/v1.json
Please add or update credential contexts in the contexts
dir in
vc-examples repo.
See the contribute file!
PRs accepted.
If editing the Readme, please conform to the standard-readme specification.
New BSD License (3-clause) © Digital Bazaar