Pyth Roulette
Team: @denchik35denchik35
Submitted: 28.03.26
Answer Capsule
Pyth Roulette is a BTC price betting game where players wager odd/even on the last two digits of Bitcoin’s dollar price. Pyth Entropy generates a verifiable random countdown on OP Sepolia, and when it hits zero, Pyth Price Feeds reveal the live BTC/USD price to determine the outcome. Both Pyth products work together — Entropy controls the timing, Price Feeds deliver the result.
What It Does
Pyth Roulette turns two Pyth primitives into a playable game. Players bet whether the last two digits of BTC’s whole-dollar price will be odd or even. Pyth Entropy picks a random countdown (3-30 seconds) via on-chain verifiable randomness, and when the timer expires, Pyth Hermes streams the live price that decides the outcome.
Pyth Features Used
[
] Price Feeds (on-chain or off-chain)
[
] Entropy (randomness)
[
] Both
Links
Live Demo: https://frontend-lovat-beta-10.vercel.app
Source Code: GitHub - dender10/Pyth-roulette- · GitHub
Video Walkthrough:
Screenshots / Media
Main screen
Tech Stack
Framework/Language: React 19 + TypeScript, Vite, Tailwind CSS v4, framer-motion
Blockchain: Optimism Sepolia (Pyth Entropy contract)
Agent Framework: N/A
Deployment: Vercel
Content Contributions (Required)
Public Post (Dev.to): https://dev.to/\__c278553094/pyth-roulette-building-a-btc-price-betting-game-with-pyth-entropy-and-price-feeds-2pan
Technical Contribution (GitHub gist): pyth-entropy-price-feeds-example.ts · GitHub
Bonus X Platform Post:https://x.com/denchik35_/status/2037920640707989946
Bonus Wikipedia Contribution: N/A
Licensing Apache 2.0
Eligibility Confirmation
[
] 18+ years old
[
] Not in OFAC-sanctioned jurisdiction
[
] Original work created during hackathon
[
] Agreed to Terms & Conditions
