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

#8 in #celo

Download history 33153/week @ 2024-11-18 29341/week @ 2024-11-25 40064/week @ 2024-12-02 40960/week @ 2024-12-09 40062/week @ 2024-12-16 17851/week @ 2024-12-23 21879/week @ 2024-12-30 34833/week @ 2025-01-06 40819/week @ 2025-01-13 37145/week @ 2025-01-20 34871/week @ 2025-01-27 38210/week @ 2025-02-03 42108/week @ 2025-02-10 38824/week @ 2025-02-17 38422/week @ 2025-02-24 35515/week @ 2025-03-03

156,545 downloads per month
Used in 257 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

~12–23MB
~356K SLoC