EIP-7702: One-Click Cross-Chain Staking

What is EIP-7702?

EIP-7702 (Set EOA account code for one transaction) allows regular wallets (EOAs) to temporarily act like smart contracts for a single transaction. This means users can execute complex operations that normally require multiple steps—all within one transaction while keeping their familiar wallet experience.

How Escher Uses EIP-7702

Escher leverages EIP-7702 to enable one-click cross-chain liquid staking:

Traditional Flow (Without EIP-7702)

  1. Approve tokens for spending

  2. Swap tokens

  3. Bridge tokens to staking chain

  4. Stake tokens on destination chain

Result: 4+ transactions, high gas costs, complex UX

Escher's EIP-7702 Flow

  1. User clicks "Stake" on any supported token

  2. Single EIP-7702 transaction handles everything:

    • Token approval and transfer

    • swap token

    • Union bridge interaction

    • Cross-chain staking

    • LST minting and return

Result: 1 transaction, lower gas costs, simple UX

Key Benefits

  • One-Click Staking: Stake any token from any supported chain instantly

  • Gas Efficient: Single transaction instead of 5+ separate transactions

  • Cross-Chain Seamless: Use Union bridge automatically in the background

  • LSTs to Destination: Receive liquid staking tokens back on your preferred chain

  • No Technical Knowledge: Users just click stake—everything else is automated

  • Use any token: Can use any token to stake

Example Use Cases

Cross Chain: Stake ETH on Ethereum → Get eBaby on Ethereum

Any Token: Stake any supported token → Auto-convert → Stake on destination → Get LSTs back

This makes liquid staking as simple as a single click while maintaining all the power of cross-chain operations through Union's infrastructure.

Last updated