Skip to content

added interface generation to abigen #28279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

samlaf
Copy link
Contributor

@samlaf samlaf commented Oct 8, 2023

Implements feature-request #28278

The proposed names for the interfaces are pretty awful, but the structs have already taken the Caller/Transactor/Filterer names. Open to suggestions for renaming the interfaces.

@jwasinger
Copy link
Contributor

We have introduced a new version of abigen which only generates a minimal set of bindings for packing/unpacking ABI-encoded data for various methods/events/errors defined in a contract's interface. These bare-bones bindings can be used in conjunction with various APIs provided by go-ethereum to cover a wide array of use-cases that were previously impossible with abigen v1. Please check out the tutorial here for an overview of how to use the new version: https://geth.ethereum.org/docs/developers/dapp-developer/native-bindings-v2 .

Closing this as it's no longer necessary to expand the interface of abigen v2.

@jwasinger jwasinger closed this May 6, 2025
@samlaf
Copy link
Contributor Author

samlaf commented May 6, 2025

@jwasinger are there release notes somewhere expanding on the diff between v1 and v2?

@jwasinger
Copy link
Contributor

The abigen v2 PR gives an overview of the changes in functionality that we shipped with the new version: #31379 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants