← MetaMask Demo

Liquidity Architecture for MetaMask Integration

How Harbor moves MetaMask from the pioneer of in-wallet swaps to the anchor wallet for in-wallet price discovery.

MetaMask created the category. The value prop was simple: swap without leaving your wallet. Harbor co-founder Michael Oved was part of that story with AirSwap, then at ConsenSys building MetaMask Swaps. The market has since expanded into dozens of providers, but the execution stack is still shaped by an AMM era designed to accomodate EVM's 2018-era slow settlement. Solana Prop AMMs and Hyperliquid's order book show where the industry is converging next: professional liquidity, stronger guarantees, and transparent competition for user flow. Harbor provides that in two ways:

1. Measuring In-Wallet Swaps Execution

Many in-wallet swaps are serviced by a tangled web of aggregators, intermediaries, and liquidity sources. Often it is not clear how many layers a swap passes through, or even what downstream venue ultimately services the trade. Each hop is an opportunity for value to leak away from the user, usually hand-waved away as "slippage".

1.1 The Liquidity Map: Tracing Liquidity From User to Execution

MetaMask liquidity route map
- nodes - links
MetaMask Aggregators Liquidity sources Execution paths

This chart represents a best-effort attempt to map all possible flows of funds for MetaMask users and is based off available docs, announcements, and the MetaMask interface itself. It may not be 100% accurate in terms of what is available to MetaMask users. As the below case study shows, there are even more undisclosed routes that are obfuscated by aggregators.

MetaMask swap trace
Case Study: A BTC -> ETH swap on MetaMask

MetaMask already has strong coverage on in-chain and same-ecosystem routes like USDT -> ETH. Uniswap and the broader EVM liquidity stack cover those pairs well, and MetaMask has spent years making that experience feel simple inside the wallet.

The weak point is newer and structurally harder: swaps between dissimilar chains. TRON USDT -> ETH, BTC -> ETH, and other cross-chain routes that cannot be solved by routing through the mature EVM ecosystem. They require bridging, chain-specific settlement and complex route orchestration. This is where MetaMask, like other cross-chain wallets, are forced into opaque aggregator paths where execution quality starts to break down.

This BTC -> ETH swap exemplifies the challenges users and wallets face when sending flow through aggregators. Though this swap appears to users as a Rango route via Teleswap, it touched 3 different blockchains, and at least as many aggregators or bridges, with fees and time spent at each step. The Polygon/Across legs are not reported by TeleSwap/Rango, meaning fees for this portion are completely obfuscated to the user.

BTC inputBitcoin
BTC tx
TeleSwapVisible route
Rango
Uniswap V3Polygon execution
Polygonscan
Across bridgeOutput bridge
Across
ETH outputEthereum
Etherscan
Quote out vs actual out 0.018551 ETH → 0.018500 ETH ~27.5 bps worse than quote
Fees skimmed (as reported by explorers)
  • 0.00000819 BTCBTC UTXO · ~152 bps · MM assumed: 0.00000471 BTC / 87.5 bpsRango/TS assumed: 0.00000348 BTC / ~64.5 bps
  • 0.00000038 BTCTeleSwap "Teleporter" Fee · ~7 bps ·
  • $0.07Across · ~16 bps ·
  • $0.04Ethereum gas · ~9 bps ·
  • Estimated total~184 bps
Total elapsed time ~37m 30s Rango reported execution time
Summary: The current in-wallet/aggregator landscape is suboptimal for users from an execution and transparency perspective. To keep and grow in-wallet flows the industry needs to address these issues.

1.2 Measuring Execution: Provider EQE Distributions

EQE (Execution Quality, External) measures realized execution against an external reference price. The shape of each provider's distribution shows whether users are consistently landing near CEX reference.

Metric

Negative bps means execution worse than the external reference. Zero is the target.

Methodology EQE is benchmarked against Binance. Relay and LI.FI samples are MetaMask swaps specifically. EQE compares the exchange rate of provider swaps with the closest candle of a corresponding market on Binance. To determine the raw exchange rate, we look at the input/output ratio after adding back any skimmed fees.
Relay Loading...
MetaMask provider
LI.FI Loading...
MetaMask provider
Harbor Loading...
The gap is the opportunity: MetaMask's current swap providers leave users tens of basis points worse than reference on every fill. Harbor's distribution sits at reference.

1.3 The Harbor Solution: Two Flows, One Shared Order Book

Regular L1-initiated swaps execute against professional liquidity, while limit orders add a net-new user class: users who are price sensitive, speculative, or willing to set a trade and forget it.

1.3a Swaps Product: L1-Initiated Flow Into Professional Liquidity

The user still starts with a normal MetaMask swap. What changes is the liquidity underneath: Harbor turns that swap into taker flow against a shared order book quoted by professional market makers and other retail limit orders. Instead of relying only on AMMs, RFQs, or intent solvers, MetaMask can route into a transparent market where makers compete on price.

1.3b Limit Order Product: Let Users Name Their Price

The same book unlocks a new order type for MetaMask users: long-lived limit orders. Users leave a buy or sell at the price they want, and it rests on the book until filled. The MetaMask Limit Orders demo shows the full flow: deposit, place a market or limit order, watch it fill, withdraw.

