Skip to content

Latest commit

 

History

619 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Outcome - Flight Prediction Market on Stellar

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..

🌟 Features

  • 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.

🛠 Tech Stack

  • 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

📋 Prerequisites

🚀 Getting Started

See CONTRIBUTING.md for install, environment setup, and how to run the Backend, Frontend, and Foundry tests.

Quick reference

1. Clone the Repository

git clone https://github.com/Oshioke-Salaki/GateDelay.git
cd GateDelay

2. Smart Contracts

cd Contracts
forge build
forge test

3. Backend

cd Backend
npm install
cp .env.example .env
npm run start:dev

4. Frontend

cd Frontend
npm install
# create .env.local — see CONTRIBUTING.md
npm run dev

📂 Project Structure

Legacy README paths (deprecated)

📂 Project Structure

  • Contracts/: Solidity contracts, Foundry tests, and deployment scripts.
  • Backend/: NestJS API (and legacy Express server.js).
  • Frontend/: Next.js application, AI routes, and Web3 components.

📜 License

MIT

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages