30 releases (17 stable)

2.0.13 Jan 30, 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

#1039 in Magic Beans

Download history 20890/week @ 2023-10-29 23434/week @ 2023-11-05 22417/week @ 2023-11-12 22459/week @ 2023-11-19 26605/week @ 2023-11-26 28886/week @ 2023-12-03 27554/week @ 2023-12-10 26787/week @ 2023-12-17 15544/week @ 2023-12-24 21082/week @ 2023-12-31 32245/week @ 2024-01-07 35965/week @ 2024-01-14 34888/week @ 2024-01-21 44813/week @ 2024-01-28 36529/week @ 2024-02-04 34307/week @ 2024-02-11

153,348 downloads per month
Used in 147 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

~11–24MB
~333K SLoC