project screenshot 1
project screenshot 2
project screenshot 3

Betsy

A Web3 betting platform on Skale with XMTP-powered messaging for group bets. USDC funds are transparently handled via smart contracts, and AI helps determine outcomes. Bets are finalized and resolved on-chain, ensuring secure, trustless, and engaging group betting experiences.

Betsy

Created At

ETHGlobal San Francisco

Winner of

XMTP - Messaging Mini apps (Bot, Agents & Frames)

SKALE Network - Best Use of Zero Gas Fees 4th place

Project Description

Betsy is a Web3-based group betting platform that allows friends and communities to place bets on sporting events in a decentralized, transparent, and fun way on SKALE blockchain. It uses XMTP's Converse app to leverage its group messaging feature and user wallets to create an immersive experience that allows people to place bets while they message and have fun.

When a bet is created, group members can chat, agree or disagree with the predictions, and place their wagers, all within the platform. This makes betting more engaging and interactive, creating a shared experience around sporting events. Once the bet is finalized, smart contracts automatically move the funds, ensuring that everyone’s contributions are handled fairly and securely.

Additionally, the platform uses AI to analyze real-time sports data and help determine the outcome of each bet, ensuring accuracy and fairness. Once the game is over, the AI checks whether the prediction was correct, and the smart contracts distribute the winnings or losses accordingly. This combination of blockchain, decentralized messaging, and AI creates a seamless, fully automated betting experience where users can enjoy betting with friends, all while having complete control over their funds and the outcome.

How it's Made

This project was built on the SKALE blockchain, taking advantage of its gas-free transactions, making it cost-efficient for users placing bets. We integrated XMTP’s Converse app for decentralized messaging, allowing users to communicate in real-time, propose bets, and vote within group chats securely.

The platform uses OpenAI's language models (LLMs) to parse user prompts, interpret natural language queries, and interact with external sports data feeds. This helps verify that games exist and process bet outcomes based on real-time sports data. The LLMs also assist in generating responses, making the interaction more natural and efficient.

We implemented agents that monitor for specific triggers in user messages, such as bet prompts, agreements, or disagreements. These agents parse the commands, triggering actions such as fund transfers and game creation on-chain. All bets and outcomes are managed by smart contracts, ensuring that the process is fully trust-less and automated.

The integration of ethers.js manages blockchain interactions, particularly for handling USDC approvals and fund transfers to the smart contract.

background image mobile

Join the mailing list

Get the latest news and updates