For the complete documentation index, see llms.txt. This page is also available as Markdown.

Welcome To ScratchIt!

Virtual scratch cards on Solana with instant Solana prizes. Provably fair, zero fees on wins. Five tiers with different prize pools and odds.

Solana
License
Status

🎰 ScratchIt - Solana's Provably Fair Scratch Lottery

ScratchIt is a decentralized scratch lottery game built on Solana blockchain, featuring instant payouts, provably fair mechanics, and transparent on-chain verification.


✨ Features

  • 🎯 5 Ticket Tiers — From 0.01 SOL to 5.0 SOL

  • 💰 Up to 100 SOL Jackpot — Win big with Nebula tier

  • ⚡ Instant Payouts — Prizes sent directly to your wallet

  • 🛡️ Provably Fair — Blockchain-based randomness using transaction signatures

  • 📊 Live Statistics — Real-time platform metrics and leaderboards

  • 🔒 Non-Custodial — Your wallet, your funds, always

  • 🌍 Global Access — Play from anywhere with a Solana wallet


🎮 How to Play

1

Connect Your Wallet

2

Choose Your Tier

Pick from 5 ticket tiers based on your budget:

Tier
Cost
Max Prize
Win Chance

🌠 Meteor Shard

0.01 SOL

0.05 SOL (5x)

14.54%

🌙 Lunar Glow

0.1 SOL

1.0 SOL (10x)

19.98%

☀️ Solar Flare

0.5 SOL

5.0 SOL (10x)

28.46%

🌌 Galactic Core

1.0 SOL

15.0 SOL (15x)

41.64%

💫 Nebula Jackpot

5.0 SOL

100.0 SOL (20x)

62.77%

3

Buy & Scratch

  • Purchase ticket (approve transaction in Phantom)

  • Scratch the 3x3 grid to reveal symbols

  • Match symbols to win prizes!

4

Win Instantly

  • Prizes are sent automatically to your wallet

  • No withdrawal requests or waiting periods


🏆 Prize Structure

Match symbols in your 3x3 grid to win:

  • 4 Matches → Small Win (1.5-2x your bet)

  • 6 Matches → Medium Win (2.5-5x your bet)

  • 8 Matches → Large Win (4-10x your bet)

  • 9 Matches → JACKPOT! (5-20x your bet)

See DOCUMENTATION.md for complete prize tables.


🛡️ Provably Fair System

ScratchIt uses Solana transaction signatures for randomness.

How the provably fair process works
  1. You buy a ticket → Transaction sent to blockchain

  2. Solana assigns unique transaction signature (unpredictable)

  3. Signature is hashed with SHA-256

  4. Hash deterministically generates 9 symbols

  5. Matching symbols determine your prize

  6. Anyone can verify the outcome using the signature

Result: Impossible to manipulate, completely transparent, fully verifiable.

Read more: PROVABLY_FAIR.md


💡 Why ScratchIt?

vs Traditional Lottery

  • ❌ Traditional keeps 40-60% of sales

  • ✅ ScratchIt returns 97% to players

  • ❌ Weeks to receive prizes

  • ✅ Instant blockchain payouts

  • ❌ Opaque odds

  • ✅ Transparent, verifiable

vs Online Casinos

  • ❌ Trust required (house controls RNG)

  • ✅ Trustless (blockchain randomness)

  • ❌ 24-72 hour withdrawals

  • ✅ Instant payouts (seconds)

  • ❌ Hidden house edge

  • ✅ Transparent prize tables


📊 Platform Economics

Revenue Split:

  • 97% → Jackpot Pool (prizes)

  • 3% → Platform Fee (operations)

Transparency:

  • Jackpot wallet balance visible to all

  • Every transaction on-chain

  • No hidden fees or charges


🚀 Getting Started

Prerequisites

  • Phantom Wallet browser extension or mobile app

  • SOL tokens (buy on any major exchange)

Play Now

2

Click "Connect Wallet"

3

Choose your ticket tier

4

Scratch and win!


📖 Documentation

  • DOCUMENTATION.md — Complete technical documentation

  • USER_GUIDE.md — Detailed player guide

  • PROVABLY_FAIR.md — Fairness verification

  • ARCHITECTURE.md — System architecture


🏅 Leaderboards

Compete on 4 different leaderboards:

  • Daily Champions — Resets daily at midnight EST

  • Weekly Warriors — Resets Sunday midnight EST

  • Monthly Masters — Resets last day of month

  • Astronauts — All-time hall of fame

Points System

  • Earn points for every ticket purchase

  • Points double when you win

  • Nebula Jackpot bonus: +100 points


🔒 Security

  • ✅ Non-custodial (you control your funds)

  • ✅ No custom smart contracts (uses Solana System Program)

  • ✅ Open-source transaction verification

  • ✅ Dual-wallet validation (97/3 split enforced on-chain)

  • ✅ All transactions publicly viewable on Solscan


🛠️ Technical Stack

  • Blockchain: Solana (Mainnet)

  • Frontend: React + TypeScript + Vite

  • Backend: Node.js + Express

  • Database: PostgreSQL (Neon)

  • Wallet: Phantom integration

  • RPC: Helius (high-performance mainnet access)


📱 Community


📜 License

MIT License — See LICENSE file for details



🎉 Start Playing

Ready to win? Connect your wallet and scratch your way to prizes!

Play Now →


Built with ❤️ on Solana