On-chain Poker Game using VRF on Flow with gasless transactions
🃏 ELO Flow is fully decentralized poker game built on the Flow blockchain, using verifiable random shuffling for each game, gasless transactions, and cross-chain data availability using Avail DA.
By posting game data onto Avail DA, players can access the game data on any compatible chain and enjoy skill-based matchmaking for any poker variant.
The goal was to build the ELO logic in Solidity and in Stylus for maximum compatibility
Most of the implementation was for Flow, for the contracts, frontend, and backend. Avail did not integrate out of the box so I did not include the logic for uploading the game state.
Smart Contracts (Cadence)
Backend (SST + Hono + AWS Lambda)
Frontend