#verifiable-credentials #identity #credentials #cloudflare-workers #cryptography #http-client

rebase_witness_sdk

Rebase Witness SDK is a library for witnessing cryptographic attestations and issuing verifiable credentials

6 releases

0.1.5 Oct 18, 2023
0.1.4 Oct 4, 2023
0.1.2 Sep 13, 2023
0.1.1 Jun 20, 2023

#10 in #verifiable-credentials


Used in 2 crates

Apache-2.0 OR MIT and Apache-2.0…

365KB
9K SLoC

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.

Dependencies

~43–61MB
~1M SLoC