Mesh overview
Mesh is the protocol's liquidity layer. Each LP position is its own covenant UTXO at a fixed price, owned and exited by a single key.
Pooled AMMs put every LP's capital into one shared contract and pay fees pro-rata. Mesh does the opposite: every position is an isolated UTXO locked by a StrategyCovenantV2 covenant. A fill that trades against your pool pays your pool, and only you can take the money out.

Properties
| Mesh strategy pool | |
|---|---|
| Custody | One UTXO, covenant-locked; only the owner key can dock() |
| Fees | 100% to the pool that was traded against |
| Pricing | Fixed rate: priceNumerator / priceDenominator minus feeBps |
| Pairs | BCH ↔ one CashToken, one direction per pool |
| Exit | One owner signature returns everything |
| Discovery | Server indexes registered pools; appears in /quote, /orderbook, /positions |
How pools get used
Pools are passive. They never move on their own. Solvers (the Mesh Server's matcher, or anyone else) include a pool in an atomic fill when its price clears an intent's minimum. The pool covenant checks only one thing: it was paid at least its price for what it released.
Mesh is always tried first. Cauldron and solver inventory are fallbacks, so fee volume stays with Mesh LPs whenever they can serve the order.
- Strategy pools: The covenant, its parameters and the two spend paths.
- Pool lifecycle: Configure, fund, register, trade and dock.
- Pricing math: Exactly how much a pool releases for a given input.
- Security model: What the covenant guarantees and what it doesn't.