The Weather Desk — A Decentralized Weather Oracle on GenLayer
The Weather Desk is a decentralized weather oracle that pulls live data from real-world APIs straight into a GenLayer intelligent contract, then layers AI-driven analysis on top — all verified by validator consensus on-chain. It turns something as ordinary as checking the weather into a fully verifiable, on-chain experience.
What It Does
Most blockchain weather apps just call a centralized API from the frontend and trust whatever comes back. The Weather Desk does the opposite. The contract itself fetches weather data from Open-Meteo, sends it to an LLM for analysis, and only commits the result once multiple validators independently agree on the AI's response. Both the data and its interpretation live on-chain.
Key Features
27 Cities Across 6 Continents
Real-time weather for major cities — Jakarta, Tokyo, London, New York, Sydney, Cairo, Sao Paulo, and more. Filter by region or browse the full list.
AI-Powered Weather Analysis
Beyond raw numbers, the contract asks an LLM to interpret the conditions: how it actually feels outside, what to wear, what activities make sense. Validators reach consensus on the response so the same analysis stands across the network.
Multi-City Comparison
Compare weather across several cities side by side — useful for travel planning or just satisfying curiosity about where it's currently warmest.
Weather Prediction Game
Players guess upcoming weather conditions and the AI verifies the outcome once data lands on-chain. Predictions and results are stored on the contract, so there's a permanent record of who called it right.
Historical Data with Charts
Every weather request is stored on-chain. Visualize trends over time with built-in chart components — see how temperature, humidity, and conditions have shifted across past requests.
Interactive World Map
Browse cities visually instead of through dropdowns. Click anywhere on the map to pull the latest weather for that location.
Why Put Weather On-Chain?
Weather data is one of the most-used inputs in real-world decisions — flight delays, crop insurance, energy markets, parametric DeFi products. The problem is that almost every onchain version of it relies on a single oracle saying "trust me." If that oracle goes offline or gets compromised, every contract reading from it breaks.
GenLayer changes the math. Multiple validators each fetch the same data, run the same AI prompt, and have to agree on the answer before it gets written. That's what makes The Weather Desk more than just a dashboard — it's a foundation for any onchain product that needs weather as a verifiable input.
Use Cases
- Parametric Insurance — auto-trigger payouts when weather conditions cross a threshold
- Travel & Logistics — onchain decisions tied to real-world conditions at specific airports or ports
- Prediction Markets — verifiable settlement source for weather-based bets
- Climate Research — tamper-proof historical record of weather observations
Built by dhozil on GenLayer Studionet