ethers-rs/ethers-contract
James Prestwich ef6e7f41a1
Refactor: organize ethers-providers (#2159)
* feature: bubble up jsonrpc error response via trait

* refactor: ClientError to TransportError

* refactor: FromErr to MiddlewareError

* tests: fix test with middlewareerror

* fix: doctest

* fix: fix custom middleware example

* feature: as_serde_error

* docs: for error traits

* fix: custom example and unnecessary ref

* refactor: in progress organization

* refactor: continue cleaning up

* refactor: finish changing crate layout

* refactor: fix test imports

* refactor: move convenience impl into toolbox

* chore: changelog

* docs: make them suck less

* fix: remove deprecation

* fix: DaniPopes's nits
2023-02-20 15:55:36 -08:00
..
ethers-contract-abigen refactor(abigen): derives, struct expansion (#2160) 2023-02-19 16:53:29 -08:00
ethers-contract-derive refactor(abigen): derives, struct expansion (#2160) 2023-02-19 16:53:29 -08:00
src Prestwich/event no lifetime (#2105) 2023-02-13 17:14:38 -08:00
tests Refactor: organize ethers-providers (#2159) 2023-02-20 15:55:36 -08:00
Cargo.toml chore(deps): bump once_cell from 1.17.0 to 1.17.1 (#2156) 2023-02-15 10:55:04 -08:00
README.md release: 0.6.0 (#611) 2021-11-23 21:23:12 +02:00

README.md

Type-safe abstractions for interacting with Ethereum smart contracts

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.