Bitcoin Forum
June 28, 2024, 02:19:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Did I undertood Provably Fair correctly?  (Read 560 times)
ryumaster (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 16, 2014, 10:13:36 PM
 #1

Hi! I want to make Provably Fair system for the game like satoshigrid, where I have boxes with hidden prizes.

Now, I have read many info in this topic, but maybe I'm retarded, somehow I can't figure out did I put it all together in my head properly.
Please, let me know, if I am going to do this correctly:

On the server, I generate seed from the, lets say, current microtime.
Using this seed, I fill randomly positions with the prizes, using some php rand() function,
As prize amount is always the same, I don't need any user input here. No matter where they are
placed, it is always fair.

I hash that seed, and present it on my website on game launch.
After the game is complete, everyone can see, where the prizes were.
And I tell the real seed number which was hashed.

So everyone can compare it with hash, and I supply random formula I used to geneate spots (formula never changes)

So is that enough to call this approach secured and fairly proofable?
ryumaster (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 17, 2014, 05:02:51 PM
 #2

Bump of shame!
BlockChainLottery
Sr. Member
****
Offline Offline

Activity: 332
Merit: 250


AwesomeDice.net


View Profile WWW
January 17, 2014, 05:20:56 PM
 #3

Well, it should not really be a random formula. It has to be deterministic, otherwise nobody could check it.

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!