Skip to content

Conversation

@TaprootFreak
Copy link
Contributor

Summary

  • Remove EIP-7702 types (Eip7702DelegationData, Eip7702SignedData, Eip7702Authorization)
  • Add EIP-5792 types (Eip5792Data, Eip5792Call) for wallet_sendCalls with paymasterService
  • Update UnsignedTx to use eip5792 instead of eip7702
  • Update ConfirmSellData/ConfirmSwapData to use txHash instead of eip7702

Why

MetaMask has eth_sign disabled by default since 2023, which blocks the current EIP-7702 gasless transaction flow. EIP-5792 wallet_sendCalls with paymasterService capability is the modern solution that works without eth_sign.

Breaking Changes

  • Eip7702DelegationData, Eip7702SignedData, Eip7702Authorization interfaces removed
  • UnsignedTx.eip7702 replaced with UnsignedTx.eip5792
  • ConfirmSellData.eip7702 and ConfirmSwapData.eip7702 replaced with txHash

Test plan

  • Build succeeds
  • Types are exported correctly

- Remove Eip7702DelegationData, Eip7702SignedData, Eip7702Authorization
- Add Eip5792Data, Eip5792Call interfaces for wallet_sendCalls
- Update UnsignedTx to use eip5792 instead of eip7702
- Update ConfirmSellData/ConfirmSwapData to use txHash instead of eip7702

EIP-5792 wallet_sendCalls with paymasterService capability replaces
the eth_sign-based EIP-7702 flow that was blocked by MetaMask.
@TaprootFreak TaprootFreak merged commit 96c45c8 into develop Jan 4, 2026
1 check passed
@TaprootFreak TaprootFreak deleted the feature/eip5792-wallet-send-calls branch January 4, 2026 21:52
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