Sparse Merkle Patricia Trie implementation for Ethereum, extracted and adapted from zeth for integration with Reth's StatelessTrie trait.
This repository provides a sparse MPT implementation optimized for zero-knowledge virtual machines (zkVMs) and stateless Ethereum validation. The core code originates from zeth and has been adapted to implement the StatelessTrie trait.
| Crate | Directory | Description |
|---|---|---|
zeth-mpt |
crates/zeth-mpt |
Production sparse MPT (no_std), extracted from zeth |
zeth-mpt-state |
crates/zeth-mpt-state |
StatelessTrie impl over zeth-mpt (no_std) |
ref-mpt |
crates/ref-mpt |
Reference simple MPT (no_std) |
ref-mpt-state |
crates/ref-mpt-state |
StatelessTrie impl over ref-mpt (no_std) |
Full credits of the MPT implementation to zeth authors and collaborators.
This project is licensed under the MIT License - see the LICENSE file for details.