Robinhood Chain · Uniswap v4 hook

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
Settlement ledgerDemo feed
0.0000USDX
Pool side 0%Settlements 0
↗

Trader rebateBuys · 45% of realized gain

+0.0000
∿

Pool rewards55% / 85% · shared by active liquidity

+0.0000
↻

Keeper sweeptip taken from the sell share

auto
⊘

Outside botsbeaten inside the same call

−0.0000
Built for Robinhood Chain

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.

74.5%

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.

Chain timeline

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.

Jul 1, 2026

Chain goes live

Robinhood Chain opens as an Arbitrum Orbit Layer 2, chain ID 4663.

Jul 2

Uniswap arrives

Uniswap v2, v3, v4 and UniswapX launch alongside it, so swaps and liquidity are available from day one.

Jul 7

First-week volume

Uniswap reports more than $250M traded in the chain’s first week.

Late Jul

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.

Sep 4–8

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.

Oct 22

Aggregator hooks

Uniswap turns on aggregator hooks on Ethereum, Base and Robinhood Chain, letting v4 route through outside liquidity.

Nov 6

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.

How it works

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.

01

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.

02

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.

03

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.

04

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.

Safety

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.

Watch a skip

When it’s not worth it, it stays out.

Real example of a trade the hook declines.

Capture request · balanced pools
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
TriggerBUY 1.0 USDX
Estimate0.0000003 USDX
Floor0.0001 USDX
Payoutnone
Checked before any funds move
Estimate under the floorSkipped up front, no gas spent on it
SKIP
Estimates never payOnly measured balance changes count
ENFORCED
Ledger ≤ capturedSolvency tested on every write
INVARIANT
Skipped(noGain)Nothing captured, nothing paid. Your swap still completes.
Value out, value in

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.

Buy rebate 45%

You bought the base token: 45% of the realized gain is yours instantly.

Sell rebate 15%

You sold: 15% is yours, the pool side keeps 85%.

Keeper tip

Anyone can sweep leftover gaps; the tip comes out of the trader share.

Claim any time

Funds sit in the ledger, pulled per token, never blocked or diluted.

To liquidity

Lands in fee growth, split by in-range share.

Sibling pools 30+30%

The two pools that closed the gap earn the biggest cut.

Designated pools 20+20%

Operator-chosen pools share the rest. Every share is owner-set in bps.

Native payout

Uses v4 donate. In-range LPs collect on their next harvest, no lockups.

Bring a token

Any project can register a pair and open two hooked pools to start paying LPs.

For developers

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 network

The capture economy, counted live.

Read straight from the ledger and hook on testnet. Figures here are a looping demo.

Captured gain
0.0000
lifetime, realized
Rebates claimed
0.0000
accrued, waiting to claim
Pool rewards
0.0000
donated pro rata
Captures run
0
solvent: yes
Trade · Settle

Settle.

Swap once and watch the loop close inside your own transaction: rebate booked, pools paid, ledger solvent.

How it works

From swap to claimed rebate.

Echoloop runs inside your own transaction on Robinhood Chain. It looks for the price gap your trade just created, closes it if that is worth doing, and pays out only what was actually earned.

1

A gap opens

Your swap moves one pool, so its sibling pool (a different fee tier of the same pair) is briefly off-price.

2

The loop closes

The hook buys on the cheap pool and sells on the dear one, right after your swap and before outside bots can act.

3

The gain is shared

Realized gain is split between you, as a claimable rebate, and the pools that absorbed the move.

Step by step

What happens in one transaction.

Step 1

You swap a hooked pool

Pick a stock token or ETH against USDX and swap through the router. Both fee tiers of the pair carry the Echoloop hook.

Step 2

Your trade creates a gap

The pool you used moves. The sibling pool does not, so the two now quote slightly different prices.

Step 3

afterSwap fires

The hook asks the Checker to price up to six possible loops across sibling pools and approved outside venues. It uses closed-form math only, so the work is bounded.

Step 4

The floor check

If the best estimate is under the minimum gain, the loop is skipped before any funds move. You pay no extra gas for it and your swap still completes.

Step 5

The Executor runs the loop

At most two loops are executed. Each one buys on the cheap side, sells everything on the rich side, and settles every balance change.

Step 6

The Ledger books the result

Payout is computed from balances measured after settlement, never from the estimate. Your share accrues instantly and you claim it whenever you like.

Worked example

One buy, followed through.

Sample trade · illustrative numbers
TradeBuy sTSLA with 1,000 USDX
Gap after swap21 bps
Estimated gain0.62 USDX
Realized gain0.60 USDX
Where the 0.60 USDX goes
You (buy share, 45%)0.270
Pool side (55%)0.330
↳ sibling pool A (30%)0.099
↳ sibling pool B (30%)0.099
↳ designated pools (20% + 20%)0.132

On a sell, the split flips to 15% for you and 85% for the pool side.

Who does what

Every role, one line each.

TraderSwaps as usual and claims the rebate from the ledger.
Liquidity providerHolds in-range liquidity and earns the pool share through fee growth.
KeeperSweeps leftover gaps and keeps a tip taken from the trader share.
Token projectRegisters a pair and opens two hooked pools so its LPs start earning.
Outside botsFind the gap already closed, because the hook acts first.
Questions

Things people ask.

Does the hook change my swap price?

No. Your swap executes first at the quoted price. The loop runs after it, and the rebate arrives on top.

What if there is nothing to capture?

Then nothing is paid. The hook records a skip and your swap completes normally.

Can swaps ever be blocked?

No. Pauses stop capture only. Trading itself keeps working.

Why Robinhood Chain?

Tokenized stocks trade there in Uniswap v4 pools, and most v4 trades on the chain already pass through hooks, so closing gaps per swap fits the flow.

Is this live?

No. Echoloop is a concept demo. All figures are samples, and it is not affiliated with Robinhood or Uniswap Labs.

Glossary

Terms in plain words.

Hook

A contract a Uniswap v4 pool calls around events such as swaps.

Backrun

A trade placed right after another to profit from the price it moved.

Sibling pools

Two pools for the same pair at different fee tiers.

Realized gain

Profit measured from balances after the loop settles.

Floor

The minimum estimated gain needed before a loop runs.

Donate

A v4 action that adds funds to fee growth for in-range LPs.

Console

App

← Back to site