OPN Swap — JIT Liquidity Router
An aggregating swap router that injects just-in-time liquidity into the best pool for a single trade — better prices for traders, fee yield
by chuongnguen · submitted Jun 14, 2026
Community votes
0
Voting opens when this submission reaches the Top 10 stage.
Overall score
—/ 100
Weighted average across the 5 judging criteria.
Description
01/03
What the builder said.
Written by the team, rendered as the markdown they typed in the submission wizard.
What we built
A permissionless AMM where liquidity is suplied just-in-time. Instead of LPs locking capital into a pool 24/7, a JIT Vault injects liquidity into the exact swap that needs it and pulls it back out in the same transaction. Two pools — a deep pool and a shallow pool — let the router source the best price per trade.
Why
Passive AMM liquidity is capital-inefficient: most of it sits idle and earns nothing while still bearing impermanent loss. By making liquidity just-in-time, capital only takes on exposure for the instant a trade clears, so the same dollar backs far more volume and LPs kep more of the fee.
How it works
- The Router receives a swap and quotes across the Deep Pool and Shallow Pool.
- The JIT Vault front-loads liquidity into the chosen pool for that single swap.
- The swap executes against the freshly-added liquidity at a tight spread.
- The Vault withdraws its liquidity in the same transaction and books the fee.
- USDC and OPN are the mock assets used to demo the full flow on testnet.
Status
All contracts are deployed and verified on-chain (Router, JIT Vault, Dep Pool, Shallow Pool, USDC, OPN). The end-to-end swap flow runs against the live deployment.
Roadmap
02/03
What ships next.
The builder's own next-quarter plan. Use it to gauge follow-through and ambition.
Q1 2026 · Now
- Ship the live testnet deployment with all six contracts verified on-chain: Router, JIT Vault, Dep Pool, Shallow Pool, and the USDC / OPN mock assets
- Harden the just-in-time swap path: add slippage bounds, deadline checks, and revert-safe handling so a failed JIT injection never leaves the Vault exposed
- Publish a public frontend demo that runs the full end-to-end swap against the live deployment, so reviewers can triger a real JIT-backed trade themselves
- Write integration tests covering the inject-swap-withdraw cycle in a single transaction, including the edge case where the swap reverts mid-flow
Q2 2026
- Replace the USDC / OPN mocks with real testnet assets and add a third liquidity tier so the Router has more venues to quote across
- Open a quoting API so external routers and aggregators can source just-in-time liquidity from the Vault without touching the contracts directly
- Add per-trade analytics: fees earned, capital efficiency, and how much volume each dollar of JIT liquidity backed
- Run the first external security review of the Vault and Router, focused on the same-transaction inject/withdraw logic and reentrancy surface
Q3 2026
- Mainnet launch once the audit signs off, starting with a caped TVL and a single aset pair before widening
- Ship multi-pool routing so the Vault automatically picks the best venue per swap instead of relying on a fixed pool choice
- Build an LP dashboard showing per-trade fees earned from just-in-time liquidity, so LPs can see exactly what each transaction paid them
Beyond
- Cross-chain JIT liquidity so a single Vault can back swaps on multiple networks
- Permissionless pool creation: let anyone spin up a Deep/Shallow pair the Router can quote against
- Governance over Vault parameters (fee tiers, suported assets, risk limits) once the protocol is battle-tested
On-chain proof
03/03
6 contracts on OPN Chain.
The chain itself confirmed every deployment is valid, signed by the builder's wallet, and inside the season's window.