1.3c Why Order Books Beat Intents

Intent and RFQ systems give market makers discretion to execute anywhere between the current market price, the minimum quoted output, and the user's slippage tolerance. A central limit order book removes that discretion. Makers compete in public to fill the order, users receive the best available price. Slippage is a byproduct of the bygone era of constant-product, AMM-based execution. Users should never face 2-3% slippage on major-pair swap, and limit orders directly address it.

2. Harbor Order Book: Compete With CEX

The opportunity

MetaMask Swaps does roughly $250M/mo1 today. Binance does roughly $550B/mo in spot volume4. That means MetaMask routes about 0.045% of what a single CEX moves, despite a large wallet user base. The gap is market structure: CEX users get live books, limit orders, and competitive maker pricing; wallet users mostly get aggregator routes.

Harbor brings the CEX primitive into the wallet. A MetaMask user placing a BTC/USDT limit order should be able to get Binance-grade execution without leaving MetaMask.

Binance Spot (CEX)

~$550B/mo
Total spot volume, all pairs, 2025 avg. Source: CoinMarketCap

MetaMask Swaps (Today)

~$250M/mo
DEX aggregator volume, all pairs. Source: DefiLlama
MetaMask Swaps Today (public data)
Monthly swap volume
~$248M/mo
Cumulative volume (DEX aggregator)
~$10.1B
Cumulative trade volume (MetaMask own materials)
$40B+
MetaMask Swaps vs Binance spot
~0.045%

2.2 Order Book Volume & Fee Projections

The sizing question is how much active major-pair trading can stay inside MetaMask once users have CEX-style execution.

Estimated MetaMask Volume Breakdown
CEX-listed major pairs (top ~10 tokens, ~70%)
~$175M/mo
Medium tier (tokens ~11 to 100, ~20%)
~$50M/mo
Long tail (tokens ~101 plus, ~10%)
~$25M/mo

Power-law distribution used as a proxy. Replace with MetaMask's actual swap-volume-by-token breakdown for precise comparison.

MetaMask has meaningful exchange-scale reach, but without an order book it cannot capture the active trading behavior that still lives on CEXs.

User Base Comparison
MetaMask MAU2
~30M
Binance MAU (peak 2025)
~100M
User ratio (MetaMask to Binance)
~30%
Sources: MetaMask MAU is a public estimate, verify internally. Binance: CoinLaw.
Major-Pair Volume Gap
MetaMask major-pair swap volume (top ~10 tokens, ~70%)
~$175M/mo
Binance major pairs (est. ~65% of total)
~$360B/mo
Major-pair gap (MM $175M vs Binance $360B)
~2,060x
Sources: MetaMask volume via DefiLlama. Binance $7T in 2025 is about $583B/mo avg. Tier breakdown via power-law proxy.
MetaMask has ~30% of Binance's users but its major-pair swap volume is roughly 0.05% of Binance's equivalent. The missing primitive is an order book with limit orders and professional execution.
Order Book Projection: Closing the Volume Gap on Majors
MetaMask major-pair swap volume today
~$175M/mo
Binance major-pair volume
~$360B/mo
Close 0.1% of that gap
plus $360M/mo
Close 0.5% of that gap
plus $1.8B/mo
Close 2.5% of that gap
plus $9B/mo
Close 5% of that gap
plus $18B/mo

Key insight: closing just 0.1% of the major-pair gap adds ~$360M/mo, more than MetaMask's entire public swap volume today. At 0.5%, the order book adds ~$1.8B/mo of new volume.

3. Proposed Roadmap

This is the proposed feature integration and product development path for the Harbor <> MetaMask partnership.

1

Cross-chain swaps integration

Industry-leading execution for the highest traffic cross-chain routes.

1a limited rollout Chains: BTC, ETH Pairs: BTC/USDT, ETH/BTC
Harbor Ready MetaMask via Rango 0-1 week MetaMask direct 2-4 weeks
1b expanded rollout Chains: BTC, ETH Pairs: BTC/mUSD, mUSD/USDT, ETH/mUSD
Harbor Queued, ready in 1 week MetaMask effort 0
2

Cross-chain swaps expansion

Increase coverage to the majority of swaps volume (~70%).

2a new chains / pairs Chains: BNB Chain, TRON, Arbitrum Pairs: BTC/BNB, BTC/BNB.USDT, BTC/TRON, BTC/TRON.USDT, BTC/ARB, BTC/ARB.USDT
Harbor Queued, ready in 4 weeks MetaMask effort 0
3

Limit orders

New product to capture execution-sensitive volume. Familiar swap-like interface, but with long-resting orders. Settlement always in-wallet.

3a limited rollout Chains: BTC, ETH Pairs: BTC/USDT, ETH/BTC, BTC/mUSD, ETH/mUSD
Harbor Ready MetaMask effort 2-3 months w/ product design and development
3b expanded rollout Chains: All chains/routes supported via swaps Pairs: All pairs supported via swaps
4

Deposit-then-trade (CEX-style)

Expand limit order product with signature-based trading: gasless and immediate. Users hold balances on Harbor, same concept as Hyperliquid Perps balance.

Chains: All chains/routes supported via swaps Pairs: All pairs supported via swaps
Harbor Ready MetaMask effort 2-4 weeks