Documentation Index
Fetch the complete documentation index at: https://prophet.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Every Prophet market has two tradable assets: YES shares and NO shares. Each trades between 1.00 USDT. The price at any moment represents the market’s implied probability of that outcome. If you think an event will happen, buy YES. If you think it will not happen, buy NO. If you change your mind, sell your shares back to the AMM before the market closes.Finding a Market
- Open the Prophet app and navigate to the Markets page
- Browse open markets by category (Sports, Finance, Politics, Crypto, Other)
- Each market card shows:
- The market question
- Current YES price (left) and NO price (right)
- Time remaining until the deadline
- Total liquidity in the AMM pool
- Click a market card to open the full trading view
Understanding the Price Display
Prices are shown as dollar amounts between 1.00:- The market implies a 63% probability the event occurs
- The market implies a 37% probability the event does not occur
- YES price + NO price always equals $1.00
- If you believe the probability is higher than the displayed price, buying that share is positive expected value
- If you believe the probability is lower, buying the opposite share is positive expected value
Buying YES Shares
Enter your amount
Type the USDT amount you want to spend (e.g., 50 USDT). The panel shows:
- Estimated shares you will receive
- Expected price per share after your trade
- Price impact (how much your trade moves the price)
Check slippage tolerance
The default slippage tolerance is 1%. This means the transaction will revert if the actual price is more than 1% worse than displayed. Increase this for large trades on thin markets.
Approve USDT (first time only)
If this is your first trade on Prophet, MetaMask will ask you to approve the contract to spend your USDT. Click “Approve” and confirm the transaction. This is a one-time step.
Click Buy YES
Click “Buy YES” and confirm the transaction in MetaMask. The transaction submits to 0G Chain and confirms in ~1–2 seconds.
What Happens On-Chain
When you buy YES shares:- Your USDT enters the MarketContract
- The AMM mints complete sets (YES + NO) from the USDT
- The YES shares go to your wallet
- The NO shares increase the pool’s NO reserve (making YES more expensive)
- The AMM state updates: YES price rises, NO price falls
Buying NO Shares
The process is identical to buying YES, but click the “NO” tab instead. When you buy NO shares:- Your USDT enters the MarketContract
- The AMM mints complete sets (YES + NO) from the USDT
- The NO shares go to your wallet
- The YES shares increase the pool’s YES reserve (making NO more expensive)
- YES price falls, NO price rises
Selling Shares
You can sell your shares back to the AMM at any time while the market is Open.Select share type and enter amount
Choose YES or NO, then enter the number of shares you want to sell. The panel shows estimated USDT you will receive.
Review the sell price
The sell quote takes current AMM prices into account. Large sells move the price against you — check the price impact displayed.
Sell Equation
Selling uses a different mathematical formula than buying to protect AMM solvency:Reading Your Position
The trade panel shows your current position for any connected market:- Your YES balance: shares owned that pay $1.00 if YES
- Your NO balance: shares owned that pay $1.00 if NO
- Current value: your shares × current price (mark-to-market)
- P&L: difference from what you paid
The “current value” shown is what you would receive if you sold now (after slippage). Your actual payout at resolution depends entirely on the outcome — not on the current price.
Price Impact for Large Trades
The AMM has finite liquidity. Large trades move prices significantly:| Trade Size vs. Pool | Expected Price Impact |
|---|---|
| < 1% of pool | < 0.01% — negligible |
| 5% of pool | ~5% — noticeable |
| 20% of pool | ~25% — significant |
| 50% of pool | ~100% — extreme |
What Happens When the Market Resolves
When the market’s deadline passes:- Trading stops —
buySharesandsellSharesrevert - Oracle triggers resolution — verdict is posted on-chain with reasoning hash
- 24-hour challenge window — anyone can challenge the verdict
- Positions revealed — oracle decrypts all sealed positions atomically
- Winners can redeem — call
redeemWinningShares()or use the “Redeem” button in the app
Fees
All trades incur a fee taken from the collateral:- Oracle fee: funds the AI oracle’s 0G Compute usage
- Market-maker fee: compensates the LiquidityPool for seeding liquidity
- Protocol fee: goes to the Prophet treasury
Next: Redeeming After Resolution
Redeem Winnings
How to collect your USDT after a market resolves — winning redemption, cancelled markets, and fee deductions.