Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
noandrea committed Sep 18, 2022
1 parent 64df990 commit d88c339
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ <h4 id="result"></h4>
</div>
<div class="row">
<div class="col col-sm-6">
<h5>Revocation List Credential</h5>
<textarea id="revocation_list" style="min-height: 80vh">

{"@context": [
Expand All @@ -43,6 +44,7 @@ <h4 id="result"></h4>
</textarea>
</div>
<div class="col col-sm-6">
<h5>Generic Credential</h5>
<div class="form-control">
<textarea id="credential" style="min-height: 80vh">
{
Expand Down

0 comments on commit d88c339

Please sign in to comment.