All projects

Oracle

Oracle is a decentralized prediction market, which uses CRE workflow as judge to resolve.

Prediction Markets Tenderly

What it is

What is it?

 Oracle is a decentralized prediction market platform where users connect MetaMask, bet ETH
  on real-world outcomes (crypto prices, stock prices, weather, sports, AI-resolved
 questions), and get paid out automatically when the result is verified onchain. Think
 Bloomberg Terminal meets DeFi — a dark, dense trading terminal UI with live charts,
 countdown timers, and real wallet transactions.

 What problem does it solve?

 Traditional prediction markets rely on centralized operators to determine outcomes —
 creating a single point of failure and trust. Oracle eliminates this by using Chainlink
 CRE as the trust layer. Every result is fetched from external sources, verified by a
 decentralized node network, and written onchain as a cryptographically signed report. The
 smart contract only pays winners after receiving a verified CRE report — no one can
 manipulate outcomes.

 How does it work?

 1. Users place bets by sending ETH to a Solidity smart contract on a Tenderly Virtual
 TestNet
 2. When a round ends, a CRE workflow fires (via cron, EVM log event, or HTTP trigger)
 3. The workflow fetches the real-world result from an external API (CoinGecko, Yahoo
 Finance, OpenWeatherMap, Gemini AI, etc.)
 4. CRE nodes reach consensus on the result and write a signed report onchain
 5. The smart contract verifies the report, determines winners, and allows proportional
 payout claims

 We built 10 CRE workflows covering all 3 trigger types, 6 external data sources, and
 advanced patterns like ConfidentialHTTPClient, multi-model AI consensus (Gemini + OpenAI
 FBA safety pattern), EVM Log triggers, HTTP inbound with ECDSA auth, and an offchain audit
  trail to Firestore.

How it Works

  • Frontend: React 19, TypeScript, Vite, Tailwind CSS — trading terminal UI with MetaMask
     integration
     - Smart Contract: Solidity (PredictionMarket.sol) deployed via Hardhat to Tenderly Virtual
      TestNet — handles 9 markets, betting, resolution, and payouts
     - CRE Workflows: 10 TypeScript workflows using CRE SDK — HTTPClient,
     ConfidentialHTTPClient, EVM read/write, Secrets, median/identical consensus
     - AI Integration: Google Gemini with Search grounding + OpenAI GPT-4o for subjective
     market resolution
     - Blockchain: Tenderly Virtual TestNet for instant transactions, free ETH, and full EVM
     compatibility

Links

Created by

  • Ajay Ramanathan