Registry / networking / ethers-providers

ethers-providers

JSON →
library2.0.14rscratesunverified

Clients for interacting with Ethereum nodes via JSON-RPC.

# Cargo.toml [dependencies] ethers-providers = "2.0.14"
INSTALL
IMPORT
SIG · ETHERS-PROVIDERS
E
ethers-providers
networkingrustv2.0.14
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Provider
use ethers_providers::Provider;

Connect to an Ethereum node using HTTP provider.

use ethers_providers::{Provider, Http}; let provider = Provider::<Http>::try_from("https://mainnet.infura.io/v3/YOUR_KEY").unwrap();
Debug
Known issues
gotchaRequires async runtime (tokio) and feature flags for different transports
fix
Add `tokio` as dependency and enable `ws` or `ipc` features for WebSocket/IPC
affects: >=2.0
Upgrade
Version history
2.0.14latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
ethers-providers — cargo add ethers-providers · libregistry