A weekly AI debate game built on GenLayer Intelligent Contracts.
Every week, the contract fetches a live trending topic from Hacker News. Players submit arguments defending one side. The LLM — via Optimistic Democracy consensus — scores each argument on Logic, Creativity, and Persuasiveness. XP is distributed on-chain through a live leaderboard.
gl.get_webpage()— live topic fetch each weekgl.exec_prompt()— LLM scoring of player argumentseq_principle_strict_eq— consensus on topic selectioneq_principle_prompt_non_comparative— consensus on subjective scoringTreeMap[Address, u256]— on-chain leaderboard & XP tracking
- Host calls
open_round()→ live topic auto-fetched - Players call
submit_argument("a" or "b", "your argument") - Host calls
judge_all()→ AI scores all submissions - Anyone calls
get_leaderboard()→ XP results displayed
Network: GenLayer Testnet Address: 0xb034718b09A88A7eA237677C6343fd2Abb39Ca7D
Deploy contracts/verdict_arena.py in https://studio.genlayer.com
No constructor arguments needed.