π R-Oracle Devpost Inspiration Todayβs Web3 applications depend heavily on real-time off-chain data. But APIs fail. RPC providers fail. Networks go down. We wanted to build something that stays alive even when everything else breaks.
R-Oracle was inspired by one question: βWhat would a truly resilient oracle look like on Polkadot Cloud?β
A self-healing oracle that automatically switches between multiple data sources and multiple RPC endpointsβso developers always have a reliable data backbone.
What it does R-Oracle is a resilient multi-source oracle parachain that keeps updating its on-chain values even when external systems fail.
It features:
π API Failover Engine Primary: Binance API Fallback 1: Coinbase Fallback 2: Kraken Automatic selection of the first working source βοΈ On-Chain Oracle Pallet
Stores: Last value Source Timestamp Status (OK, Fallback 1, Fallback 2, Offline) π‘ RPC Failover The frontend auto-switches between: Polkadot Cloud RPC (primary) OnFinality RPC (fallback) If one endpoint goes down, the app remains functional.
π Developer Dashboard A clean UI showing: Latest on-chain oracle value Current data source System status History timeline Failover visualization
How we built it π¨ Parachain Development Using the official Polkadot Hackathon Guide, we built: A Substrate-based parachain A custom pallet: pallet-roracle Storage: LastValue, History Extrinsic: submit_oracle_value() Event: ValueUpdated
π Frontend Next.js + Tailwind Polkadot.js API Multi-source data fetcher (Binance β Coinbase β Kraken) RPC health-check + automatic failover
Timeline and status component βοΈ Infrastructure Deployed on Polkadot Cloud Fallback RPC via OnFinality free infrastructure β‘ Tools Used Polkadot SDK Polkadot JS API OnFinality RPC Cursor for fast development
Challenges we ran into β Multiple API Rate Limits APIs blocked or throttled unexpectedly. Required smart retry and fallback logic.
β RPC Endpoint Failures Simulating RPC failure and building a frontend with automatic switching was tricky.
β Substrate Runtime Debugging Custom pallet errors required debugging cross-storage references and weight fees.
β Time Constraints Building a parachain + UI + infra failover within 24 hours required extreme focus.
Accomplishments that we're proud of π Built a full custom Polkadot parachain in under 24 hours
Including pallet, runtime integration, and Polkadot Cloud deployment.
π First βself-healing oracleβ demo on Polkadot
Demonstrates a new design pattern for resilience.
π Production-ready failover engine
Both API-level and RPC-level resilience in a single project.
π Clean developer UX
Fast, simple, and immediately useful for anyone building Web3 apps.
What we learned π§ Resilience isnβt an afterthought
Most Web3 tools break when external systems fail. Building redundancy from the start changes everything.
π§ Polkadot Cloud makes custom chains accessible
Deploying a parachain is dramatically easier than expected.
π§ OnFinality + Polkadot Cloud = Strong Infra Stack
Perfect combo for failover systems.
π§ Substrate pallets are powerful but require careful design
Minimalistic storage + clean extrinsics = maintainability.
Whatβs next for R-Oracle π 1. Add more data sources
Weather, gas prices, crypto indices, DeFi metrics.
π 2. Full off-chain worker automation
Auto-submit values on-chain without a frontend.
π 3. Developer SDK
Easy integration for dApps to pull resilient oracle data.
π 4. Extension into cross-chain messaging
Broadcast oracle updates across parachains via XCM.
π 5. Apply for Polkadot Fast Grants / Open Grants
To turn R-Oracle into a production-ready, grant-supported oracle protocol.
Log in or sign up for Devpost to join the conversation.