13 unstable releases (3 breaking)
Uses new Rust 2024
| 0.3.0 | Jul 22, 2025 |
|---|---|
| 0.2.0 | Mar 21, 2025 |
| 0.1.3 | Mar 10, 2025 |
| 0.1.1 | Dec 4, 2024 |
| 0.0.2 | Jun 22, 2024 |
#5 in #mpt
712 downloads per month
Used in 4 crates
(3 directly)
67KB
1K
SLoC
kona-mpt
A recursive, in-memory implementation of Ethereum's hexary Merkle Patricia Trie (MPT), supporting:
- Retrieval
- Insertion
- Deletion
- Root Computation
- Trie Node RLP Encoding
This implementation is intended to serve as a backend for a stateless executor of Ethereum blocks, like
the one in the kona-executor crate. Starting with a trie root, the TrieNode can be
unravelled to access, insert, or delete values. These operations are all backed by the TrieProvider,
which enables fetching the preimages of hashed trie nodes.
Dependencies
~31MB
~526K SLoC