DOCUMENTATION & ARCHITECTURE
Comprehensive technical reference for Predix — a fully decentralized, non-custodial prediction market protocol powered by Solana smart contracts, automated market makers (CPMM), and dispute-governed resolution.
01. PROTOCOL OVERVIEW
Predix allows anyone to trade on the outcome of real-world events. Every market is backed by 100% full collateral (USDC) secured on-chain in program-controlled Vault Program Derived Addresses (PDAs).
Every pair of outcome tokens (1 YES + 1 NO) is backed by exactly 1.00 USDC deposited in the market vault PDA. There is zero algorithmic leverage or fractional backing.
Trades execute instantly against an on-chain Constant Product Market Maker (CPMM). No order books, off-chain matching engines, or market maker APIs required.
When an oracle resolves an event, a 48-hour dispute window opens. Any trader can flag erroneous or malicious resolutions before payouts are unlocked.
Traders do not need to wait until market expiration to exit. Users can merge matching pairs (1 YES + 1 NO) to withdraw USDC anytime prior to resolution.
PROTOCOL ARCHITECTURE
User Wallet (Trader / LP)
│── Deposits USDC ─────────► [ Market Vault ATA (PDA: b"vault", market_pubkey) ]
│◄── Mints / Swaps ───────► [ Outcome YES Mint / Outcome NO Mint ]
│── Trades Shares ────────► [ Constant Product AMM Pool (x * y = k) ]
└── Redeems Winnings ─────► Burns Winning Tokens ──► Receives 1.00 USDC / Share