Outcome is a decentralized flight prediction market built on the Stellar network. It allows users to speculate on flight outcomes (e.g., delays, cancellations) using a transparent and trustless blockchain infrastructure, enhanced by institutional-grade AI analysis..
- Prediction Markets: Participate in decentralized markets for flight arrival status.
- AI Risk Assessment: Integrated Llama 3.1 analysis via Groq for real-time trading signals and flight risk reports.
- Real-time Aviation Data: Automated flight tracking and market initialization powered by the AviationStack API.
- Hybrid AMM: Sophisticated Logarithmic Market Scoring Rule (LMSR) for liquidity pricing, paired with a fair cost-based payout mechanism.
- Stellar Network: High-performance, low-fee prediction market trading powered by the Stellar blockchain.
- Connect with Ease: Seamless wallet integration via Particle Network, supporting both social and traditional EOA logins.
- Smart Contracts:
- Solidity 0.8.20
- Foundry (Development & Testing)
- PRBMath (Numerical Stability for AMM)
- Frontend:
- Next.js 16 (Turbopack)
- TypeScript & TailwindCSS
- Groq SDK: AI analysis engine (Llama 3.1 8B/70B)
- Particle Network: Universal wallet connection
- Recharts & Framer Motion: Dynamic market visualization and premium UI animations
- Wagmi & Viem: Type-safe Ethereum interactions
See CONTRIBUTING.md for install, environment setup, and how to run the Backend, Frontend, and Foundry tests.
git clone https://github.com/Oshioke-Salaki/GateDelay.git
cd GateDelaycd Contracts
forge build
forge testcd Backend
npm install
cp .env.example .env
npm run start:devcd Frontend
npm install
# create .env.local — see CONTRIBUTING.md
npm run devLegacy README paths (deprecated)
Contracts/: Solidity contracts, Foundry tests, and deployment scripts.Backend/: NestJS API (and legacy Expressserver.js).Frontend/: Next.js application, AI routes, and Web3 components.