From d88c339e634d21cb5a86f4d0612a2966f59ee6ac Mon Sep 17 00:00:00 2001 From: Andrea Giacobino Date: Sun, 18 Sep 2022 11:07:19 +0200 Subject: [PATCH] docs: update readme --- README.md | 28 ++++++++++++++++++++++++++++ index.html | 2 ++ 2 files changed, 30 insertions(+) diff --git a/README.md b/README.md index 4c06bf2..01bac30 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,32 @@ This library provides the implementation for the `RevocationList2020` proposal d +## Demo + +The following demo uses the wasm library on a web page. + +[![Demo](https://img.youtube.com/vi/XVyVVuNdWsE/0.jpg)](https://www.youtube.com/watch?v=XVyVVuNdWsE) + + + +## Usage/Examples + +The following example shows how to use the library with Rust. + +https://github.com/noandrea/rl2020.rs/blob/64df990b8a9ac6213fb9459929e990bcb3bbc4fa/examples/main.rs#L41-L81 + +To run the example locally use the command: + +```sh +cargo run --example main +``` + + +## Running Tests + +To run tests, run the following command + +```bash + cargo test +``` diff --git a/index.html b/index.html index c68ffa1..732dc68 100644 --- a/index.html +++ b/index.html @@ -23,6 +23,7 @@

+
Revocation List Credential
+
Generic Credential