Skip to content

Latest commit

ย 

History

History
85 lines (62 loc) ยท 3.94 KB

File metadata and controls

85 lines (62 loc) ยท 3.94 KB

๐Ÿ”ฎ V-Oracle: Decentralized AI Market Predictions

OpenGradient License: MIT React Python

V-Oracle is a state-of-the-art decentralized application (dApp) that provides real-time AI-powered market predictions. Built on the OpenGradient Testnet, it leverages on-chain AI inference to provide cryptographically verifiable market sentiment analysis.

V-Oracle UI Screenshot Placeholder

๐ŸŒŸ Key Features

  • ๐Ÿง  On-Chain AI Inference: Predictions are executed and verified on the OpenGradient network using TEE (Trusted Execution Environments).
  • ๐Ÿ“Š 110+ Trading Pairs: Real-time OHLC data for a vast selection of tokens directly from Binance.
  • ๐Ÿ”— Web3 Native: Seamless integration with MetaMask and other EIP-1193 wallets.
  • โšก Verifiable Proofs: Every prediction generates an on-chain transaction hash for transparency.
  • ๐ŸŽจ Premium Cyber-Obsidian UI: High-end glassmorphism design with kinetic animations and modern aesthetics.
  • ๐Ÿ“ฑ Fully Responsive: Optimized experience for both desktop and mobile users.
  • โœ๏ธ Gasless Signatures: Users only need to sign a free message for authentication; the backend handles the gas fees for the AI execution.

โš™๏ธ How It Works

  1. Authentication: Users sign a free digital signature to verify wallet ownership.
  2. Data Fetching: The dApp retrieves the latest market data (OHLC) for the selected asset and timeframe.
  3. AI Inference: The backend sends the data to the OpenGradient SDK, which runs the prediction using the og-1hr-volatility model.
  4. On-Chain Verification: The prediction result is recorded on the OpenGradient Testnet.
  5. Real-Time Result: The dApp displays the AI sentiment (Bullish/Bearish) along with a direct link to the transaction proof.

๐Ÿ›  Tech Stack

Layer Technology
Frontend React 18, Vite, CSS3 (Vanilla), lightweight-charts
Backend Python (Serverless Functions), OpenGradient SDK
AI Model og-1hr-volatility-ethusdt
Blockchain OpenGradient Testnet (Chain ID: 10744)
Data Provider Binance API (WebSockets & REST)

๐Ÿš€ Deployment & Installation

Local Development

  1. Clone the repository:

    git clone https://github.com/iAbstrus/Voracle-OpenGradient.git
    cd Voracle-OpenGradient
  2. Frontend Setup:

    cd frontend
    npm install
    npm run dev
  3. Backend Setup: Ensure you have Python 3.9+ installed.

    pip install opengradient numpy firebase-rest-api

Environment Variables

To run the full prediction feature, configure the following environment variables in your deployment environment (e.g., Vercel):

  • OG_PRIVATE_KEY: Your OpenGradient wallet private key.
  • OG_EMAIL: OpenGradient ModelHub email.
  • OG_PASSWORD: OpenGradient ModelHub password.
  • OG_MODEL_CID: Model CID (default: OpenGradient/og-1hr-volatility-ethusdt).
  • FIREBASE_API_KEY: Required by the OpenGradient SDK for authentication.

๐Ÿ”— Links

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


Built with ๐Ÿ”ฎ for the OpenGradient community.