sn-trie-proofs
A comprehensive transaction/receipt inclusion proofs handler for Starknet trie. Tested with various versions including v0.12.3 ~ v 0.13.2. This library exposes various proof building functionalities, verification, trie construction etc.
Installation
Add dependency sn-trie-proofs to your project:
sn-trie-proofs = { git = "https://github.com/HerodotusDev/trie-proofs.git" }
Usage
- Transaction Trie Handler
async
- Transaction Receipt Trie Handler
Currently we only supporting receipt trie after 0.13.2 version.
async
Credit
For trie implementation, this project depends on the sn-merkle-trie, code is mostly from pathfinder's merkle tree implementation.
For transaction and transaction receipt types, using types-rs.
License
sn-trie-proofs is licensed under the GNU General Public License v3.0.
Herodotus Dev Ltd - 2024