VortexPerpDocumentation

Pyth Network Oracles

How VortexPerp guarantees accurate, manipulation-resistant pricing using Pyth.

The Oracle Problem

A perpetual futures protocol must know the real-time, global price of an asset (like SOL/USD) to accurately calculate PNL (Profit & Loss) and process liquidations. If a single bad actor manipulates the price on one exchange, a naive protocol might use that manipulated price to liquidate honest users.

To solve this, VortexPerp integrates deeply with the Pyth Network, an industry-leading decentralized financial oracle.

How it Works

Pyth aggregates data from dozens of top-tier institutional exchanges and market makers simultaneously. It calculates a volume-weighted median price, which completely filters out flash crashes or manipulation occurring on any single exchange.

Before any trade is executed on-chain, the latest cryptographically signed live price from Pyth is passed into the VortexPerp smart contract. This guarantees that:

  • Your PNL is based on the true global market price.
  • Liquidations only happen when the global market moves, not when a single localized flash crash happens.
  • The protocol is safe from oracle manipulation exploits.
← PreviousLiquidations