Unicorn Protocol is the most customizable, lowest-cost AMM ever conjured. Built on Horn Hook architecture — Uniswap v4's infinite extensibility, reimagined with mythical power.
Every pool is a programmable primitive. Attach a Horn Hook contract to intercept and transform any lifecycle event — the protocol calls your code, not the other way around.
Execute logic immediately before and after each swap. Build custom routing logic, MEV protection, or real-time fee adjustments.
Gate or transform liquidity additions. Implement KYC pools, bonding curves, or auto-compound strategies on deposit.
Trigger reward harvesting, unstaking, or fee collection atomically with LP withdrawals.
Implement treasury routing, protocol fee splits, or incentive programs triggered by donations to LP positions.
Unicorn's singleton pool manager and flash accounting reduce pool creation cost by 99.9% and multi-hop swap gas by up to 40% versus any prior AMM design.
Unicorn v1 underwent nine independent security audits, a $50K audit competition, and formal verification by three separate teams. The protocol is mathematically proven.
Unicorn ships with a complete developer toolkit — from local testing environments to production-ready Hook templates. Build on the most expressive AMM ever deployed.
Full protocol documentation covering the PoolManager, Horn Hook architecture, Spell Actions encoding, and migration guides from Uniswap v3.
→Foundry-based SDK with BaseHook scaffolding, test helpers, mock pool managers, and gas benchmarking utilities. Start building in minutes.
→100+ reference implementations: TWAP oracles, limit orders, MEV protection, dynamic fees, on-chain order books, and yield-bearing LP positions.
→Pool Manager addresses on Ethereum, Arbitrum, Optimism, Base, Polygon, and Avalanche. All verified on Etherscan and indexed by The Graph.
→Join 28,000+ developers in the Unicorn Discord and governance forum. Get help, share your hooks, and vote on protocol upgrades.
→The Unicorn Foundation awards up to $500K to teams building transformative Horn Hooks and tooling. Apply today.
→