This crate provides an Address
type for representing Ethereum public
addresses. It implements ERC-55
mixed-case checksum Display
formatting and parsing with verification using
Address::from_str_checksum()
.
Additionally an address!
macro is included for compile-time verified address
constants. Under the hood, it is implemented with const fn
and does not use
procedural macros.
Just add a dependency to your Cargo.toml
:
[dependencies]
ethaddr = "*"
For complete documentation checkout docs.rs
.