Hybrid model (v1)
On-chain (Solana)Deterministic
Market FactorySpawn markets, outcomes, and config on-chain
on-chainWageringPositions recorded per outcome; claimable post-resolution
on-chainEscrow & fee accountingHold stakes; split creator/curator/protocol fees
on-chainSettlement & redemptionFinalize outcomes and enable redemptions
on-chainOff-chain (Services)Low-latency
OrderbookServiceRedis orderbooks, order validation, matching, fill/wager writes
servicesOracleServiceAI/external data pulls, OracleReports, resolution proposals
servicesResolutionServiceValidate reports, update Resolution/Settlement, enqueue settlement
servicesSolanaServiceEvent subs, tx dispatch, balance checks, fee accounting
servicesIndexerServiceProgram event ingest → DB mutations → queue pushes
servicesData flow
Orders and depth live off-chain; finalized trades and settlement recorded on-chain for certainty.
Resolution
AI-assisted oracle proposes outcomes; disputes fall back to staking and human checks.
Credibility
Curation, reputation, and feed health influence visibility and user trust.