Each trade settles its own balance.
Echoloop is a v4 hook that closes the price gap your swap opens, in the same transaction and ahead of outside bots, then sends the realized gain back to you and the pools you traded in. Built for Robinhood Chain, where tokenized stocks trade in Uniswap v4 pools.
- Rebate is credited in the same transaction
- 45% of buys · 15% of sells return to you
- Nothing realized → nothing paid
Trader rebateBuys · 45% of realized gain
Pool rewards55% / 85% · shared by active liquidity
Keeper sweeptip taken from the sell share
Outside botsbeaten inside the same call
Where retail flow meets hooks.
Robinhood Chain is a Layer 2 built by Robinhood Crypto, live since July 2026, with Uniswap v2, v3, v4 and UniswapX available at launch. Tokenized stocks trade there against stablecoins, and every sizable swap can leave a small price gap between sibling pools. That gap is what Echoloop closes and shares.
of v4 trades run through a hook
Share of Uniswap v4 trades on the chain that touched a hook, measured by Bitquery over 4–8 September 2026.
Stock-token pairs
List a tokenized-stock/stablecoin pair, open two hooked pools, and let each trade settle its own gap.
Chain ID 4663
Add the network, point your router at the hook address, and swap the way you already do.
Independent project
Echoloop is a concept demo. It is not affiliated with, sponsored by or endorsed by Robinhood Markets, Inc. or Uniswap Labs.
Months of chain history.
Public figures from Uniswap, Bitquery, DefiLlama and press coverage, restated in our own words. These numbers move quickly, so check the sources.
Chain goes live
Robinhood Chain opens as an Arbitrum Orbit Layer 2, chain ID 4663.
Uniswap arrives
Uniswap v2, v3, v4 and UniswapX launch alongside it, so swaps and liquidity are available from day one.
First-week volume
Uniswap reports more than $250M traded in the chain’s first week.
v4 leads stock-token liquidity
Press coverage puts v4 at about 73% of DEX liquidity for tokenized stocks, with v3 near 26%. DefiLlama showed roughly $38M locked in v4 and about $70M of tokenized real-world assets on the chain.
Hooks carry most trades
Bitquery’s census finds 74.5% of v4 trades go through a hook, and a single hook handles about three quarters of hooked swaps.
Aggregator hooks
Uniswap turns on aggregator hooks on Ethereum, Base and Robinhood Chain, letting v4 route through outside liquidity.
Most hooks of any chain
Bankless counts 1,206 of 5,019 listed hooks on Robinhood Chain, the largest share of any network.
Sources: Uniswap blog, Bitquery, DefiLlama, Crypto Briefing, The Block, Bankless.
Trade to payout in four moves.
None of this is a forecast. A few contracts run inside your own transaction and only ever pay out profit that has actually landed.
Swap in a hooked pool
Trade any listed pair through the router. Two sibling v4 pools (say 0.05% and 0.3%) share the hook, and your order pushes their prices apart.
The hook answers back
afterSwap runs in your transaction, weighs a short list of loops across sibling pools and approved venues, and picks the likeliest winner.
Gain is measured, not guessed
The loop buys on the cheap side and sells everything on the dear side. The payout is read from balances after settlement, never from the estimate.
Value goes home
Realized gain divides 45/55 on buys and 15/85 on sells. The pool share is split 30/30/20/20 and donated to in-range liquidity.
An engine with walls it can’t cross.
Four small modules, one job each. Smaller parts are simpler to test, review and switch off.
Allow-listed pools and venues
One registry decides what is touched. Sibling pools must run the hook and match the pair; outside venues need owner approval, up to three per pair.
Work is always bounded
A swap can’t start an open-ended search: at most 6 estimates and 2 executed loops, using closed-form math, with size capped by liquidity.
Breakers at every layer
Global, per-pair and payout pauses halt capture at once. Swaps themselves never stall. Losses beyond the guard trigger an automatic pause.
When it’s not worth it, it stays out.
Real example of a trade the hook declines.
afterSwap(pair = ECHO/USDX, fee 500, zeroForOne = false) sibling A ↔ sibling B gap after trade: 0.000004 / 1.0 estimated loop gain: 0.0000003 USDX < floor 0.0001
Rebates go out. Rewards come back.
Each capture divides one realized gain two ways: to the trader who opened the gap, and to the liquidity that absorbed it.
To traders
Accrues when the capture finishes. Claim whenever.
You bought the base token: 45% of the realized gain is yours instantly.
You sold: 15% is yours, the pool side keeps 85%.
Anyone can sweep leftover gaps; the tip comes out of the trader share.
Funds sit in the ledger, pulled per token, never blocked or diluted.
To liquidity
Lands in fee growth, split by in-range share.
The two pools that closed the gap earn the biggest cut.
Operator-chosen pools share the rest. Every share is owner-set in bps.
Uses v4 donate. In-range LPs collect on their next harvest, no lockups.
Any project can register a pair and open two hooked pools to start paying LPs.
Add the rebate engine in a few lines.
Use any router that forwards hook data, set your user as the rebate recipient, or list your own pair. Designed for Robinhood Chain (chain ID 4663).
Plain router.
Non-custodial exact-input swaps with deadline and min-out, full-range or ranged liquidity.
Four modules.
Registry, Checker, Executor, Ledger. The hook coordinates; each write is capped and can be paused.
Venue adapter.
Works with any v3-style pool exposing price, liquidity and swap. A demo constant-product venue is bundled.
Tested economics.
Suite covers both splits, the pool division, no-gain-no-pay and reentrancy. All 40 green.
The capture economy, counted live.
Read straight from the ledger and hook on testnet. Figures here are a looping demo.
Settle.
Swap once and watch the loop close inside your own transaction: rebate booked, pools paid, ledger solvent.