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.
What is Prophet?
Prophet is the first prediction market where positions are sealed until resolution, markets are resolved by an AI oracle — not a human committee — and liquidity is provided by an autonomous agent, 24/7.Prophet is a YES/NO share prediction market protocol built on 0G Chain (EVM-compatible, chain ID 16602). Every market trades exactly two assets — YES shares and NO shares — priced between 1.00 by a protocol-owned on-chain AMM. When a market resolves, the winning share redeems for 0.00. No human committee decides outcomes. No centralized backend runs the oracle. No human LPs are required to seed liquidity. Prophet uses 0G Labs infrastructure — 0G Chain, 0G Compute, and 0G Storage — to make the entire system autonomous and verifiable.
Who Is Prophet For?
Traders
Buy and sell YES/NO shares on any open market. Your position direction stays sealed until the market resolves — no front-running, no information leakage.
Market Creators
Anyone can permissionlessly create a market on any binary, verifiable question. The AI oracle validates your question at creation time and resolves it at deadline.
Developers
Fork the contracts, extend the oracle, build integrations. Full Foundry test suite (232 tests), TypeScript agents, Next.js frontend — all open source.
Researchers
Study how decentralized AI inference, permanent on-chain storage, and autonomous market-making combine to create a fully trustless prediction market.
Why Prediction Markets Matter
Prediction markets are one of the most powerful tools humanity has invented for aggregating information. When people bet real money on outcomes, prices reflect the crowd’s honest, skin-in-the-game assessment of probability. This outperforms expert forecasting, surveys, and polls — consistently. A YES share trading at $0.65 is not an opinion. It is the market’s statement: there is a 65% probability this event occurs. That signal is valuable for decision-making in finance, governance, science, and policy. The problem is that existing prediction markets are broken in ways that limit their accuracy and adoption.Why Existing Markets Fail
Polymarket — the current market leader — has two fundamental problems:- Public positions: Every bet is visible on-chain the moment it is placed. Sophisticated traders see large positions form and front-run them, discouraging early, informed participation.
- Human committee resolution: UMA’s optimistic oracle relies on a human dispute process. It is slow, gameable, and introduces political risk into supposedly objective questions.
Why Prophet Is Different
Prophet attacks all three problems simultaneously using 0G infrastructure:| Problem | Prophet’s Solution |
|---|---|
| Front-running from public positions | NaCl-encrypted commitments stored in PositionVault — direction sealed until reveal |
| Human committee resolution | AI oracle on 0G Compute — deterministic, verifiable, no governance token |
| Cold-start liquidity | Protocol-owned LiquidityPool + autonomous market-maker agent |
| Oracle accountability | Full reasoning chain written permanently to 0G Storage Log layer |
| Permissioned market creation | ProphetFactory is open to any caller — no whitelist |
The Five Core Guarantees
1. Continuous Liquidity
1. Continuous Liquidity
The LiquidityPool contract holds protocol-owned USDT. The autonomous market-maker agent allocates a portion to each new market, seeding YES and NO reserves so the AMM is immediately tradable. No human LP is required. The agent runs 24/7 and rebalances continuously.
2. Autonomous Resolution
2. Autonomous Resolution
When a market’s deadline passes, anyone can call
triggerResolution. The oracle agent picks up the event, calls 0G Compute (DeepSeek V3 / Qwen 2.5 7B on testnet) with a structured reasoning prompt, and posts the verdict on-chain. No human vote. No governance process.3. Permanent Evidence
3. Permanent Evidence
Every oracle reasoning chain — the model’s full chain-of-thought, evidence summary, sources checked, confidence score — is uploaded to 0G Storage before the verdict is posted on-chain. The root hash is stored in the contract. Anyone can retrieve and verify the reasoning independently.
4. Privacy-Preserving
4. Privacy-Preserving
Bets are encrypted before submission using NaCl box encryption (ECDH + XSalsa20-Poly1305). PositionVault stores only the commitment hash. Direction and amount are revealed in a single atomic reveal transaction after resolution — simultaneously for all participants.
5. Permissionless Creation
5. Permissionless Creation
ProphetFactory accepts market creation from any Ethereum address. The AI oracle validates the question at creation time — rejecting ambiguous or unresolvable questions — but there is no whitelist, no application process, and no human gatekeeper.
Built on 0G Labs
Prophet is a deep integration project, not a surface-level deployment. It uses three distinct 0G modules:- 0G Chain (chain ID 16602) — all smart contracts, all transactions, all on-chain state
- 0G Compute — decentralized AI inference for question validation, oracle resolution, and market pricing
- 0G Storage — permanent decentralized storage for oracle reasoning, market metadata, and agent state
This is not just “deployed on 0G Chain.” The oracle only exists because 0G Compute provides decentralized AI inference. The audit trail only exists because 0G Storage provides permanent, tamper-proof data. Remove either module and the product stops working.
Core Links
Trade Markets
Start trading YES/NO shares on the Prophet app
0G Integration Depth
Technical audit of all 0G module integrations
AMM Design
How the binary YES/NO AMM works mathematically
Oracle Resolution
How AI resolves markets via 0G Compute