How to use

Test Brook yourself.

Brook is a Uniswap v4 hook that turns swap fees into steady, paycheck-style LP yield. This page walks you through providing liquidity and claiming real yield on Unichain Sepolia — entirely from your own wallet.

What Brook does

Most LP income is volatile: big fees one week, nothing the next. Brook smooths it. A slice of every swap fee goes into an epoch buffer instead of paying out instantly. When the epoch ends, that buffer becomes the next epoch's payout pool, streamed to LPs and weighted by how long each stayed in range. Predictable income that committed liquidity can plan around.

This is a live testnet demo. Everything runs on Unichain Sepolia with throwaway test tokens. Brook is pre-audit and pre-mainnet — never use this code to custody real funds.

Before you start

A browser walletAny EVM wallet that injects into the page — MetaMask, Rabby, Coinbase Wallet, Frame, and others all work.
Unichain SepoliaChain ID 1301. The app adds it for you on connect, or add it manually with RPC https://sepolia.unichain.org
A little testnet ETHYou pay your own gas. Amounts are tiny — fractions of a cent per action.

The six steps

Connect your wallet

Click Connect Wallet. The app switches you to Unichain Sepolia automatically.

Mint test tokens

Click Mint tokens to get demo tokens (DTA and DTB) sent to your wallet. These are free, open-mint test tokens.

Approve the router

Click Approve so the router can move your tokens when you provide liquidity and swap. Two quick approvals, one per token.

Add liquidity

Click Add liquidity. You provide full-range liquidity, and your position is keyed to your address — so only you can claim its yield.

Swap to fill the buffer

Click Swap. Twenty percent of the swap output skims into the epoch buffer. Watch the buffer figure climb on the main page.

Roll the epoch, then claim

Once the epoch timer reaches 100%, click Swap to roll — this moves the buffer into the payout pool. Then Claim yield sends your vested share to your wallet.

Why the wait? Brook pays out the previous epoch's buffer, so an epoch has to close before there's anything to claim. The demo pool uses a short one-hour epoch so you don't wait long. On a real pool this would be a week.

The contracts

Everything is verified and on chain. Read the source, query state, check every transaction: