Skip to content

EIP-7702 examples #4011

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

Open
gabrocheleau opened this issue Apr 23, 2025 · 3 comments
Open

EIP-7702 examples #4011

gabrocheleau opened this issue Apr 23, 2025 · 3 comments

Comments

@gabrocheleau
Copy link
Contributor

Our repository currently does not have examples of EIP-7702 usage. EIP-7702 allows novel use-cases and has the potential to resolve a lot of the UX issues that have been hindering Ethereum for a long time. We should come up with examples, and eventually a blog post, that:

  • Demonstrate how 7702 can be enabled in our vm and other packages. This should make it obvious for other pieces of tooling that uses EthereumJS (e.g. wallets) how they can enable 7702 by using our latest packages.
  • How 7702 can be leveraged to allow novel use-cases (an easy example would be atomic ERC20 (approve + transfer) bundling.
@jochem-brouwer
Copy link
Member

Also the additional idea of @holgerd77 to use the RPCStateManager to simulate these things in a live network would be super great! We could for instance do an example where one would approve and transferFrom DAI for instance (or perform an Uniswap with it). We should however explicitly note to NOT use any mainnet pkeys there of course!!

@avdheshcharjan
Copy link
Contributor

avdheshcharjan commented Apr 24, 2025

hi @gabrocheleau @jochem-brouwer i added uniswap and DAI examples in #4015. moreover, using AI, i create a template for the blog post and added a few lines. please let me know your feedback!

@gabrocheleau
Copy link
Contributor Author

hi @gabrocheleau @jochem-brouwer i added uniswap and DAI examples in #4015. moreover, using AI, i create a template for the blog post and added a few lines. please let me know your feedback!

Amazing! Will check it out, thanks @avdheshcharjan

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

No branches or pull requests

3 participants