About
Chess.fun
A decentralized protocol that unifies chess ratings (FIDE, Lichess, Chess.com) on-chain, powers stake-based contests, enables spectator betting, and mints verified match NFTs mapped to ENS identities.
Problem
Ratings are fragmented and not portable across platforms. Match records are stored off-chain and can be tampered with. Tournaments lack standardized prize distribution and governance. Spectator betting and fan engagement in chess are underdeveloped.
Solution
Unified On-Chain Rating
Fetch public ratings from FIDE, Lichess, and Chess.com. Aggregate via oracle (Chainlink Functions) with weighted formula (FIDE > Lichess > Chess.com). Store in a RatingRegistry smart contract for trustless portability. ENS Identity Layer Assign subdomains (username.chess.eth) linked to player profile, rating, and metadata. Tamper-Proof Match Records Games played off-chain; players sign EIP-712 consent messages committing to PGN hash. Hash + signatures stored on-chain. Full PGN archived on Walrus/IPFS/Filecoin for verifiable integrity. Contests + DAO Governance Players stake tokens to enter tournaments. Prize pool auto-distributed via smart contracts. Disputes or exceptions resolved by DAO vote (≥60% approval). Spectator Markets & Fan Backing Lightweight prediction markets allow spectators to bet on outcomes. Fans can “back” players by purchasing upside-linked tokens. NFTs & Royalties Best matches minted as ERC-721 NFTs with EIP-2981 royalties. Community upvotes decide which matches get NFTized, rewarding players long-term.
Architecture & Flow
Onboarding → Players link external accounts; system fetches ratings via APIs. Oracle Layer → Chainlink Functions fetch & aggregate → update RatingRegistry. Identity → ENS subdomains map to on-chain rating + metadata. Matches → Players sign commitments (EIP-712), stored on-chain; PGNs stored on Walrus/IPFS. Tournaments → Smart contracts manage stakes, prize pool, DAO voting. Betting & NFTs → Prediction markets + NFTization extend fan engagement.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






