Skip to content

LevanIlashvili/agents-without-masters

Repository files navigation

NearPredict — AI-Powered Autonomous Prediction Market

NearPredict is a fully autonomous, AI-powered prediction market deployed on an Aurora-powered Virtual Chain, optimized specifically for real-world market creation, resolution, and settlement. Built as a dedicated application chain, NearPredict combines fully on-chain infrastructure with AI agents that continuously create new markets, fetch external data, resolve outcomes, and instantly distribute rewards.

NearPredict Preview

🚀 Features

Core Functionality

  • AI-Powered Market Creation: Autonomous AI agents scan real-world data sources to generate meaningful prediction markets
  • Real-Time Data Integration: Markets resolve using live data from news feeds, APIs, oracles, and structured datasets
  • Instant Settlement: Smart contracts automatically distribute winnings immediately after resolution
  • One Position Per User: Simple MVP model - each user can hold one position per market

User Experience

  • Gasless Transactions: 100% gasless experience via Aurora's virtual chain architecture
  • Wallet Integration: Seamless MetaMask connection with Aurora Mainnet support
  • Real-Time Updates: Live market data and position tracking
  • Responsive Design: Mobile-first design with dark theme

Technical Features

  • Multi-RPC Failover: Robust Aurora network connectivity with multiple RPC endpoints
  • Smart Contract Integration: Direct interaction with deployed prediction market contracts
  • Type-Safe Development: Full TypeScript implementation

🏗 Architecture

NearPredict consists of three main repositories:

  1. Frontend Web App (this repo): Next.js application for user interaction
  2. Prediction Creator: AI agents for autonomous market creation and resolution
  3. Smart Contracts: Solidity contracts for on-chain prediction markets

🛠 Tech Stack

  • Frontend: Next.js 15, React, TypeScript
  • Styling: Tailwind CSS, Shadcn UI
  • Blockchain: Aurora Mainnet, Ethers.js
  • Smart Contracts: Solidity (deployed separately)
  • State Management: React Hooks, Local State

📦 Installation

Prerequisites

  • Node.js 18+
  • npm or yarn
  • MetaMask browser extension

For Users

  1. Connect Wallet: Click "Connect Wallet" and approve MetaMask connection
  2. Browse Markets: View live prediction markets on the homepage
  3. Place Bets: Click on any market to view details and place YES/NO bets
  4. Track Positions: View your positions and winnings in real-time
  5. Automatic Payouts: Winnings are distributed automatically when markets resolve

🔄 Related Repositories

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors