ErotemeEroteme

How Betting Works

Overview of the peer-to-peer prediction betting system.

The betting system allows creators to stake USDC on their predictions, and viewers to bet against them. All bets are at 1:1 odds with a 2% platform fee on winnings.

The Basics

  1. Creator stakes USDC when making a prediction
  2. Viewers bet against the creator by staking their own USDC
  3. Funds are locked in a smart contract on Polygon until the market resolves
  4. Winners withdraw their winnings after resolution

Even for multi-outcome markets, betting is always binary: the creator bets YES on their chosen outcome, counter-bettors bet NO.

Key Parameters

ParameterValue
Odds1:1 (fixed)
Platform fee2% on winnings
Minimum bet1 USDC
TokenUSDC on Polygon
ContractPredictionBetting.sol

Gasless Betting

Users with Magic wallets get gasless transactions via Pimlico smart accounts:

  • Magic wallet signs the transaction
  • Smart account executes on behalf of the user
  • Pimlico paymaster sponsors the gas
  • User only needs USDC — no POL required

The smart account address is displayed in the UI so users know where to send USDC.

Pool Types

Betting pools can be created from two sources:

SourceCreated WhenCloses When
PredictionDuring prediction creationMarket resolves or creator closes

On this page