IOPN Defi
Full-stack DeFi platform on IOPN Testnet swap, stake, and transfer tokens with on-chain AMM smart contracts
by gunz166 · submitted Jul 18, 2026
Community votes
0
Voting opens when this submission reaches the Top 10 stage.
Overall score
0.0/ 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
IOPN DeFi a full-stack decentralized finance platform on IOPN Testnet (Chain ID 984). It includes a custom ERC-20 token (IFN IOPN Finance, 10M supply), an on-chain constant-product AMM swap (IOPN ↔️ IFN), a staking contract with IOPN rewards, and a clean dark-themed web frontend deployed on Vercel.
Everything is on-chain. No localStorage simulations. Real smart contracts, real swaps, real staking.
Live: https://iopn-defi.vercel.app Code: https://github.com/babiiih/iopn-defi
Why
IOPN Testnet needed a working DeFi primitive a place where builders and users can actually swap tokens, provide liquidity, and earn yield. Most testnet projects are mockups or simulations. This one deploys real AMM and staking contracts that hold real pool reserves and execute real token transfers.
How it works
Smart Contracts (Solidity 0.8.20):
IFN Token— ERC-20 with 10M supply, 18 decimalsMRASwap— Constant-product AMM (x·y=k) with 0.3% fee. Supports swap IOPN→IFN, swap IFN→IOPN, add/remove liquidityMRAStaking— Stake IFN tokens, earn IOPN rewards per block (~12% APR)
Frontend:
- Single-page HTML/JS app using ethers.js v5
- MetaMask wallet connect with auto-add IOPN Testnet network
- Dashboard: token balance, IOPN balance, pool rate, staking stats
- Swap: calls on-chain
swapIOPNForToken()/swapTokenForIOPN()with MetaMask confirmation - Staking: approve + stake/unstake/claim on-chain
- Transfer: direct ERC-20 transfer to any address
- Transaction history saved in localStorage per wallet
Deployed Contracts:
- Token:
0xaDb8a9C9d9D71153E56B1280bE36795B03ee685a - AMM Swap:
0x5284D7deDcf4b6242ea608a79E98788Fd58AFC06(2 IOPN / 200,000 IFN pool) - Staking:
0x063C91694c9EdbEE5881069625315e13dFb0a0e6(funded with 1 IOPN for rewards)
Stack: Solidity, ethers.js, vanilla HTML/CSS/JS, Vercel hosting, GitHub repo.
Roadmap
02/03
What ships next.
The builder's own next-quarter plan. Use it to gauge follow-through and ambition.
Q1 · Now (Season 1)
- ✅ Deployed IFN token, AMM swap, and staking contracts on IOPN Testnet
- ✅ Live DeFi frontend on Vercel with full on-chain functionality
- Add more liquidity pools (IFN/USDC, IFN/ETH pairs)
- Token vesting and airdrop contracts for early community
Q2 · Growth
- Launch on IOPN Mainnet (contracts + frontend migration)
- Multi-token swap router (support any ERC-20 pair)
- Yield farming with dual-token rewards
- Open-source SDK for other builders to integrate IFN swaps
Q3 · Scale
- Governance token + on-chain voting (IFN holders decide protocol fees)
- Cross-chain bridge (IFN on Arbitrum, Base)
- Mobile-first PWA with WalletConnect v2
- Onboard 10+ projects building on top of IOPN DeFi primitives
On-chain proof
03/03
1 contract on OPN Chain.
The chain itself confirmed every deployment is valid, signed by the builder's wallet, and inside the season's window.