#ethereum #ethers #crypto #celo #smart-contracts #web3

ethers-contract

Type-safe abstractions for interacting with Ethereum smart contracts

37 releases (16 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.1.3 Jun 20, 2020

#3 in #celo

Download history 45083/week @ 2024-07-23 43497/week @ 2024-07-30 40966/week @ 2024-08-06 43723/week @ 2024-08-13 37890/week @ 2024-08-20 37290/week @ 2024-08-27 43117/week @ 2024-09-03 38409/week @ 2024-09-10 36046/week @ 2024-09-17 37593/week @ 2024-09-24 42785/week @ 2024-10-01 44451/week @ 2024-10-08 40503/week @ 2024-10-15 38357/week @ 2024-10-22 35860/week @ 2024-10-29 30359/week @ 2024-11-05

153,263 downloads per month
Used in 234 crates (20 directly)

MIT/Apache

1MB
24K SLoC

ethers-contract

Type-safe abstractions for interacting with Ethereum smart contracts.

Warning

This library is in the process of being deprecated. See #2667 for more information.

Interacting with a smart contract requires broadcasting carefully crafted transactions where the data field contains the function's selector along with the arguments of the called function.

This module provides the Contract and ContractFactory abstractions so that you do not have to worry about that. It also provides typesafe bindings via the abigen macro and the Abigen builder.

For more information, please refer to the book.

Dependencies

~11–27MB
~432K SLoC