-
Notifications
You must be signed in to change notification settings - Fork 17
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
feat: add ERC20 as gas fee #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool,
I think we want this @klkvr ?
should we also list this here: https://github.com/ithacaxyz/odyssey-examples?tab=readme-ov-file#chapter-1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! yep, I think we want to include this though I think we can demonstrate a more powerful usecase
The description is also added. Please take a loot. |
Add a tutorial to demonstrate an EIP-7702 scenario, where the user can sign an off-chain authorization to send an ERC20 token while paying the gas sponsor ERC20 token. Note that this feature can be achieved by combining the
SimpleDelegateContract.sol
with an authorization check (like inP256Delegation.sol
), but this tutorial aims to provide a clearer example on howERC20 as gas fee
is achieved step by step.