Bitcoin Forum
June 15, 2024, 08:47:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Provably fair: purpose of client seed?  (Read 205 times)
syskall (OP)
Newbie
*
Offline Offline

Activity: 23
Merit: 16


View Profile
August 26, 2019, 11:35:42 AM
Last edit: August 26, 2019, 01:09:20 PM by syskall
 #1

I have a more technical question here. Could someone explain the rationale for requiring a client seed as part of the protocol? Assuming the server seed commitment is known before placing a bet, the server can't alter the outcome in any way. Is is the idea that a server could predict betting patterns for an individual user (and shuffle cards / pick numbers accordingly)? That's the only thing I could think of which a client seed does prevent.
akhjob
Sr. Member
****
Offline Offline

Activity: 1050
Merit: 416


Buy Bitcoin


View Profile WWW
August 30, 2019, 06:07:04 PM
 #2

You could get a clear idea on how provably fair works in a dicesite from here

How does provably fair work?
Although there are several implementations of the provably fair method, we will describe the most common one. With this method each roll-result is calculated by the following variables:

Serverseed - provided by the gambling site
Clientseed - provided by your browser and adjusted by you
Nonce - A number that increases with each bet you make
You will get an encrypted hash of the serverseed  before you start gambling. Since you get it in advance, the site cannot change it later. However it is encrypted, so you cannot calculate your own roll results in advance (only afterwards if you get the unhashed serverseed.)

Your browser will generate a random clientseed. However, you could and should adjust this clientseed before you start. This way you can make sure the site does not know your clientseed in advance.

Now if you make a bet the nonce starts with 0 or 1 depending on the website. After each bet you make, the nonce number will go up by 1.

So coming to your question regarding the purpose of Client Seed, let's assume that there is no client seed but only server seed and nounce taken for output calculation. You play several rounds and lose heavily so you change the client seed, once again you lose without any profits. If that's the case, what will you tell others? You'll most probably tell that site only gives bad seeds and that they are programmed to incur hefty losses or that the site is scam.
But by providing client seed(which could be adjusted by you) you are deciding the server seed's outcome not the gambling site. The server seeds outcome varies with the client seeds you use. So you can't actually blame the site being unfair to you.
To sum it up, Client seeds are made available to show that the site is being fair or say to build users trust.
nakamura12
Hero Member
*****
Offline Offline

Activity: 2296
Merit: 671


View Profile
August 31, 2019, 12:21:01 AM
 #3

The purpose of client seed is used to determine the result of your bets. The site takes the client seed which contains the data of your bets and a nonce (used once) and combine it with the server seed that will create a hash. The hash is used to determine the result of your bets or the roll results. You can learn more in this site https://thebitcoinstrip.com/a-guide-to-provable-fairness-in-online-casinos/

Nakamura12 Sig Space and Avatar 4 Rent
mich
Legendary
*
Offline Offline

Activity: 3164
Merit: 1032


#1 VIP Crypto Casino


View Profile
August 31, 2019, 03:20:57 AM
 #4

https://dicesites.com/provably-fair
Has all the answers to your questions

.
.BITCASINO.. 
.
#1 VIP CRYPTO CASINO

▄██████████████▄
█▄████████████▄▀▄▄▄
█████████████████▄▄▄
█████▄▄▄▄▄▄██████████████▄
███████████████████████████████
████▀█████████████▄▄██████████
██████▀██████████████████████
████████████████▀██████▌████
███████████████▀▀▄█▄▀▀█████▀
███████████████████▀▀█████▀
 ▀▀▀▀▀▀▀██████████████
          ▀▀▀████████
                ▀▀▀███

.
......PLAY......
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!