01. The Concept
DogSpeed is not just a game. It's high-frequency trading disguised as competitive greyhound racing. Built entirely on the Solana blockchain, it delivers a decentralized, non-custodial betting experience.
Unlike traditional casinos where the "house" holds the keys to the server (and the outcome), DogSpeed operates on public infrastructure. The code is open. The data is on-chain. The outcome is immutable.
02. Provable Fairness
The core of DogSpeed is a cryptographic Commit-Reveal Scheme. This ensures that the outcome of every race is predetermined and locked BEFORE any bets are accepted.
- Phase 1 [COMMIT]:Server generates a random `seed` + `winner`. It computes `Hash(seed + winner)` and stores this hash on-chain.
- Phase 2 [BETTING]:Window opens. You place bets. The server physically CANNOT change the winner because the hash is already on the blockchain.
- Phase 3 [REVEAL]:Betting closes. Server reveals the `seed`. The smart contract verifies `Hash(seed + winner) === Commit`. If valid, payouts occur.
03. Tech Stack
Solana
High-performance L1 blockchain. 400ms block times. Sub-cent fees.
Anchor
Rust framework for secure, type-safe smart contract development.
Next.js 14
React framework with Tailwind & Framer Motion for the frontend.
Ed25519
Elliptic curve signature scheme for secure wallet authentication.