Skip to content

feat: add 7702 support#57

Open
zy0n wants to merge 1 commit into
mainfrom
zy0n/7702-main-done
Open

feat: add 7702 support#57
zy0n wants to merge 1 commit into
mainfrom
zy0n/7702-main-done

Conversation

@zy0n

@zy0n zy0n commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This pull request adds support for the Relay Adapt 7702 contract across mainnet and testnet networks, updates contract addresses, and enhances network configuration and type safety for 7702 support. It also introduces new utility functions and tests for handling historical 7702 contract addresses.

Network Configuration and Contract Address Updates:

  • Added and populated relayAdapt7702Contract and relayAdapt7702History for all mainnet and testnet networks, including historical deployments. Also added a new boolean property relayAdapt7702SupportsExecuteNonce to the Network type and configuration, and set supports7702 to true for all mainnets and Hardhat. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
  • Updated several contract addresses for mainnet and dev networks, including RelayAdaptContract, BaseTokenWrappedAddress, and RailgunRegistryContract. Added comments for reference addresses. [1] [2] [3] [4]

Type and Model Enhancements:

  • Updated the Network type to include the new relayAdapt7702SupportsExecuteNonce property.
  • Added an optional relayAdapt7702 property to BroadcasterFeeMessageData and CachedTokenFee types to support 7702-specific fee data. [1] [2]

Utility Functions and Testing:

  • Added isHistoricalRelayAdapt7702ContractAddress utility to check if a contract address is part of the 7702 contract history for a network, and added comprehensive tests for this function. [1] [2] [3]

Code Cleanup:

  • Removed the unused EVMGasType import from broadcaster.ts.

chore: update 7702 deployment config

feat: add relay adapt 7702 execute nonce config

feat: implement historical relay adapt 7702 address checks and update network configuration
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.

1 participant