Registry / crypto / ethers-core

ethers-core

JSON →
library2.0.14rscratesunverified

Core Ethereum data types, cryptography, and utilities for the ethers-rs ecosystem.

# Cargo.toml [dependencies] ethers-core = "2.0.14"
INSTALL
IMPORT
SIG · ETHERS-CORE
E
ethers-core
cryptorustv2.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.

Address
use ethers_core::types::Address;

Parses an Ethereum address from a hex string.

use ethers_core::types::Address; use std::str::FromStr; fn main() { let addr = Address::from_str("0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B").unwrap(); println!("Address: {:?}", addr); }
Debug
Known issues
gotchaRequires the `ethers` feature flag for full functionality; standalone crate may lack some features.
fix
Add `ethers-core` to Cargo.toml with default features or enable specific features like `ethers-solc`.
affects: >=2.0.0
Upgrade
Version history
2.0.14latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Meta
1
Resources
ethers-core — cargo add ethers-core · libregistry