Inspiration

Houston furniture store owner Mattress Mack runs "if the Astros win, your purchase is free" promos and covers them by placing huge sports bets. We wanted any bar or coffee shop to be able to run the same play, hedged automatically with prediction markets.

What it does

A bar posts "Buy a $5 beer. If Tulane wins, it's free." The customer logs in with an email code and pays once in USDC. The payment sits in an escrow contract on Arc until the game ends. If the team ends up winning, it's refunded automatically; if not, the shop gets paid. Each sale gets a hedge priced from Gemini's live order book (simulated; we never place orders).

Covering one sale costs c = p × P, where p is the probability that the team wins and P is the product price.

At a 31% chance of winning on a $5 beer:

Hedge cost = 0.31 × $5 = $1.55

So, with a fully executed hedge, the shop keeps:

$5 − $1.55 = $3.45

At a 31% implied probability, covering a $5 purchase would cost approximately $1.55. With a fully executed hedge, the shop would retain $3.45 regardless of the game's outcome, before fees and slippage. That's effectively a 31% promotional discount, but with the excitement of a potential full refund. In our prototype, hedge pricing and trades are simulated.

How we built it

Solidity escrow on Arc, Circle email wallets with one-tap USDC checkout (EIP-3009, our relayer pays gas), Gemini Predictions for live odds and official results, QuickNode for live Arc payment events, a Node/Fastify backend on Supabase, and a Next.js frontend. An exposure desk nets opposite promos on the same game across shops (one shop's "free if Arkansas wins" against another shop's "free if Texas wins"), so the platform hedges only the difference instead of every sale. These trades are simulated too.

Challenges we ran into

We actually moved from Solana to Arc mid-hackathon. During our first real purchase test, the backend missed the payment because it was still reading from old Solana checkpoints. We fixed the issue by separating chain-specific event checkpoints, allowing the backend to correctly track Arc transactions.

Accomplishments that we're proud of

We built an end-to-end purchase flow on Arc testnet, including email login, one-tap USDC payments, simulated hedge execution, and automated settlement. Customers don't need to install or manage a separate crypto wallet! We're proud to have made a web app that we ourselves want to use; we think it's creative, easy to use, and a fun way to run promos as a business.

What we learned

We learned how prediction market prices can be used to estimate the cost of outcome-based promotions, turning a potentially risky marketing idea into something merchants can price upfront. We also learned how challenging cross-chain development can be, especially when coordinating blockchain payments, event tracking, and backend settlement logic under a hackathon deadline.

What's next for Wincentive

Real hedging through a licensed account, more sports, and Arc mainnet. Also, a real margin model (drink costs, fees, slippage, extra sales the promo brings in).

Built With

Share this project:

Updates

Submission history