Skip to content
/ BitLuck Public
forked from Rui-Santos/BitLuck

A simple Bitcoin-based lottery script. (Unfinished, discontinued.)

License

Notifications You must be signed in to change notification settings

kkooii/BitLuck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BitLuck

A simple Bitcoin-based lottery script.

WARNING: This script comes with absolutely no warranty. This was an example showing how the Bitcion JSON-RPC works. @PhilG has pointed out that there is a bug in this script which would result in players being able to play for free after their first entry.

Installation

Set the configuration variables in config.inc.php.

Add a call in your crontab to run give_prize.php every day at the $draw_time time.

Create an address with the label "Lottery Pot" in the Bitcoin wallet you are using for BitLuck.

Make sure the wallet has enough funds to cover transaction fees.

License

This code is licensed under the MIT license. More information can be found in the LICENSE file.

About

A simple Bitcoin-based lottery script. (Unfinished, discontinued.)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published