Skip to content

Feat/eip7702 #29

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

Merged
merged 2 commits into from
Jul 23, 2025
Merged

Conversation

TheArhaam
Copy link
Contributor

  • Fixed ABI structure in packages/ccip-js/src/config.ts
  • Added EIP-7702 support for atomic transaction bundling
  • Updated viem dependency from 2.21.25 to 2.31.6 in both packages to support sendCalls
  • Enhanced transferTokens function in packages/ccip-js/src/api.ts:
    • Implemented EIP-7702 flow using sendCalls() and waitForCallsStatus()
    • Added fallback to legacy 2-step flow if EIP-7702 fails
    • Improved error handling for user rejections and unsupported wallets
  • Updated React components to support new EIP-7702 functionality
  • Updated example Next.js app to demonstrate EIP-7702 usage

Key Benefits: EIP-7702 enables atomic multi-transaction operations (approve fee + approve token + ccipSend) in a single user interaction, improving UX while maintaining backward compatibility.

@TheArhaam TheArhaam requested a review from a team as a code owner July 22, 2025 20:49
@harry-anderson harry-anderson self-requested a review July 22, 2025 21:00
Copy link
Contributor

@harry-anderson harry-anderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commits must have verified signatures.

@harry-anderson harry-anderson merged commit f063200 into smartcontractkit:main Jul 23, 2025
2 checks passed
@TheArhaam TheArhaam deleted the feat/eip7702 branch July 23, 2025 09:19
@harry-anderson harry-anderson mentioned this pull request Jul 23, 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