Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Feat/eip7702#29

Merged
harry-anderson merged 2 commits intosmartcontractkit:mainfrom
Web3Shield:feat/eip7702
Jul 23, 2025
Merged

Feat/eip7702#29
harry-anderson merged 2 commits intosmartcontractkit:mainfrom
Web3Shield:feat/eip7702

Conversation

@TheArhaam
Copy link
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants