Why CLPs Exist
On Solana, users can only trade directly against liquidity that exists onchain. CLPs make offchain liquidity accessible without requiring users to give up self-custody or move funds offchain. Users keep SPL tokens in their wallet while liquidity providers act on onchain intent. This expands available liquidity beyond what atomic trades alone can support. For builders, this makes it possible to integrate professional liquidity providers without custodial risk.CLPs and Prediction Markets
DFlow uses CLPs to execute prediction market trades, where outcome tokens are filled asynchronously by liquidity providers after a user submits limit-priced intent onchain. This execution model makes it possible to trade prediction market outcomes using offchain liquidity while keeping positions tokenized on Solana.CLP Trade Lifecycle
A typical CLP trade follows this flow:- A user submits limit-priced trade intent
- Liquidity providers observe the open intent
- Fill transactions execute over time
- The user’s position increases, decreases, or closes