Update README

This commit is contained in:
Miguel Mota 2022-11-30 21:24:24 -08:00
parent 39adf71980
commit e6f8c50fbf
No known key found for this signature in database
GPG Key ID: 67EC1161588A00F9
2 changed files with 4 additions and 2 deletions

View File

@ -47,6 +47,8 @@ Available on [jsDelivr](https://www.jsdelivr.com/) CDN:
<script src="https://cdn.jsdelivr.net/npm/merkletreejs@latest/merkletree.js"></script>
```
The exported classes will be available on `window` object, e.g. `window.MerkleTree`
## Example
[https://lab.miguelmota.com/merkletreejs](https://lab.miguelmota.com/merkletreejs)

View File

@ -102,11 +102,11 @@ Output:
▾ Visualization of Merkle Tree Proof
<img src="https://user-images.githubusercontent.com/168240/43616387-27ec860a-9671-11e8-9f3f-0b871a6581a6.png" alt="Merkle Tree Proof" width="420">
<img src="https://user-images.githubusercontent.com/168240/204968384-dbd16f5b-415c-4cc6-b993-5bbd7599ec8b.png" alt="Merkle Tree Proof" width="420">
▾ Visualization of Invalid Merkle Tree Proofs
<img src="https://user-images.githubusercontent.com/168240/43616398-33e20584-9671-11e8-9f62-9f48ce412898.png" alt="Merkle Tree Proof" width="420">
<img src="https://user-images.githubusercontent.com/168240/204968414-fefedb52-d27f-4b14-bf70-e3f96a50b6a3.png" alt="Merkle Tree Proof" width="420">
▾ Visualization of Bitcoin Merkle Tree