I built RealWorldOracle — a trustless on-chain oracle that resolves real-world yes/no questions (sports results, news events, price checks) by fetching live web data and running an LLM jury via GenLayer’s Optimistic Democracy consensus.
No Chainlink, no trusted third party — the validators are the oracle.
The tutorial covers:
-
Optimistic Democracy & Equivalence Principle explained with diagrams
-
Writing a Python Intelligent Contract with
gl.get_webpage+gl.exec_prompt -
Non-deterministic blocks with
eq_principle_strict_eq -
Step-by-step deploy via GenLayer Studio
Repo: https://github.com/LuanXich/genlayer-realworld-oracle