Merklicious
A set of Zomes (WASMs used in Holochain DNAs) for implementing Merkle Trees.
Overview
This project provides the tools for implementing the Merkle tree proof/verify cycle.
Usage
Implementing Merklicious in a DNA will require that
- The DNA include the
merklicious.wasm
integrity zome and themerklicious_csr.wasm
coordinator
Add WASMs to your DNA config
manifest_version: "1"
name: your_dna
integrity:
origin_time: 2023-01-01T00:00:00.000000Z
network-seed: ~
properties: ~
zomes:
- name: your_zome
bundled: your_zome.wasm
+ - name: merklicious
+ bundled: merklicious.wasm
coordinator:
zomes:
- name: your_main_csr
bundled: your_main_csr.wasm
dependencies:
- name: your_zome
+ - name: merklicious_csr
+ bundled: merklicious_csr.wasm
+ dependencies:
+ - name: merklicious
Real examples in tests
hc_merklicious_sdk
to Cargo.toml
Add [dependencies]
+ hc_merklicious_sdk = "0.1"
Use Cases
API Reference
See docs/API.md
Contributing
See CONTRIBUTING.md