Registry / crypto / ethers-signers

ethers-signers

JSON →
library2.0.14rscratesunverified

A unified interface for locally signing Ethereum transactions.

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

Signer
use ethers_signers::Signer;

Signs an Ethereum transaction using a local wallet.

use ethers_signers::Signer; use ethers_core::types::TransactionRequest; let signer: ethers_signers::LocalWallet = "0x...".parse().unwrap(); let tx = TransactionRequest::new(); let sig = signer.sign_transaction(&tx).await.unwrap();
Debug
Known issues
gotchaRequires async runtime (tokio or async-std) for signing operations.
fix
Add tokio as a dependency and use #[tokio::main] or similar.
affects: >=2.0.0
Upgrade
Version history
2.0.14latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
ethers-signers — cargo add ethers-signers · libregistry