Hera
Turn your Fightcade matches into real money battles with Hera -- USDC on the line!
Problem Statement
HERA is a desktop overlay that lets you bet real money on fighting arcade games while playing with friends. It works with Fightcade's collection of fighting games, allowing players to bet USDC cryptocurrency on match outcomes.-> What it does: You and a friend can play classic fighting games like Street Fighter II or King of Fighters, but now there's real money on the line.-> Key Features:Bet USDC cryptocurrency on match outcomesPeer-to-peer betting between friends (no house takes a cut)Automatic payout when matches endWorks with any rated fighting game on Fightcade-> How it works Players create a HERA session and connect with their opponent. Both players place their USDC bets, then launch their chosen fighting game through Fightcade. HERA monitors the game in the background. When a match ends, it automatically detects the winner and sends the money to their wallet. Even if someone disconnects mid-game, the remaining player still gets the winnings.
Solution
HERA is built with React, Vite, Electron, and NestJS. Here's how everything works together:-> Frontend (Electron + React + Vite):Electron creates the desktop appReact handles the user interfaceVite builds the app for development and production-> Backend (NestJS):NestJS provides the server with TypeScript supportHandles user sessions, authentication, and bet processingManages real-time communication between playersCoinbase Embedded Wallets handle all USDC transactionsPlayers don't need to manage private keysAutomatic bet placement and payout distribution-> How data flows:Players create a session in the Electron appBoth players bet USDC through CoinbaseThey launch their fighting game through FightcadeHERA monitors the game via Fightcade APIs and internal trackingWhen a match ends, it detects the winnerMoney goes to the winner's walletSession continues for more matches or endsThe combination of these technologies lets players focus on their fighting game while HERA handles all the betting behind the scenes.
Hackathon
ETHGlobal New York 2025
2025
Contributors
- githubotoro
31 contributions