ELO Flow

On-chain Poker Game using VRF on Flow with gasless transactions

ETHGlobal BangkokShipped November 15, 2024Prize winner#identity#gaming#prediction-markets
Visit Repo
ELO Flow banner

About

馃儚 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

How it's made

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)

- Deck management and shuffling - Game state management - Player actions and betting logic - Pot distribution and winning hand calculation

Backend (SST + Hono + AWS Lambda)

- Gasless transaction processing (blind signing) - Using fcl-kms-authorizer (https://github.com/doublejumptokyo/fcl-kms-authorizer) to sign the transaction on AWS Lambda

Frontend

- Vite + React + Typescript - Telegram bot (@elo_flow_bot (https://t.me/elo_flow_bot)) for mobile access - Real-time game updates - Wallet using Flow-FCL (https://github.com/onflow/fcl-js)

Prizes

  • Avail 路 Pool Prize: Build anything with Avail 路 Pool Prize: Build anything with Avail

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

crosschain casino

Cross-chain casino dApp enabling seamless bets and payouts across multiple blockchains.