31 releases (18 stable)

2.0.14 Mar 6, 2024
2.0.11 Nov 16, 2023
2.0.8 Jul 15, 2023
2.0.2 Mar 28, 2023
0.17.1-alpha.1 Jul 31, 2022

#1886 in Magic Beans

Download history 36002/week @ 2024-02-05 35977/week @ 2024-02-12 33509/week @ 2024-02-19 33354/week @ 2024-02-26 32275/week @ 2024-03-04 35577/week @ 2024-03-11 36874/week @ 2024-03-18 35250/week @ 2024-03-25 30926/week @ 2024-04-01 30432/week @ 2024-04-08 33804/week @ 2024-04-15 33680/week @ 2024-04-22 28154/week @ 2024-04-29 28409/week @ 2024-05-06 31259/week @ 2024-05-13 27913/week @ 2024-05-20

117,263 downloads per month
Used in 180 crates (via ethers)

MIT/Apache

1MB
19K SLoC

ethers-addressbook

A collection of commonly used smart contract addresses.

For more information, please refer to the book.

Warning

This library is in the process of being deprecated. See #2667 for more information.

Examples

use ethers_addressbook::{contract, Chain};

let weth = contract("weth").unwrap();
let mainnet_address = weth.address(Chain::Mainnet).unwrap();
assert_eq!(mainnet_address, "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2".parse().unwrap());

Dependencies

~10–21MB
~293K SLoC