Stake HBAR, compete in skill games, winner takes the pot. 4 Hedera services, zero Solidity.
Agon is an on-chain competitive gaming platform where players stake HBAR, compete in real-time skill-based mini-games, and the winner takes the pot. Built entirely with the Hedera SDK, no Solidity. It integrates four native Hedera services: HTS for HBAR escrow and payouts, HCS for immutable per-room game session logging, Scheduled Transactions for two-step on-chain settlement, and Mirror Node REST API for session history and account resolution. The platform is extensible via a GamePlugin SDK, any developer can contribute a new game and earn a 5% contributor fee. Ships with three native games: Reaction Speed, Memory Match, and Snake Royale, and a lot more are to come!
Agon is built entirely with the Hedera JavaScript SDK (@hashgraph/sdk), zero Solidity, zero smart contracts. It integrates four native Hedera services: HTS for HBAR stake escrow and payout distribution via TransferTransaction, HCS for immutable game session logging where each room gets its own topic and every event (SESSION_STARTED, ROUND_RESULT, SESSION_ENDED) is recorded on-chain as JSON, Scheduled Transactions for two-step settlement (ScheduleCreateTransaction locks the payout on-chain, ScheduleSignTransaction executes it), and the Mirror Node REST API for reconstructing session history and resolving EVM wallet addresses to native Hedera account IDs. The stack is a pnpm + Turborepo monorepo with Next.js 14, Socket.IO for real-time gameplay, RainbowKit + wagmi over Hedera's EVM JSON-RPC relay (hashio.io, chain 296), Prisma + PostgreSQL, and SIWE + NextAuth for auth. The platform ships with three skill-based games and an extensible GamePlugin SDK so any developer can contribute new games and earn a 5% contributor fee on every match, enforced at the protocol level during payout calculation.

