baseline
baseline copied to clipboard
SRI Zero-Knowledge Component: Off-chain Merkle Tree
Overview
Implement an off-chain Merkle Tree class to convert state documents into a Merkle Tree and return the root.
Reference
- Documentation
- This implementation uses the precise-proof library to allow complex documents to be converted into a Merkle Tree.
Assumptions
- Documents to be converted into Merkle Tree store data in a key-value format
Acceptance
- Return a Merkle Tree Root
Tasks
- [x] Calculate Merkle Tree taking document key-value pair as leaves (input)
- [x] Return the root of the Merkle Tree