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

#1941 in Magic Beans

Download history 30201/week @ 2024-04-03 32972/week @ 2024-04-10 33433/week @ 2024-04-17 32011/week @ 2024-04-24 27345/week @ 2024-05-01 30494/week @ 2024-05-08 29707/week @ 2024-05-15 28166/week @ 2024-05-22 29563/week @ 2024-05-29 34457/week @ 2024-06-05 35488/week @ 2024-06-12 34459/week @ 2024-06-19 33061/week @ 2024-06-26 28648/week @ 2024-07-03 31100/week @ 2024-07-10 25577/week @ 2024-07-17

124,838 downloads per month
Used in 190 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
~294K SLoC