hackquest logo

FeeDelegate Bridge

FeeDelegate Bridge helps you save on gas with smart cross-chain automation. Just deposit once on Base Sepolia, set your balance threshold, and MetaMask Smart Accounts will automatically bridge your fu

视频

描述

FeeDelegate Bridge

The Problem

High and unpredictable gas fees on Ethereum network force users to:

  • Overpay during peak demand periods

  • Constantly monitor gas prices manually

  • Miss optimal bridging opportunities

  • Spend unnecessary time on repetitive transactions

Our Solution

FeeDelegate Bridge leverages MetaMask Smart Accounts and delegation to deliver a fully autonomous gas optimization system. Users deposit funds once, set their maximum acceptable gas price, and a session-based agent automates all subsequent actions.

How It Works

  1. Deposit on Base Sepolia(for demo purposes) – The user funds the agent contract.

  2. Set Gas Threshold – Define a maximum acceptable gas price (e.g., 50 Gwei).

  3. Authorize Session Account – Grant permission to a MetaMask Smart Account via ERC-7710 delegation.

  4. Automated Monitoring – The session account continuously monitors Base Sepolia gas prices in real time.

  5. Smart Bridging – When gas falls below the threshold, funds are automatically bridged to Monad using LayerZero V2.

  6. Auto-Swap – On arrival, funds are automatically converted to USDC at a simulated rate of $2000/ETH.

Key Features

  • True Automation – Complete autonomy after the initial setup.

  • MetaMask Delegation – Secure, revocable, session-based permissions.

  • Cross-Chain Support – Base Sepolia to Monad Testnet via LayerZero V2.

  • Gas Optimization – Transactions execute only when gas is below the user-defined threshold.

  • Auto-Swap Functionality – Immediate conversion to USDC upon bridging.

  • Transparency – Real-time gas monitoring through an interactive dashboard.

Technical Stack

  • Smart Accounts: MetaMask Delegation Toolkit (ERC-7710)

  • Cross-Chain Messaging: LayerZero V2 Endpoint

  • Supported Chains: Base Sepolia (source) → Monad Testnet (destination)

  • Frontend: Next.js 15, Wagmi, RainbowKit, TailwindCSS

  • Smart Contracts: Solidity 0.8.20, Foundry

Contracts

  • Agent.sol (Base Sepolia): 0x7FbaAA1E70a7D4Efcc0554BDa5416FEAAcacD4A1

  • MonadReceiver.sol (Monad): 0x7490D3B9C22698bEfeEAf2efCC4fA78ffff96e77

Future Plans

Multi-Chain Expansion

  • Deployment across 10+ EVM-compatible chains, including Arbitrum, Optimism, Polygon, BSC, and Avalanche.

  • Bi-directional bridging support (Monad → L2s when Monad gas rises).

  • Integration of non-EVM networks such as Solana and Cosmos.

Enhanced Automation

  • AI-driven gas price forecasting to bridge proactively.

  • Cross-chain portfolio rebalancing based on gas efficiency.

Why It Matters

Gas volatility costs users billions every year. FeeDelegate Bridge provides the first autonomous cross-chain solution that optimizes gas spending without manual effort. By combining MetaMask Smart Accounts with LayerZero, it introduces a “set and forget” approach to cross-chain transactions.

技术栈

Solidity
Next
Monad
MetaMask

融资状态

None

队长
Hhq_1758315039
赛道
DeFi