✅ Verify Draw
Independently verify that any lottery draw was fair and not manipulated.
🌐 Online Verification
🐍 Python Verification Script
Run this script locally to independently verify any draw without trusting this website:
import hashlib
import random
# ========== ENTER VALUES HERE ==========
# Enter game hash (shown at game start)
game_hash = "YOUR_GAME_HASH_HERE"
# Enter game secret (revealed after draw)
game_secret = "YOUR_GAME_SECRET_HERE"
# Enter ARRR block hash (from Pirate Chain blockchain)
block_hash = "YOUR_BLOCK_HASH_HERE"
# ========================================
# Verify the hash matches
secret_hashed = hashlib.sha512()
secret_hashed.update(game_secret.encode())
secret_hashed = secret_hashed.hexdigest()
if secret_hashed == game_hash:
# Extract actual secret (after the pipe)
game_secret = game_secret.split("|")[1]
# Generate winning number
seed = game_secret + block_hash
random.seed(seed)
winning_number = random.randint(1, 42000)
print(f"✅ Hash verified!")
print(f"🎉 Winning number: {winning_number}")
else:
print("❌ Invalid game hash! The secret does not match.")
🔍 How Verification Works
- Before the game: We generate a random secret key and publish its SHA-512 hash. This commits us to a specific secret without revealing it.
- After the game ends: We wait 12 hours, then take the first Pirate Chain block hash mined after that time. This is unpredictable and outside our control.
- Generating the winner: We combine our secret with the block hash and use it as a seed for Python's random number generator to pick a number 1-42,000.
- Verification: Anyone can verify by hashing our revealed secret (must match the published hash) and running the same calculation.