Bitcoin Forum
April 26, 2024, 06:41:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Project Development / Bitcoin gambling on: December 01, 2019, 11:54:49 PM
I was thinking of hacking together an on-chain Bitcoin gambling game. It would be very similar to SatoshiDice (https://www.satoshidice.com/), except use Bitcoin instead of BCH. It would use the same provably fair scheme (Server seed hash is published on chain, then revealed ~3 days later). I think it would be cool if there was no website and it operated entirely on chain. You could send to one of 10 addresses at any time, each address corresponds to the odds you want to play.

Do you like the idea? Open to comments or suggestions.
2  Bitcoin / Project Development / Re: hello, i've recently launched a provably fair hourly bitcoin lottery website on: May 25, 2018, 02:26:15 AM
Gotcha that would make sense and be a nice feature to add. And hey, thanks for your thoughtful responses. These are all valid concerns I must address
3  Bitcoin / Project Development / Re: hello, i've recently launched a provably fair hourly bitcoin lottery website on: May 25, 2018, 02:11:26 AM
If a user wants to verify the payouts, they need to download the code and run it, yes. They can play the game without verifying the payouts though. I just need to provide a mechanism for users to verify the fairness if they wish to...


edit: Ahh! I see the issue I think you're raising. Potentially I could change the contents of verifyscript.js every round in order to cheat. So I need to prove that this verifyscript.js doesn't change. So I need to post this script somewhere (on a forum like this), where it can be quoted and timestamped by others
4  Bitcoin / Project Development / Re: hello, i've recently launched a provably fair hourly bitcoin lottery website on: May 25, 2018, 02:04:28 AM
The script linked is not being run on the client side when they use the site. I run the selection algorithm on a private computer, then broadcast the results to my site's database. My web server than sees the update by querying the database. I provide the verifyscript.js to the client so they can, on their own, download the file and run it via node on their private computer. They do this if they want to verify the fairness of a previous round. So verifyscript.js doesn't actually execute unless the user downloads it onto their private computer, installs the necessary packages, and runs it from their own command line. And even then, it's only to verify that I have selected the results according to the published algorithm. Sorry for the confusion - does that make more sense?
5  Bitcoin / Project Development / hello, i've recently launched a provably fair hourly bitcoin lottery website on: May 25, 2018, 01:34:13 AM
I'm hoping that anyone who is interested can identify that my selection algorithm is indeed provably fair. I'm also hoping to get the word out about my site! The site is called Satoshi Pot.

The url is: satoshipot.org.

On the main page (after clicking "play"), there is a Fairness tab that describes how it is provably fair, and includes a link to a verification script. Here's a summary:

We have hour-long lotteries. People can purchase tickets by signing up and sending bitcoin payments to their provided Ticket Address. Any payments that have received 1 block confirmation by the end of the round will result in tickets being awarded to that user. At the end of each round, we use the hash of the most recent Bitcoin block to seed a Pseudo-Random Number Generator (PRNG). We then sort all the entries alphabetically by username (all usernames are unique), and run our selection algorithm using the seeded PRNG. This creates a provably random outcome so that nobody (including us) can cheat the system. Please let me know your thoughts! And of course I'd be thrilled if you played as well Smiley
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!