Jump to content

How is the number calculated?


MelonTusk
 Share

Featured Comment

I don’t see any sever seeds in my bet book.

 

I would love to be able to verify the validly of the site on my own, since I play so much.

 

I assume it has the be a function using the client seed, server seed, and nonce. But I don’t see and code anywhere, or any revealed server seeds. Even for months prior.

 

How can I verify the validity of this game?

Link to comment
Share on other sites

  • Community Manager

Hello MelonTusk,

When you place a bet, you'll find it in 'My bets' under the game:

https://prnt.sc/1tsj546

There you'll have your bet ID, and you can find the server seed, client seed and nonce, for example:

https://prnt.sc/1tsiz6v

Under that, there is a sentence 'Rotate your seed pair in order to verify this bet' and by clicking on that you will see the seed that you couldn't see before and the fairness. You can also change the seed there. 

If you click on verify:

https://prnt.sc/1tsjipz

You can verify your seed by copying it and see every bet that you made for any game you chose.

Besides that, here is the text where you can read more about our provably fair system: 

https://news.stake.com/how-does-the-provably-fair-system-work/

Hope I made it clearer to you. All the best! 🍀

Link to comment
Share on other sites

19 hours ago, Mina said:

Hello MelonTusk,

When you place a bet, you'll find it in 'My bets' under the game:

https://prnt.sc/1tsj546

There you'll have your bet ID, and you can find the server seed, client seed and nonce, for example:

https://prnt.sc/1tsiz6v

Under that, there is a sentence 'Rotate your seed pair in order to verify this bet' and by clicking on that you will see the seed that you couldn't see before and the fairness. You can also change the seed there. 

If you click on verify:

https://prnt.sc/1tsjipz

You can verify your seed by copying it and see every bet that you made for any game you chose.

Besides that, here is the text where you can read more about our provably fair system: 

https://news.stake.com/how-does-the-provably-fair-system-work/

Hope I made it clearer to you. All the best! 🍀

Okay I see. But where are my server seeds? I went through all my bets and I can only see the server seed hash. When do I get access to the server seed to verify?

 

Also, what is the calculation that is even used for games like limbo for example? How do I know the equation does not change? How do I know that some seeds are not more skewed than others over the long term of the seed? Are all seeds perfectly accurate for the listed probabilities up until the max nonce? How can I very this?

 

Thanks for the help.

-------------------

 

EDIT:

 

I also see this post

This is the same thing I am stuck on... I can't seem to find a valid combination..

 

This tells me that since the only way to 'verify' being through a stake.com verification means that you can store client seed, server seed, and nonce entries along with the number provided. And when I put these in for verification the calculation is not redone - it is just pulled from the bet that is saved in the archive.

 

How can I prove the validity of these number entirely on my end without stake being in the middle? Unless we can do this - This site cannot claim 'Provably Fair' is stake is the verifier.

 

I need someone to tell me a way to verify this on my own. I have tried to calculate the hmac_sha256 and I do not get the correct hex values. This is very sus Stake..

 

I also see this post here..

The same issue I am concerned with here is skipped in this analysis. The hex value give by stake I am not able to reproduce. For all I know when I go to the verify page, stake is pulling the record stored in my bet archive.. considering the same data points are stored and exist there. Server Seed, Client Seed, and Nonce. Then generating a random hex value that matches the calculation - again since this is a hash algorithm it cannot be undone and verified. Unless I can reproduce it on my own.

 

This said - it is still currently impossible to actually verify the validity of this site. Stake, you cannot claim to be 'Provably Fair' if you are the only validator.

https://en.wikipedia.org/wiki/Interactive_proof_system

 

- MelonTusk

------------------------------------------------

ANOTHER UPDATE:

 

So I figured it out.. code is here https://github.com/provably-fair/provably-fair-app/blob/4c440bf961afad4471fd84f00612b8d72d165275/src/services/Stake/generic.js#L354

 

The HMAC_SHA256 formula shown is misleading...

 

the correct calculation is..

 

HMAC_SHA256(<SERVER_SEED>, <CLIENT_SEED>:<NONCE>:0)

 

 

Thanks!

Edited by MelonTusk
Link to comment
Share on other sites

On 9/27/2021 at 7:00 PM, MelonTusk said:

HMAC_SHA256(<SERVER_SEED>, <CLIENT_SEED>:<NONCE>:0)

yup.  Even in games that don't require multiple rounds they still add a 0 to the end.  Took me forever to figure that out.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...