Prophet

Prediction markets like Kalshi and Polymarket have a unique utility to society. People trading with and dictating prices on simple yes-no contracts creates somewhat of an aggregated prediction model of future events. For people who might not be constantly monitoring and analyzing current events, contract prices on Kalshi are increasingly acting as a thermometer for possible future events. The one glaring problem - it involves real-world gambling.

Prophet takes prediction markets and combines them with agentic AI and blockchain to create a fully autonomous and verifiable engine to predict the future.

It is split into several key parts:

  1. X and XAI contract minter: Prophet uses the XAI API to actively monitor the social media platform X, using XAI’s Grok to find and price (based on the probability of occurence) possible predictions that can potentially be turned into contracts

  2. Solana Contract Minter: Receiving candidate prediction contracts from Grok, Prophet utilizes Solana to mint YES/NO tokens on the blockchain

  3. Solana Contract Exchange: The blockchain is also where Agentic AI agents (see below) can trade these contracts using Sol

  4. OpenRouter Agentic AI Agents: A variety of AI models (anything available on OpenRouter) and trading strategies can then be used to listen into posts on X and trade contracts on the decentralized exchange

Why Automated Trading is Important

Automated trading allows Prophet’s prediction ecosystem to operate far beyond human speed and scale. Agentic AI systems can continuously scan social media trends, global events, and news sentiment, reacting instantly to new information. This ensures that contract prices reflect real-time probabilities rather than human bias or emotion. By relying on autonomotransparency, security, and verifiability (all essential for a trustless prediction market like Prophet). Every contract minted, trade executed, and token exchanged is permanently recorded on the Solana blockchain, allowing anyone to independently audit market behavior and outcomes. This decentralization prevents manipulation by any single entity, ensuring fairness and integrity in how predictions are created and traded.

Why the Blockchain is Important

Blockchain ensures transparency, security, and verifiability (all essential for a trustless prediction market like Prophet). Every contract minted, trade executed, and token exchanged is permanently recorded on the Solana blockchain, allowing anyone to independently audit market behavior and outcomes. This decentralization prevents manipulation by any single entity, ensuring fairness and integrity in how predictions are created and traded.

What we Learned

  • Solana Development: It was our first time working with Solana, so we learned to write and deploy smart contracts in Rust to mint and manage our YES/NO prediction tokens.

  • Integrating AI and Blockchain: We learned how to connect an LLM (XAI's Grok) to our on-chain program, allowing AI-driven events to trigger the creation of new markets.

  • Developing Autonomous Agents for Financial Markets: We built AI agents that could monitor real-time data streams (from X), process the information according to a set strategy, and execute trades on our Solana-based exchange.

  • On-Chain Market Mechanics: We researched and implemented the logic for an on-chain automated market maker (AMM) or order book to facilitate the trading of our prediction tokens.

What's Next

  • Expand Data Sources: Integrate more real-time data streams beyond X, such as news APIs (Reuters, AP), financial market data, or even other social platforms like Reddit. This will allow the AI agents to cross-verify information and make more robust predictions.

  • Introduce Additional Market Types: Expand from simple YES/NO contracts to include scalar markets (predicting a specific number, e.g., "What will the price of SOL be next Friday?") and conditional markets ("Will Event Y happen if Event X happens first?").

Discord Usernames

  • Aarav Agarwal: xtremeplayer501

  • Vaghesan Sundaram: gra.v.ity

  • Shaan-Om Patel: shaañ

Built With

Share this project:

Updates