Roll Verification
How It Works
Our giveaway system uses cryptographic verification to ensure completely fair and verifiable random winner selection. Here's how it works:
1. Random Selection Process
When a winner is drawn, the system uses three key pieces of information:
- Timestamp - The exact time of the roll
- Chatroom ID - Unique identifier for the giveaway channel
- Total Participants - The number of eligible users
2. Cryptographic Verification
These elements are combined and processed through a SHA-256 hash function to generate a unique verification hash. This hash is then used to deterministically select a winner index, ensuring:
- The selection cannot be manipulated or predicted in advance
- The same input will always produce the same winner
- The process is fully transparent and verifiable by anyone
3. Verification
You can verify any roll by inputting the original parameters above. The system will:
- Recreate the hash using the provided information
- Calculate the winner index using the same algorithm
- Confirm if the selected winner matches the original roll
This system ensures that once a roll is made, its fairness can be mathematically proven by anyone at any time.