← Back to Main
🔍 Verification Proof
All $CLICK giveaways are provably fair using cryptographic commitments and Solana blockchain data.
Below you can verify the integrity of the draw yourself.
🛠️ Verify Locally
You can independently verify the winner selection using the data above:
Method 1: Using Node.js
const crypto = require('crypto');
// From proof data above
const secret = 'REVEALED_SECRET';
const blockhash = 'SLOT_BLOCKHASH';
const secretHash = 'SERVER_SECRET_HASH';
// 1. Verify secret hash
const computedHash = crypto.createHash('sha256').update(secret).digest('hex');
console.log('Secret valid:', computedHash === secretHash);
// 2. Compute seed
const seed = crypto.createHash('sha256').update(secret + blockhash).digest('hex');
console.log('Seed:', seed);
// 3. Select winner (weighted)
// Download entries_snapshot.json and run selection algorithm
// See full script at: https://t4god.me/verify.js
Method 2: Using PHP
<?php
$secret = 'REVEALED_SECRET';
$blockhash = 'SLOT_BLOCKHASH';
$secretHash = 'SERVER_SECRET_HASH';
// Verify hash
$computed = hash('sha256', $secret);
echo "Valid: " . ($computed === $secretHash ? 'YES' : 'NO') . "\n";
// Compute seed
$seed = hash('sha256', $secret . $blockhash);
echo "Seed: $seed\n";
?>
📥 Download Raw Data
Download Proof JSON
Contains all verification data in machine-readable format
🏆 Top Entrants (By Tickets)
📚 How Provable Fairness Works
-
Commitment Phase:
Before the round starts, we generate a random secret and publish its SHA-256 hash.
The secret is kept private until after the draw.
-
Snapshot:
At the round end time, we capture:
- The current Solana slot number
- The blockhash for that slot (from Solana blockchain)
- All token holders and their balances
- Current $CLICK price in USD
-
Ticket Calculation:
Each holder receives 1 ticket per $5 USD worth of $CLICK held.
Formula:
tickets = floor(balance × price / 5)
-
Randomness Generation:
After snapshot, we reveal the secret and combine it with the blockhash:
seed = SHA256(secret + blockhash)
-
Winner Selection:
Using the seed, we perform deterministic weighted random selection
where each ticket provides equal probability of winning.
-
Verification:
Anyone can verify the entire process using the published data and
reconstruct the exact same winner.