Crate reth_storage_rpc_provider

Crate reth_storage_rpc_provider 

Source
Expand description

§RPC Blockchain Provider for Reth

This crate provides an RPC-based implementation of reth’s StateProviderFactory and related traits that fetches blockchain data via RPC instead of from a local database.

Similar to the BlockchainProvider which provides access to local blockchain data, this crate offers the same functionality but for remote blockchain access via RPC.

Originally created by cakevm.

§Features

  • Implements StateProviderFactory for remote RPC state access
  • Supports Ethereum and Optimism network
  • Useful for testing without requiring a full database
  • Can be used with reth ExEx (Execution Extensions) for testing

Structs§

RpcBlockchainProvider
An RPC-based blockchain provider that fetches blockchain data via remote RPC calls.
RpcBlockchainProviderConfig
Configuration for RpcBlockchainProvider
RpcBlockchainStateProvider
RPC-based state provider implementation that fetches blockchain state via remote RPC calls.