OptiDex
OptiDex: On‑chain options DEX via 1inch limit orders—mint, trade & exercise option NFTs.
Problem Statement
OptiPair is a fully on‑chain, self‑custodial options‑writing protocol built on 1inch’s Limit Order Protocol. Writers lock ETH or USDC in vaults to mint ERC‑721 option NFTs tied to specific strikes and expiries, then post on‑chain limit orders for buyers to purchase premiums or exercise at expiry. All issuance, trading and settlement happen atomically via 1inch hooks—unexercised collateral rolls over automatically, and an on‑chain auction mechanism ensures fair pricing—all without any off‑chain custodian.
Solution
We built OptiPair’s core in Solidity (0.8.x) and rigorously tested & deployed it with Foundry, wiring into 1inch’s Limit Order Protocol for atomic on‑chain option issuance, trading, and settlement. An off‑chain TypeScript SDK handles order construction and ERC‑2612 permits, while the UI is a Next.js/React app styled with Tailwind CSS and powered by Ethers.js for seamless wallet integration.
Hackathon
ETHGlobal Unite
2025