myelin
Robinhood Chain
01 App

Swap, or provide liquidity.

Connect a wallet, make a swap and see the hook set the fee in the same transaction, or add liquidity and earn the fees. It is native Uniswap v4; what sets this pool apart is the hook that prices every swap.

New here? What happens, and what you will be asked to sign
1. ConnectConnecting shares your address with this page and nothing else. Nothing is signed or spent, and the page never has access to your funds.
2. Approve onceThe first time you pay with a token, your wallet asks for two small approvals: the token to Permit2 (Uniswap’s approval contract), then Permit2 to the router. After that, each swap is a single transaction. Paying in ETH needs no approval: it is sent with the swap.
3. Read the resultAfter a transaction the card shows what you paid, what you received and the fee the hook actually charged next to the one it previewed. Your swap then appears on Live, and Verify recomputes its fee.
Step 1 · Wallet

Connect a wallet

Any wallet in your browser works. Nothing is sent to us: the page talks to the chain’s public RPC and to your wallet, and nothing else.

No wallet found in this browser yet. Install one such as MetaMask or Rabby, then reload.
Step 2 · Swap

Swap, and watch the fee

The swap goes through Uniswap’s own Universal Router. The hook sets the fee in the same transaction, from what the pool remembers about its recent price moves.

You receive about USDG
…
Fee the hook would charge now
—
of which to liquidity providers
—
of which to the Treasury (10%)
—
Price
—
Pool price
—
You receive at least
—
Slippage

The fee changes with the block you land in, so the amount you receive can differ a little from the quote; the transaction fails instead of paying you less than the tolerance allows. Paying in ETH needs no approval: it is sent with the swap, and whatever the swap does not use comes back.

Step 3 · Liquidity

Provide liquidity and earn the fees

Liquidity providers receive the part of every fee that is not the Treasury’s. Your position is an NFT from Uniswap’s PositionManager; removing it returns your tokens and the fees it earned.

Where the liquidity works
Price range
— USDG per ETH
Pool price now
— USDG per ETH
You put in
—
Pool liquidity now
—

The amounts are priced at the current price of the pool; one more percent is allowed for it to move before the transaction lands. What is not needed stays in your wallet (the ETH that is not needed is sent back in the same transaction).

Your positions in this pool

Connect a wallet to see your positions.