MerkleFun
Initial Merkle Tree implementation using the excellent and fast rust-powered ex_keccak library under the hood.
Design
~ coming soon ~
Todo’s
- [x] Make tree
- [x] Make proof
- [ ] Validate proof
- [ ] Pretty Print tree
- [ ] Fast leaf look up
Installation
If available in Hex, the package can be installed
by adding merkle_fun to your list of dependencies in mix.exs:
def deps do
[
{:merkle_fun, "~> 0.1.0"}
]
endThanks
Thanks goes out to Rodger Maarfi (@acrite22) for pairing with me on this.
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/merkle_fun.