Crates.io | ethaddr |
lib.rs | ethaddr |
version | 0.2.2 |
source | src |
created_at | 2022-05-30 19:08:23.586369 |
updated_at | 2023-10-29 13:36:32.502406 |
description | Ethereum public address |
homepage | https://github.com/nlordell/ethprim-rs/tree/main/ethaddr |
repository | https://github.com/nlordell/ethprim-rs |
max_upload_size | |
id | 597115 |
size | 45,896 |
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
.