Giveaway.com
  • OVERVIEW
    • What is Giveaway.com?
      • Introduction for Users
      • Introduction for Project Partner
      • Contact US
      • What is Provably Fair
      • How to Verify Fairness
    • Core Features of Giveaway.com
      • Earn
      • Penny Win
      • Offer
    • Benefit
      • For user:
      • For project partner:
  • WEB3 KNOWLEDGE
    • What is Web3?
    • How Giveaway.com Integrates Web3
    • Key Features for Web3 Beginners
    • Getting Started with Web3 on Giveaway.com
    • Why Web3 Makes Giveaway.com Unique
  • USER TUTORIAL
    • To Get Started: Sign in
    • How to Participate in EARN Activities
      • Guideline:
      • Reward
      • Other FAQ
        • What Can I do If I Do Not Receive My Reward
        • Why I am Unable to Check Retweet Task
        • Why Does it Show that I Have not Completed the Task Even Though I Have done it
        • Why Telegram's Invitation Task Cannot be Verified
    • How to Play Penny Win
      • Buzz Spin:
      • Lucky Draw
      • How Do We Ensure Fairness in Penny Win?
    • How to Engage with Offers
      • Guideline
      • Reward
      • Notes for Offer
  • PROJECT PARTNER TUTORIAL
    • To Get Started
      • Sign In
      • Giveaway Verification(KYC)
    • Giveaway Mode
      • Lucky Giveaway
      • Competition Giveaway
      • Achievement Giveaway
      • Referral Giveaway
    • How to Create a Giveaway
    • Reward Payment
    • Giveaway Data
    • How Can I Check My Giveaway Creation History
    • Other FAQ
      • Toolkit
        • Offline Event Luckydraw
      • Tasks
        • Task Types and Set Up
          • Social Media Tasks
          • Website Tasks
          • App Tasks
          • Share Giveaway Tasks
          • Collect/Verify Information Tasks
          • Eligibility Tasks
        • Callback Verifications Instruction
          • How to Verify App Installs with Callback Verification
          • How to Verify Custom Reward From Your Website with Callback Verification
          • How to Verify the User/Player/VIP Level Requirement on Your Website with Callback Verification
          • How to Set and Verify Custom App Actions with Callback Verification
          • How to Verify Actions on Your Website with Callback Verification
        • Why Does My Group/Channel not Listed in Telegram Task
      • Reward-related issues
        • Reward Types and Set Up
          • Token Reward
          • NFT Reward
          • OAT Reward
          • Gift Cards/Keys/Codes Reward
          • Pass Reward
          • Subscription Reward
          • Custom Reward
          • Other Prize
        • If the Token Reward Have not Been Fully Auto-Distributed, When Will I Receive a Refund
        • How to Create Free Mint NFT Rewards
      • Why is My Giveaway No Activated/ Invalid? And How to Activate it?
      • How to Edit My Giveaway
      • How to Customize and Design My Giveaway Page
      • What Kind of Draw Methods are Supported & How to Select the Appropriate One
      • How Can I Check the History of the Giveaways I Have Created
      • What Happens If Fail to Meet the Goal in Goal-Triggered Giveaway?
      • What is Project Dashboard & How to Build/Manage/Use My Project Profile
      • What is ''Share Giveaway to Get More Chance to Win'' Feature and How to Use it
      • How to Create a Partnership with Another Project to Co-Host a Giveaway
  • Conditions and Policy
    • Anti-Money Laundering Policy
    • Anti-Robot Strategies
    • Privacy Policy
    • Terms of Service
Powered by GitBook
On this page
  • Provably Fair Explained
  • Overview
  • Components
  • Random Draw Process
  • About the algorithm
  • Provably Fair Conclusion
  1. OVERVIEW
  2. What is Giveaway.com?

What is Provably Fair

Provably fair algorithms of sweepstakes on Giveaway.com

PreviousContact USNextHow to Verify Fairness

Last updated 5 months ago

Provably Fair Explained

The term "provably fair" refers to an algorithm that utilizes technology to make online randomization more efficient and transparent while maintaining the highest level of fairness and openness.Briefly, the algorithm uses blockchain technology to generate as random an outcome as possible, such as shuffling a deck of playing cards or flipping a coin.

Overview

Giveaway.com is a provably fair giveaway tool, which employs a provably fair algorithm. By applying the revolutionary concept of provably fair, we ensure that the sweepstake is more realistic and transparent.

Components

The provably fair algorithm can be implemented in many ways, but the most common one involves calculating three important variables every single time a draw is conducted: the server seed, the client seed and the nonce. Client seed & server seed both are equally essential to generate a fair result.

Server Seed: A series of numbers and letters used to randomly generate the results by CC based on open source randomized algorithm.



Client Seed: we use a blockchain-based algorithm which is unpredictable, once the draw starts, the current ETH block’s hash will be used as Client seed.



Nounce: An active integer that increases for each participation and is assigned to 
all participants as their unique PID (Participant ID) for that giveaway.

Random Draw Process

Random numbers (for draw results) are generated using server seed, client seed, and nonce. The server seed is hashed and displayed before the draw begins. This ensures that the draw results can not be modified during the draw process.

About the algorithm

This algorithm selects a specific number of winners among all participants based on the ETH blockHash and the server seed.As per the , we use the glibc parameter as the parameter of the algorithm, and the ETH blockHash as the secret key, use HmacSHA256 Generator to encrypt the ServerSeed in order to obtain an hash value, and converts this hash value into an integer. Then take the last 8 digits of this integer as the initial seed of the random algorithm. By doing so we will randomly select a winner from each participant, until all are selected.If the number of participants is less than or equal to the number of winners, then each participant will win the prize without algorithm calculations.

Provably Fair Conclusion

To summarize the entire idea of provably fair algorithms, there are three important steps to bear in mind:1. Before the draw, you will view the server seed hash. The server seed will be available after the giveaway has been drawn. Users can encrypt the ServerSeed using SHA256, and compare the encrypted hash value with the ServerSeedHash given in the giveaway, so as to determine whether we've tampered with it or not.2. The machine uses an algorithm to generate random outcomes based on the seed.3. After calculating, you can click Verify in order to verify the fairness of the giveaway that you’ve just participated.

linear congruential generator