rebase_witness_sdk

Crates.iorebase_witness_sdk
lib.rsrebase_witness_sdk
version0.1.5
sourcesrc
created_at2023-06-20 16:49:33.399262
updated_at2023-10-18 16:30:21.744375
descriptionRebase Witness SDK is a library for witnessing cryptographic attestations and issuing verifiable credentials
homepagehttps://www.spruceid.dev/rebase
repositoryhttps://github.com/spruceid/rebase/
max_upload_size
id895356
size195,041
rebase (github:spruceid:rebase)

documentation

https://www.spruceid.dev/rebase

README

Rebase Witness SDK

This SDK enables creating server-side "Witness" (Verifiable Credential issuing) services over HTTP as well as creating corresponding clients. Because it is developed in Rust, it can by called by many languages through FFIs and can compile to WebAssembly (WASM) for use in the browser (available in this package).

  • A full working example of the witness services can be found here implemented as Cloudflare Worker.
  • A full working example of a UI that utilizes the client has a repo here.
  • An online implementation here, where it points to a live CF worker witness.

This repository combines all of the flows defined in the Core Library into a single WitnessFlow struct found in this file with all flows being optional. A witness service can then configure as many or as few of the flows as they so choose. A good example of usage of this configuration is found in the CF worker project linked above.

Each time a new flow is added, the WitnessFlow and it's Flow<...> definition must be updated in order to make the new flow available to consumers of the library.

To make use of witnesses developed by this library in websites, see Rebase Client for the Typescript+WASM implementation of the client defined here.

Commit count: 104

cargo fmt