Bitcoin Forum
April 23, 2024, 12:44:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Lottery Game  (Read 504 times)
Hayati (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
October 24, 2016, 04:45:57 PM
 #1

I want to create a lottery game but do not have enough knowledge to create or implement a deposit/withdrawal or provably fair system.

Would you be willing to participate in the game if there is a hashed winning number and all deposit are held in escrow?

The escrow would have to be a member of this forum and sign a message with the deposit addresses stating he owns them and only he has access.

There will be 3 games, each one has a prize of 1 BTC.

#1 Entry: 0.0001, Players: 10,000
#2 Entry: 0.001, Players: 1,000
#3 Entry: 0.01, Players: 100
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713876290
Hero Member
*
Offline Offline

Posts: 1713876290

View Profile Personal Message (Offline)

Ignore
1713876290
Reply with quote  #2

1713876290
Report to moderator
1713876290
Hero Member
*
Offline Offline

Posts: 1713876290

View Profile Personal Message (Offline)

Ignore
1713876290
Reply with quote  #2

1713876290
Report to moderator
MartinL
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
October 24, 2016, 05:24:46 PM
 #2

Merely proving that the game result was predetermined is not sufficient in a pool-backed game like a lottery, unfortunately. The problem is that the game operator knows the result ahead of time and could participate in the lottery himself with the winning ticket.

A simple solution would be to choose a block some time in the future and use its hash as the game result. That way players can be certain that the operator isn't (unfairly) partaking in the game. It is not completely provably fair as a big miner could still cheat, but it is probably sufficient for a small game.
Hayati (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
October 24, 2016, 05:27:39 PM
 #3

Merely proving that the game result was predetermined is not sufficient in a pool-backed game like a lottery, unfortunately. The problem is that the game operator knows the result ahead of time and could participate in the lottery himself with the winning ticket.

A simple solution would be to choose a block some time in the future and use its hash as the game result. That way players can be certain that the operator isn't (unfairly) partaking in the game. It is not completely provably fair as a big miner could still cheat, but it is probably sufficient for a small game.

Thank you for your comment. How would this work though, I mean what tool do I use and how? Which block do I choose in the future also?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3374
Merit: 6531


Just writing some code


View Profile WWW
October 24, 2016, 06:09:38 PM
 #4

Thank you for your comment. How would this work though, I mean what tool do I use and how? Which block do I choose in the future also?
Your lottery has to have an end time, so you would do something like choose the 6th block after the end time and take the first 4 bytes and use that as your winning number.

Kakmakr
Legendary
*
Offline Offline

Activity: 3430
Merit: 1957

Leading Crypto Sports Betting & Casino Platform


View Profile
October 25, 2016, 06:38:46 AM
 #5

Merely proving that the game result was predetermined is not sufficient in a pool-backed game like a lottery, unfortunately. The problem is that the game operator knows the result ahead of time and could participate in the lottery himself with the winning ticket.

A simple solution would be to choose a block some time in the future and use its hash as the game result. That way players can be certain that the operator isn't (unfairly) partaking in the game. It is not completely provably fair as a big miner could still cheat, but it is probably sufficient for a small game.

The problem with that is, small lotteries grow bigger and 1BTC is still enough money for bigger miners to cheat. There have been a lottery on this forum, based on the blocks in the Blockchain and the miners did cheat. I cannot find it now, but it was pretty big and the operator was a well known user in the community.

The Millionairmakers concept on Reddit seems to work, if you want to try and get a hold of those guys. Go to : https://www.reddit.com/r/millionairemakers/

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
MartinL
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
October 25, 2016, 07:18:08 AM
 #6

The problem with that is, small lotteries grow bigger and 1BTC is still enough money for bigger miners to cheat. There have been a lottery on this forum, based on the blocks in the Blockchain and the miners did cheat. I cannot find it now, but it was pretty big and the operator was a well known user in the community.

The Millionairmakers concept on Reddit seems to work, if you want to try and get a hold of those guys. Go to : https://www.reddit.com/r/millionairemakers/

Unfortunately, the MillionaireMakers system suffers from a different problem: A big miner can withhold all blocks that do not result in him winning the drawing, unfairly increasing the chance that a winning block is eventually found.

The now defunct PevPot.com is an example of a system that solves this problem. It does not use the hash of the deciding block directly but instead applies a very slow (think 30+ minutes) key stretching function to it and uses its result to determine the winner. This prevents a big miner from even knowing whether any blocks he finds would result in him winning the draw until it is likely too late to submit that block. The key stretching function can be made even slower to provide even more certainty, though I do not believe it is necessary.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!