Weyl

Send your swaps to a whale.

Every harbor is a Uniswap v4 pool. Swap on it with a signed price in hookData, and whales fill you first whenever they beat the route. No key, no fee, no sign-up.

The API

  • GET /api/v1/harborsEvery harbor: its pool, its route, its price, the whales on each side.Try it
  • GET /api/v1/quoteWhat a swap gives with the whales and without, and the call to send. harbor=WEYL/HYPE, sell=unit, amount in raw units.Try it
  • GET /api/v1/whalesWho is aboard now, and the last ones that came.Try it
  • GET /api/v1/tilesLaid tiles. from, n (200 at most).Try it
  • GET /api/v1/boardTotals, who saved the most, the most generous whales.Try it
  • GET /api/v1/poolsThe v4 pools of a token a harbor can be opened on. token=0x…Try it
  • GET /api/pilotA harbor's price, signed for the hook, good for 20 seconds. h=harbor id.

The widget

A price with and without the whales, on your own page. It opens the app to swap.

<iframe src="https://weyl.fun/embed?h=weyl" width="420" height="330" style="border:0;border-radius:8px" title="Swap with a whale on board"></iframe>

The contracts

The hook's owner can change who signs prices, a harbor's smallest order, whether it takes new orders and whether it lays tiles. Nothing lets the owner touch an order or keep one aboard, and a harbor's route never changes.

Prices are signed by this site: Hyperliquid's for HYPE, the pool's median over two minutes for every other token. A whale sells at the better of that and the pool, never past her floor. With no recent signature every swap is a plain pool swap. None of it is audited.