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
- Hook0x7E50Bc4fc2ab0254d432Bb9f265E9914CE532888
- Router0x17A9d80C2B4Ba282f7BBc789F8f3F46b917242Ab
- Wall0x53B50f0D3257B52D015DA2D491Cb73BAAbc5972B
- WEYL token0x4E89448D1302b8Ad62f97E5eEd54eAD44F459E4D
- Uniswap v4 PoolManager0xE2e105d3F7209A9DA11f83cCf3E7398a753823F1
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.
