Delphi Perps Logo

Delphi Perps

A Decentralized Perpetual Futures Protocol on Base

January 2026Testnet Live on Base Sepolia

1.Executive Summary

Delphi is a fully decentralized perpetual futures exchange built on Base, designed to deliver the speed, simplicity, and professional features traders expect from centralized platforms—while keeping everything truly on-chain where it matters.

Collateral stays in smart contracts under user control. Settlement is on-chain. Liquidations are transparent and automated. Prices come from institutional-grade oracles. No custody, no opacity, no sudden pauses—just leveraged trading done right.

2.The Name: Delphi

In ancient Greek myth, Delphi was revered as the literal center of the world—the omphalos, a sacred stone marking the exact spot where Zeus released two eagles from opposite ends of the earth, and they met in flight above the site. Apollo claimed the sanctuary by defeating the serpent Python, then established his oracle there. The priestess Pythia, seated above vapors rising from the earth, delivered prophecies that guided kings, generals, and entire city-states for centuries. Delphi wasn't just a place of prophecy; it was the trusted source of truth in the ancient world.

DeFi deserves its own trusted center.
Delphi is that center for decentralized perpetual futures.

We're building in Coinopolis, the emerging on-chain financial metropolis where liquidity, leverage, and innovation converge. And naturally, we power our price feeds with Pyth Network—because if you name your protocol after the most legendary oracle in history, you don't compromise on prophecy.

3.Why Base?

Base's flashblocks deliver sub-second finality in testing, making it the ideal chain for high-frequency trading applications. Faster confirmations mean tighter spreads, more accurate liquidations, and a dramatically better trading experience—especially under leverage.

We launched the testnet on Base Sepolia to leverage this infrastructure from day one. When mainnet arrives, Delphi will be ready.

4.Protocol Overview

Delphi combines on-chain settlement with minimal off-chain services for performance:

  • Smart Contracts (Solidity): ClearingHouse, OrderManager, PositionManager, LiquidationManager, FundingManager, Vault, PythOracle
  • Backend Services (Rust with Alloy): Matching engine, market maker bot, liquidator bot
  • Frontend (Next.js + React): Professional trading interface with real-time charts and one-click execution

All off-chain components use isolated signing keys and run in scalable containers.

5.Architecture

Smart Contract Layer

ContractResponsibility
ClearingHouseCentral orchestrator, balance management, insurance fund
OrderManagerLimit/market orders, atomic maker pairs, lifecycle
PositionManagerPosition tracking, PnL, margin, liquidation prices
LiquidationManagerLiquidation execution and fee distribution
FundingManagerFunding rate calculation and settlement
VaultCollateral custody with Aave yield integration
PythOracleReal-time price feeds from Pyth Network

Backend Services Layer (Rust)

Matching Engine
  • • WebSocket subscription to blockchain events
  • • In-memory order book with O(1) lookups
  • • Continuous matching loop → on-chain transaction submission
  • • Position cache for instant liquidation checks
  • • WebSocket broadcasting to frontend
Market Maker Bot
  • • Automated liquidity with configurable spreads
  • • Atomic bid/ask pairs
  • • Inventory controls and volatility circuit breakers
Liquidator Bot
  • • Real-time margin monitoring
  • • Automated liquidation submission with reward capture

Frontend Layer

  • TradingView-style charts (multiple timeframes)
  • Real-time order book depth
  • One-click trading (WalletConnect/MetaMask)
  • Live PnL and risk metrics
  • Mobile-responsive

6.Trading Mechanics

Order Types

Limit

Resting order at specified price, earns maker fees

Market

Immediate execution with slippage protection

Market Maker

Atomic bid+ask pairs for liquidity provision

Reduce-Only

Close-only orders that cannot increase position

Position Management

  • Leverage: 1–10x (isolated margin)
  • Liquidation Price: Entry × (1 ± (1/leverage − maintenance margin))
  • Maintenance Margin: 5%
  • Risk Tools: Stop-loss, take-profit, trailing stops

Funding Rate

  • Calculated hourly based on market skew
  • Longs pay shorts (or vice versa) to anchor perpetual price to spot
  • Settled automatically on position changes

Liquidation Process

  1. Margin ratio falls below maintenance margin (5%)
  2. Liquidator detects via real-time monitoring
  3. liquidatePosition() submitted
  4. Fees distributed: liquidator reward (~1%), insurance fund, treasury
  5. Remaining margin returned to trader

7.Price Feeds & Oracles

  • Primary: Pyth Network, pull-oracle (sub-second latency)
  • Fallback: Aggregated WebSocket feeds from major exchanges
  • Historical: Candles (1m–1w) stored in PostgreSQL for charting

8.Collateral & Yield

  • CUSD: Protocol-native stablecoin collateral (1:1 USD peg)
  • Idle collateral deposited to Aave → traders earn yield while holding positions

9.Fee Structure

Maker Fee

0 bps (configurable)

Taker Fee

Volume-tiered

Liquidation Fee

2.5% of position value

10.Security & Risk Management

  • Full self-custody—no centralized counterparty
  • Modular contracts with restricted permissions
  • Insurance fund for socialized losses
  • Circuit breakers on extreme volatility or RPC issues
  • Dedicated hot wallets per service (minimal funds)
  • Full audit planned before mainnet incentives

11.Current Status & Roadmap

v1.0 (Testnet Live – Base Sepolia)

BTC-USD & ETH-USD markets
Limit/market orders
Up to 10x leverage
Automated liquidations & funding
Professional UI
Market making bot

Future

More markets
Advanced orders (stop-limit, iceberg)
Cross-margin
Partial liquidations
Maker rebates
Mobile app
Multi-chain expansion

12.Technical Specifications

LayerTechnology
ContractsSolidity, Foundry
BackendRust, Alloy, Axum, Tokio
FrontendNext.js 14, React 18, TypeScript
DatabasePostgreSQL (historical candles)
ChainBase (Ethereum L2)
OraclePyth Network
WalletWalletConnect, MetaMask

Conclusion

Centralized perps proved traders want speed and simplicity. Delphi delivers exactly that—without asking anyone to trust a custodian.

The oracle has spoken.
Time to trade.

Delphi Team

January 2026