merkrs
A Rust implementation of Merkle tree library, compatible with OpenZeppelin's JavaScript implementation.
Features
StandardMerkleTree: For structured data with ABI encoding (Solidity compatible)SimpleMerkleTree: For simple bytes32 values- Full proof generation and verification
- Multi-proof support
- Serialization/deserialization with serde
- Keccak256 hashing (Ethereum compatible)
Example
use ;
let values: = vec!;
let tree = of.unwrap;
let proof = tree.get_proof.unwrap;
assert!;