A ve(3,3) DEX with perpetuals integration, bringing Solidly-style tokenomics to derivatives trading
We set out to bring the proven ve(3,3) tokenomics model—pioneered by Solidly—to the perpetuals market. Traditional perp DEXes suffer from mercenary liquidity and misaligned incentives between traders and LPs. Our protocol solves this by implementing vote-escrowed governance where veEQUAL holders direct emissions to gauges, creating deep liquidity where it's needed most.
The architecture includes stable and volatile AMM curves, gauge voting for emission distribution, bribe markets for vote incentives, and a rebasing mechanism that protects long-term holders from dilution. Our roadmap includes integrating perpetual contracts on top of this foundation, creating a unified trading experience with superior capital efficiency and aligned incentives across all participants.
We built this as a modular monorepo with three main packages:
Smart Contracts: Written in Solidity using Foundry for testing and Hardhat for deployments. The core contracts include Pair (AMM with stable/volatile curves), VotingEscrow (veNFT positions), Gauge (LP staking), Voter (emission routing), and a full bribe system. We adapted the original Solidly architecture and made it deployment-ready.
API: A lightweight Hono server deployed on Vercel that indexes on-chain data and serves pair stats, TVL, and volume analytics.
Frontend: Built with Next.js 15 (App Router), wagmi, and viem for Web3 connectivity. We also ported the original Solidly UI as a reference implementation.
The contracts were developed first with comprehensive test coverage, then we built the API layer for data aggregation, and finally connected everything through the React frontend. It's a work in progress—our next phase focuses on the perpetuals integration.

