UniPerp

A decentralized perpetual futures DEX on Uniswap v4 with vAMM, oracle pricing & lower funding rates.

ETHGlobal New DelhiShipped September 26, 2025Prize winner#defi#payments#privacy#zk#nft#infra
Visit Repo
UniPerp banner

About

UniPerp is a next-generation perpetual futures exchange built entirely on-chain, leveraging Uniswap v4 hooks to embed perpetual markets directly into liquidity pools. Instead of depending on external market makers or fragmented order books, UniPerp implements a virtual AMM (vAMM), where a constant product formula is applied to virtual reserves. This approach enables traders to open leveraged positions without requiring external liquidity providers. As a result, UniPerp achieves higher capital efficiency, lower trading costs, and strong resistance to MEV attacks, while ensuring that every trade remains verifiable on-chain.

For traders, the platform offers a familiar but enhanced experience. They can take leveraged positions of up to 20× across major crypto markets, with spreads kept tight because liquidity is virtual rather than fragmented. Collateral management is also simplified through a unified margin vault. Instead of maintaining separate margin balances across multiple markets, users deposit USDC once, and that single account supports collateralization across all perpetual pairs. This unified model improves capital efficiency and makes risk management easier.

Positions on UniPerp are tokenized as NFTs. Each open position is minted as an ERC-721 token that encodes a trader’s leverage, entry price, and margin. This makes positions transferable, composable with other DeFi protocols, and fully on-chain. A trader can move or sell their position as easily as any other NFT, while also gaining the possibility of using it in lending, vaulting, or other composable applications.

Price stability between perpetuals and spot markets is maintained through dynamic funding rates. UniPerp derives a robust mark price from both the vAMM state and external oracle feeds, such as those provided by the Pyth Network. Funding payments between longs and shorts are adjusted continuously on-chain, ensuring that perp prices remain closely aligned with spot markets without needing delayed settlement cycles.

Risk management is enforced through a layered safety framework. A liquidation engine continuously monitors positions and closes trades that become undercollateralized. If extreme volatility pushes losses beyond margin coverage, an insurance fund backstops the system and ensures that profitable traders are paid in full. As a last-resort mechanism, UniPerp employs auto-deleveraging (ADL), which redistributes risk by partially closing profitable positions if system solvency is at stake.

A core design priority of UniPerp is protection against MEV (Maximum Extractable Value). Across Ethereum, MEV has siphoned billions through sandwich attacks, front-running, and oracle manipulation. UniPerp addresses this problem at multiple layers. Orders are routed through a private execution layer, shielding them from the public mempool until finalized. This prevents MEV bots from inferring trade direction or size and executing sandwich strategies. Inside Uniswap v4 hooks, UniPerp is able to intercept trades in real time, run flash-loan and collateral checks, and reject abnormal flows before they settle. These safeguards ensure a secure execution path enforced at the protocol level.

Further, UniPerp extends trustless verification beyond execution by integrating zk-TLS proofs with Lighthouse. Every off-chain event, whether it is a price oracle read, a keeper liquidation, or a funding update, is accompanied by a zero-knowledge proof. These proofs are published to Lighthouse, producing an immutable audit trail. Sensitive details remain private, but correctness is always cryptographically provable. This ensures that UniPerp is not just decentralized in architecture but also verifiable in operation.

By combining Uniswap v4’s extensibility, virtual AMMs, continuous funding, and zk-secured MEV protection, UniPerp introduces a perpetual futures exchange purpose-built for DeFi. It achieves capital efficiency by eliminating idle liquidity, lowers fees by removing the need for incentivized external LPs, and guarantees provable correctness through zk-TLS and Lighthouse proofs. Most importantly, it provides an execution environment that is resistant to hidden MEV costs. Together, these features make UniPerp a scalable, efficient, and trust-minimized alternative to traditional perpetual futures platforms.

Prizes

  • ETHGlobal · ETHGlobal · 🏆 ETHGlobal New Delhi 2025 Finalist
  • Uniswap Foundation · Build with Uniswap v4 Hooks · 2nd place

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Waffle Finance

Revolutionizing DeFi with BAMM (Borrow AMM) by virtualizing liquidity pools and integrating dual-sided lending markets, optimizing asset utilization and generating additional yield for liquidity providers. Making possible yield and leverage for any asset pair.