Registry / networking / clarity

clarity

JSON →
library1.7.0rscratesunverified

Lightweight Ethereum client for interacting with the Ethereum blockchain.

# Cargo.toml [dependencies] clarity = "1.7.0"
INSTALL
IMPORT
SIG · CLARITY
C
clarity
networkingrustv1.7.0
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.

Client
use clarity::Client;

Creates a new Ethereum client connected to Infura.

use clarity::Client; fn main() { let client = Client::new("https://mainnet.infura.io/v3/YOUR_PROJECT_ID"); println!("Client created"); }
Debug
Known issues
gotchaRequires an active internet connection and a valid Ethereum node endpoint.
fix
Ensure you provide a working RPC URL, e.g., from Infura or a local node.
affects: >=1.0.0
Upgrade
Version history
1.7.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
Meta
1
Amazon
1
OpenAI (training)
1
Resources
clarity — cargo add clarity · libregistry