This repository contains a tiny, universal client for interacting with TBD's SSI Service.
Since this client is still in early stages, we haven't yet published to npm. Until then, we suggest using npm link
to use this in your own project. Steps:
# clone this repo somewhere
git clone https://github.com/wrk-corp/ssi-js.git
# install deps
npm install
# transpile typescript and build bundles
npm run build
# cd into your project dir
cd /path/to/your/project
# first creates a global link, and then links the global installation target into your project's node_modules folder.
npm link ../path/to/where/you/cloned/ssi-js
# profit
Import ssi-js
module in your project and initialize it with the url to the SSI service, it defaults to https://localhost:8080.
import SSI from 'ssi-js'
const SSIClient = new SSI()
SSIClient.getHealth().then((data) => {
console.log(data)
})
SSIClient.getReadiness().then((data) => {
console.log(data)
})
- DID Management
- Using did:key
- Verifiable Credential Schema Management
- Verifiable Credential Issuance & Verification
- Requesting, Receiving, and the Validation of Verifiable Claims using Presentation Exchange
- Applying for Verifiable Credentials using Credential Manifest
- Revocations of Verifiable Credentials using the Status List 2021
- Decentralized Web Node Messaging