GradOrNotGradOrNot
CreateMarketsLeaderboardDocsPortfolioProfile
GradOrNotGradOrNot·Prediction Markets on Solana
Devnet

Getting Started

OverviewDevnet GuideLiveMarket TypesTradingCreating Markets

Platform

Positions & PortfolioResolutionClaiming WinningsKeeper System

Advanced

AMM & PricingFeesCreator Fees

Resources

Safety & RisksFAQ

GradOrNot Protocol

Prediction markets on Solana

AMM & Pricing

GradOrNot uses a Constant Product Automated Market Maker (AMM) to price YES and NO shares. This is similar to how Uniswap prices tokens, adapted for binary outcomes.

How Prices Work

The AMM maintains virtual reserves of YES and NO shares. The price of each side is determined by the ratio of virtual reserves:

yes_price = no_supply / (yes_supply + no_supply)

no_price = yes_supply / (yes_supply + no_supply)

// Prices always sum to ~1.0

Virtual Liquidity

The AMM uses virtual reserves — there is no separate pool account holding real token liquidity. Instead, the market account tracks virtual YES and NO reserve numbers that determine price. To prevent extreme price swings on early trades, each market starts with a virtual liquidity offset so the first trader doesn't move the price from 0.50 to 0.99 in a single trade.

Price Examples

StateYES PriceNO PriceMeaning
Fresh market0.500.5050/50 odds
More YES buyers0.750.2575% chance YES wins
Strong NO sentiment0.200.8080% chance NO wins
Near certainty0.950.05Market very confident
Keeper SystemFees