Skip to content

blockwidgets/web3-sidebets-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web3 Sidebets Platform

A decentralized peer-to-peer betting platform that that allows users create private bets with each other based on Polymarket predictions, built on the Base blockchain with UMA Oracle integration for decentralized outcome resolution. Skip the crowds and bet securely with people you choose, with automatic payouts guaranteed by blockchain tech.

Demo

2025-07-31.21-14-55.mp4

Features

  • Peer-to-Peer Betting: Create custom sidebets on Polymarket outcomes
  • Decentralized Resolution: Uses UMA's Optimistic Oracle V3 for trustless outcome resolution
  • Base Blockchain: Low-cost transactions on Base network
  • Smart Contract Escrow: Secure fund management with automatic payouts
  • Real-time Integration: Live Polymarket data and market browsing
  • MetaMask Integration: Easy wallet connection and transaction management

Smart Contracts

  • SidebetFactory: Creates and manages individual sidebet contracts
  • SidebetContract: Individual escrow contract for each bet with timeout mechanisms
  • UMAOracle: Resolves bet outcomes using UMA's Optimistic Oracle V3

Frontend

  • Single-page application with Web3 integration
  • Polymarket API integration
  • Comprehensive bet management dashboard

Usage

Creating a Bet

  1. Connect your MetaMask wallet
  2. Browse Polymarket predictions
  3. Select a market and outcome
  4. Enter bet amount and opponent address
  5. Confirm transaction to create and fund the bet

Accepting a Bet

  1. Connect wallet as the specified opponent
  2. View pending bets in your dashboard
  3. Deposit the exact bet amount to activate
  4. Wait for market resolution

Resolution

  • Markets are resolved automatically using UMA Oracle
  • Winners receive 2x the bet amount
  • Refunds available for invalid outcomes or timeouts

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors