Cwallet
  • CWallet Account
    • What is Cwallet Account
    • Cwallet Contacts & Communities
    • How to Sign Up
    • How to Log In
    • How to Switch Cwallet Account
    • Transfer Assets
      • How to Transfer Assets Using Cwallet ID/Email
    • Connect Social Platform
      • How to Connect Social Platforms
      • How to Disconnect Social Platforms
  • CWallet Security
    • Login Password
      • How to Set Login Password
      • How to Change Login Password
      • Forgot Login Password
    • Payment Password
      • How to Set Payment Password
      • How to Change Payment Password
      • Forgot Payment Password
    • Email/Mobile Verification
      • How to Verify Email
      • How to Change Email
      • How to Verify Mobile Number
      • How to Change Mobile Number
    • Google Two-Factor Authentication (2FA)
      • How to Enable 2FA
      • How to Change/Disable 2FA
    • PassKey
      • How to Enable PassKey
      • How to Disable PassKey
    • App Lock
    • Device Management
  • Crypto Transaction
    • Custodial Wallet
      • Deposit
        • How to Deposit Crypto to Cwallet
        • Deposit via Lightning Network
        • How to Change Deposit Address
      • Withdrawal
        • How to Withdraw Crypto
        • Withdraw via Lightning Network
        • Minimum Amount of Withdrawal
      • How to Use Address Book
      • How to Transfer and View NFT on Cwallet
    • Non-Custodial Wallet
      • How to Use the Non-Custodial Wallet
      • How to Swap in the Non-Custodial Wallet
    • Buy Cryptocurrencies
    • Sell Cryptocurrencies
  • Cwallet Tools
    • Cwallet Tip Box
      • What is Tip Code
      • How to Create a Tip Code
      • How to Use Tip Code
    • Swap
      • How to Swap
      • About Swap’s Fee
    • List Token
      • How to List Token
      • Listing&Delisting Details
      • Cost For Listing Token
    • Airdrop Arena - Airdrop Game
    • Giveaway
      • To Get Started - Create a Giveaway
      • How to Verify the User/Player/VIP Level Requirement on Your Website with Callback Verification
      • How to Verify Actions on Your Website with Callback Verification
      • How to Verify App Installs with Callback Verification
      • How to Verify Custom App Actions with Callback Verification
      • How to Verify Custom Reward From Your Website with Callback Verification
      • How to Create Free Mint NFT Rewards with Callback Verification
      • How to Build/Manage/Use Your Project Profile
      • How to Edit Your Giveaway
      • How/Where to Check My Reward
      • What is Provably Fair
      • How to Verify Fairness
    • Mobile Refills
      • How to Top Up My Phone via Cwallet
      • Mobile Top-Up Failed
    • Bulk Payment
      • How to Use Bulk Payment
    • Payment Button
      • How to Create and Manage Payment Button
    • Request
      • How to Create and Manage Request
  • Cwallet Loan
    • Cwallet Loan: How to Get Started
  • Simple Earn
  • Crypto Buy/Sell
    • How to Sell Crypto Faster
    • KYC Verification
    • Buy/sell FAQ
    • How to Become P2P Merchant
  • Cwallet Bots
    • Cwallet Bot on Telegram
      • To Get Started
      • How to Use Command on Telegram
      • Tip&Airdrop - Telegram
        • How to Send and Receive Tip on Telegram
        • How to Send and Receive Airdrop on Telegram
      • Lucky Box
        • Revolutionizing Telegram Payments: Unlocking the Untapped Potential of Lucky Box - Gift and Pay
      • DAO
        • How to Establish a DAO
        • How to Join a DAO Group
        • Check Invitation Link of a DAO
      • Subscription
        • How to Establish a Subscription
        • Check Invitation Link of a Subscription Group
        • How to Join a Subscription Group
      • Referral Program
        • How to Set Up Referral Program
        • How to Add User and Receive Referral Reward
      • Exclusive Bot on Telegram
        • How to Create Exclusive Bot on Telegram
        • How to Invite and Enable Exclusive Bot in Telegram Group
        • Why Cannot I Add Exclusive Bot to a Group
      • Group Announcement
    • Cwallet Bot on Twitter
      • Tip&Airdrop - Twitter
        • How to Send Tip on Twitter
        • How to Send and Receive Airdrops on Twitter
        • How to Check History and Details of Tip/Airdrop I Sent on Twitter
        • How to Check if the Twitter Airdrop is Valid
        • How to Receive Tip and Aidrop on Twitter
    • Cwallet Bot on Discord
      • To Get Started - Join Cwallet Server and Enable Bot
      • Commands on Discord
      • About Group Manger in a Server
      • DAO Role - Requires Asset Verification
        • How to Set Up DAO Roles That Require Asset Verification
        • How to Get DAO Roles That Require Asset Verification
      • Subscription Role
        • How to Set Up Roles for Content Subscription
        • How to Subscribe a Role
      • Referral Program
        • How to Set Up Referral Program
        • How to Receive Referral Reward
      • Tip&Airdrop
        • How to Send and Receive Tip on Discord
        • How to Send and Receive Airdrop on Discord
      • Exclusive Bot on Discord
        • How to Create and Invite an Exclusive Bot on Discord
  • Cwallet Market
    • What is A Crypto Marketplace? How Does It Work?
    • 💳Cozy Card
      • How to Create a Cozy Card?
  • FAQ
    • FAQ-About Cwallet Account
      • Why is my Social platform/ Email Already Linked?
      • Where is My Reward After Delinking a Platform
      • How to Avoid Crypto Scams
      • Why is my balance different from the blockchain
      • Where is My Reward Received from Cwallet Bot
    • FAQ-Deposit
      • Deposit With Wrong Information
      • Why Deposit Failed/Delayed
    • FAQ-Withdrawal
      • Why Withdrawal Failed/Delayed
      • How Long Will Your Withdrawal be Processed
      • Can I Cancel a Withdrawal
      • Withdraw With Wrong Information
      • How to Check Withdrawal Progress
      • How to Make a Cwallet Internal Transfer
      • Withdraw Fee
    • FAQ-Buy and Sell
      • What Tokens Can I Buy via MoonPay/Ramp
      • Why is My Card Being Declined
      • My Money was Deducted, But I Never Got Any Crypto in My Wallet. What Should I do
      • My KYC Documents aren’t Accepted; What Can I Do
      • What Data Does MoonPay/Ramp Obtain from Me
      • Is My Information Safe with MoonPay/Ramp
      • How to Check Transaction Record After Buying Crypto via MoonPay/Ramp
      • The Minimum Order Amount is Too High for Me; How Can I Reduce it
      • Why am I Being Asked to Complete Verification Again
      • How Much Do I Pay in Transaction Fees When Using MoonPay/Ramp
      • Can I Request a Refund
      • Is My Country Supported for MoonPay/Ramp Payments?
      • What are My Options if Card Payments Repeatedly Fail
      • I Got Less Than what I Bought; Is There a Problem
    • FAQ-List Token
      • Why Failed to Submit an Application
      • Didn't Receive Notification
    • FAQ-Swap
      • Why Cannot Swap a Token
      • What is Slippage Tolerance
    • FAQ-Twitter Bot
      • Why am I not Rewarded After Retweet
      • How to Identify an Invalid Airdrop
      • How to Cancel/Stop Tip&Airdrop
      • Where is Unclaimed Tip&Airdrop
    • FAQ-Telegram bot
      • Command Instructions for Telegram Bot
      • Why Failed to Send Tip/Airdrop
      • Why Cannot I Receive Tips&Airdrops
      • Where is Unclaimed Tip&Airdrop
      • How to Cancel/Stop Tip&Airdrop
      • What Can Group Owner Do on Cwallet
      • Who Has Access to Group Settings on Cwallet
    • FAQ-Giveaway
      • How to Check the Giveaway Record
      • What Kind of Draw Methods are Supported
      • Why I am Unable to Check Retweet Task
      • What Can I do If I Do Not Receive My Reward
      • How Do I Check If I'm Done with a Task
      • Why Does My Group/Channel not Listed in Telegram Task
      • What Happens If Fail to Meet the Goal of Goal-Triggered Giveaway?
      • If the Token Reward Have not Been Fully Auto-Distributed, When Will I Receive a Refund
      • Why is My Giveaway No Activated/ Invalid? And How to Activate it?
    • FAQ-Others
      • How to Check the Token Information
      • Where is Liquidity
  • Co-Marketing Resources
    • 🚀Accelerate Your Web3 Project
  • Policy
    • Privacy Policy
    • Cwallet Simple Earn Service Policy
    • Cwallet Loan Service Terms
    • Terms of Service
    • Anti-Robot Strategies
    • Anti-Money Laundering Policy
    • Terms of Conditions - Gift Card
  • Third-Party Licenses
    • Font Licence Acknowledgment
Powered by GitBook
On this page
  • Provably Fair Explained
  • Overview
  • Components
  • Random Draw Process
  • About the algorithm
  • Provably Fair Conclusion
  1. Cwallet Tools
  2. Giveaway

What is Provably Fair

Provably Fair

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

Cwallet Giveaway 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.

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.

PreviousHow/Where to Check My RewardNextHow to Verify Fairness

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.

linear congruential generator