This repository holds:
- The pdtf interop profile, which participants of the PDTF must implement.
- The trust framework described as a trust model, which is built into a Trust Establishment Document using TrustBench
The trust framework is expressed as a model built using the TrustBench cli, which requires node and npm. Once built we get a directory of files, most importantly a Trust Establishment document, that can be hosted on a webserver. The published framework is available here.
TrustBench lets us build the trust framework for different environments, which means we can have a live environment, various test environments and local dev environments etc. Currently, we just have one live preview environment.
You can install trustbench globally with
npm install -g trustbench
Then you can just use trustbench
instead of npx trustbench
in the commands below (might need to restart your terminal).
The live environment is committed in this repo, but can only be built if you have the right secret key. In which case you can do.
npx trustbench build --secret=<SECRET>
If you want to build you own environment for local dev you can do:
npx trustbench init local --template environment.json
Then you can change the url in the generated local.environment.json
to match your local setup. Then run:
npx trustbench build local
This will put the built trust framework files into ./dist/local
You can replace local
with whatever you want to call your environment.
Right now this is just a preview, so just contact a maintainer or make a github issue in this repo and provide your did. And we'll add you as a member.