Bitcoin Forum
November 23, 2017, 04:35:44 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What is a good, solid way to make a betting game provably fair?  (Read 848 times)
SlickTheNick
Full Member
***
Offline Offline

Activity: 221


View Profile
February 01, 2013, 03:48:49 PM
 #1

I see serveral BTC gambling sites are "provably fair". What is a good method for making a provably fair/trustworthy system for a simple betting game?

Looking for a way to get some bitcoins for free? Check out http://earnfreebitcoins.com !
Get easy bitcoins at  https://coincontroller.com?r=eaef398b5 !
1511411744
Hero Member
*
Offline Offline

Posts: 1511411744

View Profile Personal Message (Offline)

Ignore
1511411744
Reply with quote  #2

1511411744
Report to moderator
1511411744
Hero Member
*
Offline Offline

Posts: 1511411744

View Profile Personal Message (Offline)

Ignore
1511411744
Reply with quote  #2

1511411744
Report to moderator
1511411744
Hero Member
*
Offline Offline

Posts: 1511411744

View Profile Personal Message (Offline)

Ignore
1511411744
Reply with quote  #2

1511411744
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511411744
Hero Member
*
Offline Offline

Posts: 1511411744

View Profile Personal Message (Offline)

Ignore
1511411744
Reply with quote  #2

1511411744
Report to moderator
markm
Legendary
*
Offline Offline

Activity: 2002



View Profile WWW
February 01, 2013, 06:42:37 PM
 #2

The way they do it seems to be working fine, do you see any problems with it?

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
FreeMoney
Legendary
*
Offline Offline

Activity: 1246


Strength in numbers


View Profile WWW
February 02, 2013, 12:30:48 AM
 #3

MyriadCoins uses a salt, timestamp and hash to commit to our guess when the player arrives, lets the player enter their own guess and a win or loss is determined by the distance between the guesses.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
SlickTheNick
Full Member
***
Offline Offline

Activity: 221


View Profile
February 02, 2013, 02:26:14 AM
 #4

The way they do it seems to be working fine, do you see any problems with it?

-MarkM-

No, im just mostly interested in hearing peoples thoughts/ideas.

Quote
MyriadCoins uses a salt, timestamp and hash to commit to our guess when the player arrives, lets the player enter their own guess and a win or loss is determined by the distance between the guesses.

Thats cool, is that what the hash displayed at the bottom of the page is?

Looking for a way to get some bitcoins for free? Check out http://earnfreebitcoins.com !
Get easy bitcoins at  https://coincontroller.com?r=eaef398b5 !
PrintCoins
Hero Member
*****
Offline Offline

Activity: 535


View Profile
February 02, 2013, 03:59:55 AM
 #5

When you "roll" you could use the current value of the s&p, an image of a tree in your back yard blowing in the wind or the static in the radio as a seed for random function and present it as something indepentently verifyable. Just be sure you have the most up to date seed otherwise your users might scoop you.

paybitcoin
Member
**
Offline Offline

Activity: 85


1h79nc


View Profile WWW
February 02, 2013, 05:56:13 AM
 #6

When you "roll" you could use the current value of the s&p, an image of a tree in your back yard blowing in the wind or the static in the radio as a seed for random function and present it as something indepentently verifyable. Just be sure you have the most up to date seed otherwise your users might scoop you.
Depending on how you implement it, a tree blowing in the wind or radio static is not necessarily independently verifiable, since you'd have no way of knowing whether the site operator is reusing tree images or creating their own special winning static.

Basically, start off with some random data, hash it, and publish those hashes ahead of time in public (like the blockchain, or in the page itself like MyriadCoins.) Then use the random data and bet data (optional) as inputs to a cryptographically-strong hash during the game to get a randomly distributed output. Release the random data after some period of time after the game, so users can verify it.

The strength of this comes from the strength of the hash functions used (very good assuming lots of entropy in the random data) and the security of the random data up to the point where it is used (depends on your development skills, and hax0rs.)

Also, if you haven't yet, read up on how SatoshiDice implements the verification - it is a good writeup.

If you are talking about other games, like proving a sports bet was paid out fairly, that's a whole other topic...
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!