predictx

Tired of Tinder? Try PredictX. Swipe to bet on trades. Chat. Earn. Social trading.

predictx

Created At

ETHOnline 2025

Project Description

PredictX is a revolutionary SocialFi prediction market platform that transforms the traditional world of financial betting into an addictive, social experience reminiscent of popular dating apps like Tinder, where users swipe through trading predictions instead of potential matches. The platform combines the excitement of social trading with the gamification of mobile apps, creating an engaging ecosystem where traders can post their trade setups with screenshots or order IDs, set target prices and expiration times, and watch as the community swipes right to bet "YES" (believing the trade will hit its take profit) or left to bet "NO" (thinking it will fail), all while participating in real-time chat rooms dedicated to each prediction where they can discuss market analysis, share insights, ask questions to the trade creator, and celebrate wins together. The platform features a sophisticated reputation system where successful traders build followings based on their prediction accuracy, total volume, and social influence, complete with leaderboards, achievement badges, and streaks that gamify the entire experience.

x profile: https://x.com/trypredictx

How it's Made

Frontend (Next.js 15 + React 19)

  • Framework: Next.js 15 with App Router
  • UI: Radix UI components with Tailwind CSS
  • State Management: Zustand stores
  • Authentication: Privy.io for wallet connection
  • Blockchain: Viem for Web3 interactions
  • Real-time: Socket.io for chat functionality
  • PWA: Service worker with offline support

Backend (Next.js API Routes)

  • Database: PostgreSQL with Prisma ORM
  • API: RESTful endpoints for predictions, bets, users
  • File Storage: AWS S3 for image uploads
  • Authentication: Wallet-based auth via Privy
  • Smart Contracts (Solidity)
  • Factory Pattern: PredictionFactory.sol for creating markets
  • Market Contracts: PredictionMarket.sol for individual predictions
  • Token System: PredictionMarketToken.sol for YES/NO tokens
  • Oracle Integration: Pyth Network for price feeds
  • Token: PYUSD (PayPal USD) for betting

Chat Server (Node.js + Socket.io)

  • Real-time Communication: Socket.io for instant messaging
  • Room-based Chat: Each prediction has its own chat room
background image mobile

Join the mailing list

Get the latest news and updates