#PredictAI is the AI-powered Prediction Marketplace on Morph which uses AI to generate and/or settle the predictions.
#predictAI is the platform that combines AI with prediction marketplace to make it super scalble with decentralized event (bet) creation.
How It Works:
Users log in via Dynamic's simple authentication. They choose a topic or use AI to generate interesting bets. Participants place bets using testnet funds (easily obtained through our integrated faucet). For crypto-related bets, Pyth Network provides accurate, real-time price data. When a bet concludes, our AI (powered by Phala Network) analyzes the latest information to determine the winner.
Our goal with #predictAI was to create a seamless, AI-powered prediction marketplace. Here's a deep dive into our tech stack and build process:
Frontend: Next.js with TypeScript
Smart Contracts: Solidity
Backend AI: Phala Network's Agent Contract plus OpenAI for backup
Authentication: Dynamic SDK
Oracle Integration: Pyth Network
Integration and Challenges:
AI-Agent Contract by Phala : The gas kept running out,had to use multiple apis
UX - Challenge: Simplifying the testnet fund acquisition process
Partner Integrations :
Phala Network:
Dynamic:
Pyth Network:
Morph:
The most challenging (and rewarding) part was orchestrating these diverse technologies into a cohesive, user-friendly platform. Our "Request Funds" feature, while simple on the surface, required careful integration with Dynamic's wallet creation process and our custom faucet contract.