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

#1978 in Magic Beans

Download history 15421/week @ 2023-12-23 20118/week @ 2023-12-30 30620/week @ 2024-01-06 35559/week @ 2024-01-13 34771/week @ 2024-01-20 44450/week @ 2024-01-27 35931/week @ 2024-02-03 35983/week @ 2024-02-10 32811/week @ 2024-02-17 33841/week @ 2024-02-24 32326/week @ 2024-03-02 35327/week @ 2024-03-09 38088/week @ 2024-03-16 35320/week @ 2024-03-23 30956/week @ 2024-03-30 25293/week @ 2024-04-06

136,288 downloads per month
Used in 168 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–24MB
~314K SLoC