Developers
Blueprint SDK Contexts
EVM Provider Context

EVM Provider Context

The EvmProviderContext trait provides a standardized alloy-rs (opens in a new tab) EVM provider for interacting with EVM-compatible blockchain networks in your Blueprint.

Overview

The EvmProviderContext trait provides access to an EVM provider:

Using the Context

1. Define Your Context

First, define your context struct that implements the EvmProviderContext trait:

2. Access Provider Parameters

You can then use this context to access EVM provider parameters: