What problem does it solve?
Applications that query Ethereum state through an RPC provider must trust that provider to return honest data. This Skill removes that trust assumption by cryptographically verifying balances, nonces, contract code, and storage values against a beacon chain state root using Merkle proofs from eth_getProof.
Core Features & Use Cases
- Transparent RPC Verification: The UseVerifiedState interceptor automatically verifies eth_getBalance, eth_getTransactionCount, eth_getCode, and eth_blockNumber on any Web3 client.
- Direct Verified Queries: Call VerifiedStateService methods to fetch verified balances, nonces, contract bytecode, and individual storage slots.
- Finalized vs Optimistic Modes: Choose finalized mode for fund transfers or optimistic mode for low-latency UI dashboards.
- Verified EVM Execution: Combine with the EVM simulator to run contract calls like ERC-20 balanceOf against individually verified storage slots.
- Use Case: A self-custodial wallet displays a user's ETH balance with cryptographic proof of correctness, eliminating reliance on a third-party RPC node.
Quick Start
Set up a Nethereum light client with a beacon chain API endpoint and use UseVerifiedState on my Web3 instance so every balance query is verified by Merkle proof.