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

#9 in #celo

Download history 34033/week @ 2024-07-25 34150/week @ 2024-08-01 37284/week @ 2024-08-08 35541/week @ 2024-08-15 30631/week @ 2024-08-22 31840/week @ 2024-08-29 34184/week @ 2024-09-05 34390/week @ 2024-09-12 31472/week @ 2024-09-19 34488/week @ 2024-09-26 41690/week @ 2024-10-03 38647/week @ 2024-10-10 37665/week @ 2024-10-17 32676/week @ 2024-10-24 29681/week @ 2024-10-31 28605/week @ 2024-11-07

135,386 downloads per month
Used in 214 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
~303K SLoC