OPN Swap
The first AMM DEX on OPN Chain — swap tokens, provide liquidity, earn fees.
by _hiimhuy · submitted Jun 18, 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
OPN Swap is a fully functional Automated Market Maker (AMM) decentralized exchange deployed natively on OPN Chain Testnet. It implements the constant-product formula (x · y = k) — the same mathematical foundation behind Uniswap — purpose-built for the OPN ecosystem.
- Token swapping with a 0.3% LP fee, slippage protection, and real-time price impact display
- Liquidity pools where users deposit token pairs and receive LP tokens representing their share
- Built-in token faucet so anyone can test the DEX in under 60 seconds — no external faucet needed
- Factory pattern that supports creating unlimited token pairs, making the protocol extensible
Every transaction — swaps, liquidity additions, removals — happens on OPN Chain. The contracts use no off-chain computation, no oracles, and no trusted intermediaries.
Why
Every DeFi ecosystem starts with a DEX. OPN Chain needs permissionless trading infrastructure where users can swap tokens without a centralized intermediary. OPN Swap demonstrates that OPN Chain is ready for real DeFi by providing the foundational liquidity layer that other protocols (lending, derivatives, yield) will eventually build on top of.
How it works
- Liquidity providers deposit equal-value amounts of two tokens into the pool. They receive LP tokens proportional to their share.
- Traders swap one token for another. The contract calculates the output using the constant-product formula with a 0.3% fee.
- LP token holders can burn their LP tokens at any time to withdraw their proportional share of both reserves — including accumulated fees.
The swap fee (0.3%) stays in the pool and is distributed pro-rata to all liquidity providers.
Roadmap
02/03
What ships next.
The builder's own next-quarter plan. Use it to gauge follow-through and ambition.
Q2 2026 — MVP (Current)
- Deploy core AMM contracts on OPN Chain Testnet
- Launch swap interface with real-time quotes
- Implement liquidity pool management UI
- Built-in faucet for test tokens
- Open-source codebase
Q3 2026 — Multi-pair & Analytics
- Deploy router contract for multi-hop swaps (A → B → C)
- Token list registry for community-curated token metadata
- Analytics dashboard: TVL, volume, fees earned per pool
- Subgraph indexer for historical trade data
Q4 2026 — Yield & Governance
- Liquidity mining program with OPN Swap governance token
- Fee-sharing mechanism for protocol sustainability
- Governance voting for fee parameters and token listings
- Mobile-optimized progressive web app
2027 — Advanced AMM
- Concentrated liquidity (Uniswap V3-style) for capital efficiency
- Limit orders via on-chain order book hybrid
- Cross-chain bridge integration for multi-chain liquidity
- Mainnet deployment on OPN Chain
On-chain proof
03/03
3 contracts on OPN Chain.
The chain itself confirmed every deployment is valid, signed by the builder's wallet, and inside the season's window.