https://github.com/eshaan7/rusty-verified-eth-rpc-proxy
Rust crate to make an untrusted Ethereum JSON-RPC provider verifiable
https://github.com/eshaan7/rusty-verified-eth-rpc-proxy
Last synced: 2 days ago
JSON representation
Rust crate to make an untrusted Ethereum JSON-RPC provider verifiable
- Host: GitHub
- URL: https://github.com/eshaan7/rusty-verified-eth-rpc-proxy
- Owner: eshaan7
- License: mit
- Created: 2024-10-18T12:59:13.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-22T16:55:43.000Z (7 months ago)
- Last Synced: 2025-06-17T03:02:31.792Z (2 days ago)
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rusty-verified-eth-rpc-proxy
A Rust crate that turns an untrusted Ethereum JSON-RPC Execution API provider into a verified data source by requesting Merkle proofs and checking them against the state hash.
## Usage
Refer to the tests in [`src/lib.rs`](/src/lib.rs) for example usage.
## Available Methods
The following methods can be made verified:
| RPC Method | Implemented |
|-----------------------------|----------------|
| eth_getAccount | ✅ |
| eth_getBalance | ✅ |
| eth_getTransactionCount | ✅ |
| eth_getCode | ✅ |
| eth_getStorageAt | ✅ |
| eth_getTransactionReceipt | ✅ |
| eth_getBlockReceipts | ✅ |## Inspiration
- [Helios](https://github.com/a16z/helios)
- [Nimbus Verified Proxy](https://github.com/status-im/nimbus-eth1/tree/master/nimbus_verified_proxy)
- [Lodestar prover](https://github.com/ChainSafe/lodestar/tree/unstable/packages/prover)