
Higher!!
Crash Game on Yellow Network - Provably fair multiplier betting with state channels
Demo
About
Higher!! is a provably fair crash game built on Yellow Network's state channels. Players predict a multiplier (1.01x-10.00x) before the rocket crashes. Winners are determined by comparing their cashout multiplier against the crash point. The game uses Yellow Network's off-chain state channels for instant, gasless gameplay with cryptographic security. All outcomes are deterministically generated server-side and verified through multi-signature settlements, eliminating manipulation. Funds are settled on Base Sepolia testnet.
How it's made
Frontend: Next.js 16 + React + Tailwind CSS + Canvas API (crash graph animation) Wallet: RainbowKit + Wagmi for wallet connection & contract interaction State Management: Zustand for game state, server-side game-store.ts for session logic Backend: Express.js API routes handling join/leave/sign/finalize flows Yellow Network Integration: - State channels for multi-player coordination without gas costs - EIP-712 typed data signing for authorization (no direct txns until settlement) - Cryptographic session keys for atomic multi-sig state updates - WebSocket RPC for real-time state synchronization Contracts: ERC-20 token (yUSDC) approval + transfer for bets/settlements Settlement: All player balances finalized in a single on-chain transaction per round Architecture: Hybrid on/off-chain - gameplay happens in Yellow state channels, final settlement happens on Base Sepolia