Skip to content

Real-Time DEX

MexaSwap DEX leverages MegaETH's speed to deliver a seamless and instant trading experience. Our AMM is live on MegaETH Mainnet.

How It Works

Automated Market Maker (AMM)

MexaSwap uses a proven Constant Product AMM model, optimized for MegaETH's real-time execution:

  • Constant Product Formula: x * y = k — a battle-tested AMM model widely used across the DeFi industry
  • Instant Swaps: Transactions confirmed in milliseconds on MegaETH, with no block wait times
  • Minimal Slippage: Fast confirmations mean the price you see is very close to the price you get
  • Permissionless Pair Creation: Anyone can create a new trading pair by providing initial liquidity

Trading Fees

Fee ComponentPercentageRecipient
LP Fee0.4%Liquidity Providers
Protocol Fee0.1%Protocol Treasury
Total0.5%

Providing Liquidity

Liquidity Providers (LPs) deposit equal value of two tokens into a pool and receive LP tokens representing their share. LPs earn trading fees proportional to their pool share.

With MegaETH's near-zero gas fees, LPs can rebalance positions frequently, creating more efficient and liquid markets.

Future: Limit Orders

We are exploring on-chain Central Limit Order Book (CLOB) capabilities, enabled by MegaETH's throughput. This would allow users to place buy/sell orders at specific prices and view market depth transparently.

Status: Planned — no timeline announced yet.

Released under the MIT License.