🕹️ Raffle Methodology
A Provably Fair Result
Our winner selection process for the ALPHA TOURNAMENT RAFFLE WINNERS is designed to be both fair and transparent, relying solely on verifiable on-chain data. Here is a detailed description of the process, and presented in the bottom the current list of winners:
Step 1: Gathering Player Data
- We start by collecting the wallet addresses of the participants on the leaderboard.
- We take each address and the number of tickets allocated, to create the final list of addresses:
- e.g. 3 Participants [A,B,C], A has 3 tickets, B has 2 ticket, C has 1 ticket → AAABBC
Step 2: Salting
- Since we’re picking 20 “tickets” in this raffle, to find out the winner for each pick, we add their index at the end of the string we got from step 1.
- e.g. The 2nd ticket would be determined by AAABBC1 (we’re indexing from 0)
Step 3: Creating a Unique Code
- This list of addresses is then transformed into a unique code through a process called 'hashing', akin to blending the list into a distinct, scrambled sequence of characters. The hashing algorithm used ensures that even minor variations in the input produce a completely different hash.
Step 4: Assigning Numbers to the Code
- We take the minimum viable number of characters of this hash and convert them from hex to decimal number. For this tournament, it’s 4.
- e.g. a3f0 → 41968
Step 5: Standardizing the Numbers
- The assigned number is then normalized to a value between 0 and 1. This normalization process ensures that the value 0 corresponds to the lowest value and 1 corresponds to the highest ($16^4 -1 = 65535$).
- e.g. 41968 → $41968/65535 ≈ 0.64$
Step 6: Determining the Winner
- We multiply this normalized value by the number of tickets in the raffle to determine the winner's index. This index is then rounded to the nearest whole number to select the winning address. It's a method that mimics the randomness of drawing a name from a hat but executed in a digital and unbiased manner.
📋 Leaderboard Data