Bitcoin Forum
October 22, 2017, 05:51:00 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Is there any "provably fair" principle for lottery with more than one player?  (Read 723 times)
johny1976
Legendary
*
Offline Offline

Activity: 1098



View Profile
December 02, 2015, 08:46:02 PM
 #1

Hi,

the failure scenario with common provably fair mechanism:

1. Server generates a server seed and shows sha256-hash to all participants
2. Each gamer picks any amount of numbers from the list (say 1-100) and sets a client seed
3. Operator prepares to make the final bet (he can do it any time he want selecting all remaining numbers) by following:
3.1 He knows the sum of a client seeds of all participated players and also a server seed.. He does a simple calculation and abracadabra, he knows exactly what client seed to set to make one of his number the wining one.
3.2 He logs into (or creates) an account called "IAmNotTheOperator" to appear as a normal player
3.3 He sets a calculated client seed
4. Some ordinary gamer called IAmNotTheOperator makes a final bet
5. "IAmNotTheOperator won the game! Thank you and see you next time!"

so my question is:

When you operate a lottery-based casino game, what can you do to ensure your gamers that there's no way the op can cheat or impact the odds? Is there any way to do it?

Thank you
1508694660
Hero Member
*
Offline Offline

Posts: 1508694660

View Profile Personal Message (Offline)

Ignore
1508694660
Reply with quote  #2

1508694660
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
joschua011
Member
**
Offline Offline

Activity: 86


View Profile
December 02, 2015, 11:35:02 PM
 #2

base the result on something that has not yet happend.

people can bet until some deadline is over, once over the result will be calculated.

lets say

result = hash( nytimes headline + DOW Jones index + bitcoin price + newest nicki minaj tweet + you get the idea... )
johny1976
Legendary
*
Offline Offline

Activity: 1098



View Profile
December 03, 2015, 02:33:02 AM
 #3

base the result on something that has not yet happend.

people can bet until some deadline is over, once over the result will be calculated.

lets say

result = hash( nytimes headline + DOW Jones index + bitcoin price + newest nicki minaj tweet + you get the idea... )

I thought of something similar so you've kind of confirmed my hypothesis. Thank you :-)
christinalorence
Newbie
*
Offline Offline

Activity: 9


View Profile
December 04, 2015, 07:18:37 AM
 #4

I don't think that there is a probability like that. You can ask it to your seniors.
midmir
Full Member
***
Offline Offline

Activity: 154


View Profile
December 04, 2015, 07:32:13 AM
 #5

I am also interested in this subject.

You should check the cyberdice protocol.

I wonder how is implementable "the op or anyone can't leave with the money" scenario in case of autoexecutable public smart contract and 'public' private keys  Huh
Kprawn
Legendary
*
Offline Offline

Activity: 1274


It is better to burn out, than to fade away.


View Profile WWW
December 04, 2015, 02:36:39 PM
 #6

The owner of Freebitco.in is also looking for a solution to this... in this thread he explained how he is running his lottery on his site ---> https://bitcointalk.org/index.php?topic=319540.1180

In any scenario, a operator has to show what version of the code he/she is running at the moment when the winner is chosen. Some operators show a "Provably fair" code, but

there is no guarantee that they running that code, when they do the draw.  Huh ....The person with the perfect solution to this, would make a lot of money, because this solution

is in high demand.  Wink

▄██████████████████████████████████████████████████████████████████▀███▀███▄
████████████████████████████████████████████████████████████████████▄▀▄█████
███████████████████████████████████████████████████████████████████▀▄█▄▀████

███▀▀▀▀▀▀▀▀██████▀▀▀████████▀▀▀██▀▀▀███████████▀▀▀██▀▀▀▀▀▀▀▀████████▀▀▀█████
███          ▀███   ████████   ██    ▀█████████   ██           ▀████   █████
███   █████▄   ██   ████████   ██      ▀███████   ██   ██████▄   ███   █████
███   ██████   ██   ████████   ██   █▄   ▀█████   ██   ████████   ██   █████
███   █████▀   ██   ████████   ██   ███▄   ▀███   ██   ████████   ██   █████
███          ▄███   ▀██████▀   ██   █████▄   ▀█   ██   ███████▀   ██   █████
███   ▄▄▄▄▄███████   ▀▀▀▀▀▀   ███   ███████▄      ██   ▀▀▀▀▀▀   ▄███   █████
███   █████████████▄        ▄████   █████████▄    ██        ▄▄▄█████   █████
████████████████████████████████████████████████████████████████████████████
▀██████████████████████████████████████████████████████████████████████████▀
  BUY
  SELL
ACCEPT
   ███████████████████████████
  .CRYPTOCURRENCY..
███████████████████████████
.



 Senior Member


██████████████████████████████████████████████████████████████████▄   ▄
███████████████████████████████████████████████████████████████████▀▄▀
██████████████████████████████████████████████████████████████████▄▀ ▀▄
  ▄▄▄▄▄▄▄▄      ▄▄▄        ▄▄▄  ▄▄▄           ▄▄▄  ▄▄▄▄▄▄▄▄▄       ▄▄▄
  ██████████▄   ███        ███  ████▄         ███  ███████████▄    ███
  ███     ▀███  ███        ███  ██████▄       ███  ███      ▀███   ███
  ███      ███  ███        ███  ███ ▀███▄   
achow101
Staff
Legendary
*
Offline Offline

Activity: 1190


17kKQppUsngUiByDsce4JXoZEjjpvX9bpR


View Profile WWW
December 04, 2015, 03:03:46 PM
 #7

You could have something where the lottery closes participation at a certain time and the drawing happens some time later and the server seed is based on something that happened after new entries were closed. Since the seed is determined after people can enter, the owner cannot enter with the right client seed since the server seed is unknown until the drawing.

          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
.
|
.
|
          ▄█████▄
        ▄█████████▄
      ▄████▀   ▀████▄
    ▄████▀   ▄ ▄█▀████▄
  ▄████▀   ▄███▀   ▀████▄
▄████▀   ▄███▀   ▄   ▀████▄
█████   ███▀   ▄███   █████
▀████▄   ▀██▄▄███▀   ▄████▀
  ▀████▄   ▀███▀   ▄████▀
    ▀████▄       ▄████▀
      ▀████▄   ▄████▀
        ▀███  ████▀
          ▀█▄███▀
unthy
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!