Predikt
ARCHITECTURE

Dual architecture, one market surface.

On-chain certainty with off-chain speed: see how factory, escrow, and settlement on Solana pair with oracle, indexing, and AI resolution services.

Hybrid model (v1)
On-chain (Solana)Deterministic
Market FactorySpawn markets, outcomes, and config on-chain
on-chain
WageringPositions recorded per outcome; claimable post-resolution
on-chain
Escrow & fee accountingHold stakes; split creator/curator/protocol fees
on-chain
Settlement & redemptionFinalize outcomes and enable redemptions
on-chain
Off-chain (Services)Low-latency
OrderbookServiceRedis orderbooks, order validation, matching, fill/wager writes
services
OracleServiceAI/external data pulls, OracleReports, resolution proposals
services
ResolutionServiceValidate reports, update Resolution/Settlement, enqueue settlement
services
SolanaServiceEvent subs, tx dispatch, balance checks, fee accounting
services
IndexerServiceProgram event ingest → DB mutations → queue pushes
services
Data 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.