You are viewing a single comment's thread from:

RE: FREE STEEM DOLLARS - $10 Worth - 3 Winners - Random Number Lottery

in #steem7 years ago

You should use something with the steemit blockchain on the block that seals this post to decide the winning number. That way it is transparent and "blockchain verifiable"! Thanks for hosting this my number is 420!

Sort:  

I am not sure how to do this. Ill be entering everyones numbers into a random number picker and recording it live so there is nothing fishy. If you know how to do what you were suggesting let me know. Otherwise blaze on :P

Yes I can put it together and upload the code to github. It is very straight forward it simply pulls the block you specify and uses the hash that can't be predicted ahead of time as the seed of the random number formula. I had built this with bitcoin years ago let me see if I can dig it up, was literally like 15 lines of code.

Ok. Does it allow me to enter everyones numbers and choose between them? Does it autosend the steem or i still have to do that manually?