Skip to content

Auth 7702 #1727

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
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Auth 7702 #1727

wants to merge 2 commits into from

Conversation

btchip
Copy link

@btchip btchip commented Apr 15, 2025

Explanation

This PR adds basic support for EIP 7702 (https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7702.md) authorization signature and signature of TX type 4

You might want to add extra checks to the authorized contracts for delegation

Pre-merge check list

  • PR run build successfully on local machine.
  • All unit tests passed locally.

How to test

Generate the 7702 authentication RLP to sign with Foundry (cast wallet sign-auth) and remove v,r,s (using for example https://codechain-io.github.io/rlp-debugger/)

Generate a new QR code for a 7702 authentication (dataType 5) with this RLP and scan it

Testing a TX type 4 can also be done with Foundry (cast mktx with --auth parameter)

@nconsigny
Copy link

nconsigny commented Apr 18, 2025

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