{"repo":"HerodotusDev/trie-proofs","free":true,"listed":false,"github":"https://github.com/HerodotusDev/trie-proofs","clone":"git clone https://github.com/HerodotusDev/trie-proofs.git","description":"A comprehensive transaction MPT proofs handler for Ethereum / Starknet","language":"Rust","stars":12,"topics":["ethereum","merkle-patricia-trie","trie","starknet"],"license":"GPL-3.0","category":"blockchain-web3","readme_excerpt":"trie-proofs A comprehensive proofs handler for Ethereum and Starknet tries. This repository provides proof-building functionalities and includes a CLI tool. Supported Crates - [x] Ethereum Transaction/Receipt MPT Handler: Constructs transaction and receipt tries using a target block number or transaction hash, following Ethereum's Merkle Patricia Tree (MPT) specification. - [x] Starknet Transaction/Receipt MPT Handler: Constructs transaction and receipt tries using a target block number, following Starknet's Merkle Patricia Tree (MPT) specification. Trie Handler - Transaction Trie Handler - [x] Builds a trie with a target block number. - [x] Builds a trie with a target transaction hash. - [x] Retrieves proof by transaction index. - [x] Verifies proof. - Transaction Receipt Trie Handler - [x] Builds a trie with a target block number. - [x] Builds a trie with a target transaction hash. - [x] Retrieves proof by transaction index. - [x] Verifies proof. CLI Tool Currently only supports Ethereum MPT. The CLI tool supports generating proofs for transactions and receipts. Use the following commands based on your requirements. Installation Install the CLI tool using Cargo: Or run it without installing: Generate a Proof via CLI To generate a proof for a transaction: To generate a receipt proof: By default, https://ethereum-rpc.publicnode.com is used as the RPC provider. While this may work for recent transactions, it is advisable to use a dedicated RPC provider for better reliability. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/HerodotusDev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HerodotusDev/trie-proofs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}