ETHGambit

A superior, decentralized alternative to online chess betting.

Repo
ETHGambit banner

About

The act of "hustling" is a core part of chess culture. In big cities like New York and Boston, chess hustlers hang out in the park and play strangers, each putting down a small wager on the winner of the game.

A single online service, chesshustleonline.com, attempts to capitalize on this tradition. On this website, 10% of each player's bets are taken as a fee. You don't get to decide how much to bet, which chess platform is used, and must wait 5-7 business days for your winnings.

However, ETHGambit can completely circumvent all of these downsides. Using blockchain technology, users can take back control of this timeless tradition, tapping into an extremely large market of approximately 110 million users that were previously priced out and sketched out by the status quo.

Overall, an intuitive UI combined with a solution alleviating a major pain point in the market will make a big splash in the online chess community, onboarding many enthusiastic users into web3.

How it's made

The blockchain technology used in ETHGambit is a Solidity smart contract originally deployed on Polygon, but switched to Flow. The Polygon Amoy Testnet had about a 50% percent chance of throwing a random "Internal JSON-RPC Error" when interacting with the contract, which contributed to much frustration. The Flow Testnet did not have these issues.

The contract acts as an escrow with three main functions:

  • createAgreement, which takes two wallet addresses and the amount being wagered.
  • deposit, which players use to deposit agreed amount into the escrow.
  • complete, which receives a signal from a lichess.org API that determines the result of the game. If the game is drawn, both get a refund; in the event of a victory, the associated wallet address is transferred the escrow.

An additional part of the back-end is a Python Flask server that grabs the result of the game. To make it more decentralized/trustless, we would use an oracle in the smart contract instead of a central server, which is the next step for this project.

The front end was originally planned to be a browser extension, however, we shelved that for the purposes of technical capability demonstration. The UI is built with ReactJS that imports modules like ethers and web3 to pass values to the smart contract.

Prizes

  • Flow · Best Sports App on Flow · Best Sports App on Flow
  • Flow · Best Developer Feedback · Best Developer Feedback

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.

Betty

Betty is an AI agent for sports betting with friends on Discord. It creates bets using smart contracts on Arbitrum Stylus, manages deposits via Metamask, and automates payouts with Chainlink results—making group betting seamless and trustless.

ChainMate

Chess wagering with zero-knowledge proofs. Play, prove your wins, claim rewards trustlessly.