LIQUID
HOOKS.
Compose router-enforced rules for swaps and liquidity events. Simulate policies, install them per pool and keep every decision observable on-chain.
Rules that compose.
Pick a policy module, configure it for a pool and let the integration router evaluate it at the matching lifecycle callback.
Design the route.
Explore a local policy model, then connect your wallet below to install policies and build an atomic mainnet swap.
Install. Check. Swap.
Your wallet signs each transaction. A simulated review shows fees, account rent and the exact action before approval.
Policies are scoped to your wallet and pool. Only you can update them; another wallet cannot overwrite your configuration.
Quotes use one Orca or Raydium CLMM pool. An empty pool field is filled from the quote.
The router checks every active swap policy before its Jupiter CPI and verifies the real wallet and vault deltas afterward. A veto reverts the entire swap. Range signals observe the actual post-swap tick. Time locks apply to liquidity actions, not swaps; fee outcomes remain signals.
Checking Solana mainnet…
Review before signing
Simulation logs
The new router validates the selected pool, SPL token accounts, approved price bounds and exact token movements on-chain. These checks cover trades through Liquid Hooks, not other trading interfaces. Wallet allowlists are materialized address lists; KYC authorities and fee overrides are informational. Review deployment status and cost ↗
The enforcement boundary.
Liquid Hooks policies are enforced when an integrating router calls the executor in the same transaction.
Signs one atomic route.
Normalizes context and evaluates installed rules.
Executes the integrated route.
Important: direct DEX or aggregator swaps do not automatically call Liquid Hooks and can bypass these policies. This interface describes the current repository, not native hooks inside third-party pools.
Inspectable by default.
Registries, installations, parameter blobs and hook decisions use deterministic Solana accounts. The deployed program is upgradeable and its published source has not received a third-party audit.
DzFQdE89UenKPLDpVHqJgubJwfvRFhPvcVSzPFfYWhWP