Here is the step-by-step sequence for how we select a winner every day:
Daily Check-in Giveaway
- Entry Collection: Each day at 00:30 UTC, our system automatically queries the blockchain for all "Daily Check-in" transactions from the previous 24-hour period (00:00:00 to 23:59:59 UTC).
- Streak Bonus: To reward our most loyal users, maintaining a consecutive "check-in streak" gives you additional entries in the raffle, directly increasing your chance to win.
- Public Entry List: A list of all eligible entries from that period is compiled and indexed (e.g., 1, 2, 3...). This list is published in a public-view Google Sheet so you can confirm your entry.
- On-Chain Drawing: We then execute a smart contract to generate a random number. The total number of daily check-in transactions on chain is used as the limit (e.g., generating a random number between 1 and 5,000).
- Winner Selection: The wallet address that corresponds to the generated random number on the indexed list is the official winner for the day.
- Verifiable Code: We use a smart contract to generate a random number for selecting the winner.
This method guarantees that every daily check-in is a valid entry and that the winner is chosen by a provably random and fair on-chain process.