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.
- 🧠 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.
- Authentication: Users sign a free digital signature to verify wallet ownership.
- Data Fetching: The dApp retrieves the latest market data (OHLC) for the selected asset and timeframe.
- AI Inference: The backend sends the data to the OpenGradient SDK, which runs the prediction using the
og-1hr-volatilitymodel. - On-Chain Verification: The prediction result is recorded on the OpenGradient Testnet.
- Real-Time Result: The dApp displays the AI sentiment (Bullish/Bearish) along with a direct link to the transaction proof.
| 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) |
-
Clone the repository:
git clone https://github.com/iAbstrus/Voracle-OpenGradient.git cd Voracle-OpenGradient -
Frontend Setup:
cd frontend npm install npm run dev -
Backend Setup: Ensure you have Python 3.9+ installed.
pip install opengradient numpy firebase-rest-api
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.
- Twitter/X: @iAbstrus
- OpenGradient: hub.opengradient.ai
- Explorer: testnetv1.opengradient.ai
This project is licensed under the MIT License - see the LICENSE file for details.
Built with 🔮 for the OpenGradient community.