Skip to content

A set of Zomes (WASMs used in Holochain DNAs) for implementing Merkle Trees

Notifications You must be signed in to change notification settings

mjbrisebois/hc-merklicious

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 the merklicious_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

Add hc_merklicious_sdk to Cargo.toml

  [dependencies]
+ hc_merklicious_sdk = "0.1"

Use Cases

See docs/Use_Cases.md

API Reference

See docs/API.md

Contributing

See CONTRIBUTING.md

About

A set of Zomes (WASMs used in Holochain DNAs) for implementing Merkle Trees

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published