 |
February 14, 2015, 05:53:22 PM Last edit: February 14, 2015, 09:14:36 PM by remotemass |
|
In between blocks two tweets (X and Y) would be picked at random using the hash of the latest block as a random generator.
You would have two bitcoin addresses to bet: A and B. If you think tweet X is likely to be considered more interesting than tweet Y, you send coins to address A. Otherwise you send coins to address B.
The ones that sent coins to the address that got less coins lose their coins to the ones that sent them to the address that got more coins. Those that win get a proportion of the coins of the losers correspondent to the proportion of coins they sent to the address where winners bet.
The catch is how to avoid people bet based on other peoples bets.
Here is a solution.
Users would have to provide the SHA256(LatestHash appended by many random gibberish/nonce ODD digits) if sending coins to address A means betting on tweet X.
or SHA256(LatestHash appended by many random gibberish/nonce EVEN digits) if sending coins to address A means betting on tweet Y.
To be eligible to claim the prize you must reveal the digits that appended to the given string make it so that the SHA256 of it all is the one that was provided to participate in the game. If you cannot provide a sequence of ODD or of EVEN numbers that will make public what was your choice in advance for what sending to address A or B meant in terms of your bet, you loose your coins. Otherwise, you win if according to the address to bet correspondence you did bet in the winner option.
|