Bitcoin Forum
May 13, 2024, 01:07:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Provably fair BTC lottery  (Read 2218 times)
minzie (OP)
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
October 13, 2014, 12:04:18 AM
 #1

****cross-posted from the gambling section ****

A while back I was approached to build a user interface for a web-based Bitcoin lottery. That client moved on to a different project, so I was left with what I think is a pretty snazzy front end ready to be bolted to a back end. So I went ahead and created the back-end.







I am reaching out to try and find 10 people or so willing to test out the app. If you are interested in help test, send me a PM. I know there are dozens of others here looking for testers also, so I am hoping that the fact that I am going to fund the pool is a little incentive. I won't open it until I can find enough people.

As for the future of the app, I am still undecided. I am open to discussing sale of the application if someone happens to be interested.

- Single page web application.
- Log-in only requires a valid Bitcoin address.
- Laravel backend.
- MySql database.
- No sensitive data stored on site. ( no passwords or private keys)

I can arrange a demo for those interested. Just send me a PM. Other then the stuff that comes with Laravel, the game code and account management code is mine.

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
1715605630
Hero Member
*
Offline Offline

Posts: 1715605630

View Profile Personal Message (Offline)

Ignore
1715605630
Reply with quote  #2

1715605630
Report to moderator
1715605630
Hero Member
*
Offline Offline

Posts: 1715605630

View Profile Personal Message (Offline)

Ignore
1715605630
Reply with quote  #2

1715605630
Report to moderator
1715605630
Hero Member
*
Offline Offline

Posts: 1715605630

View Profile Personal Message (Offline)

Ignore
1715605630
Reply with quote  #2

1715605630
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715605630
Hero Member
*
Offline Offline

Posts: 1715605630

View Profile Personal Message (Offline)

Ignore
1715605630
Reply with quote  #2

1715605630
Report to moderator
1715605630
Hero Member
*
Offline Offline

Posts: 1715605630

View Profile Personal Message (Offline)

Ignore
1715605630
Reply with quote  #2

1715605630
Report to moderator
1715605630
Hero Member
*
Offline Offline

Posts: 1715605630

View Profile Personal Message (Offline)

Ignore
1715605630
Reply with quote  #2

1715605630
Report to moderator
BTCevo
Legendary
*
Offline Offline

Activity: 1834
Merit: 1008


View Profile
October 13, 2014, 02:14:22 AM
 #2

Count me in Smiley
deelay
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
October 13, 2014, 03:08:54 AM
 #3

i am in Smiley
MF Doom
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500



View Profile
October 13, 2014, 12:46:27 PM
 #4

What about actual bitcoin lottery tickets?  Can this be done?
minzie (OP)
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
October 13, 2014, 11:52:26 PM
 #5

Do you mean like issue tickets, and then hold a drawing, like a paper lottery?

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
MF Doom
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500



View Profile
October 14, 2014, 12:12:07 PM
 #6

Do you mean like issue tickets, and then hold a drawing, like a paper lottery?

Yeah, like power ball style, or a pick 3/pick 4.  Or actual scratch tickets loaded with BTC if you win.  Would be a cool gift and way to get people to use BTc if they win!
minzie (OP)
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
October 20, 2014, 03:55:58 PM
Last edit: October 20, 2014, 06:33:28 PM by minzie
 #7

Thank you to those who volunteered for testing. I decided to go ahead and open the site to anyone that wants to participate in testing. The winner of this testing round will win .1BTC.
https://blockchain.info/address/1BWs8Uso1BLcTNiofsacFgo6QByEBVNZWe
No email address, or any other information is required, or saved, by the application.

bitthingy.net/btc_lottery/public

There are roughly 40 slots available, and I will add more as needed. To register, simply provide a BTC wallet address, and select enter. I would recommend generating a new single use address. If there are slots available, you will have .1BTC of game credit to use, at .001BTC per play.

Please let me know if something breaks, or if you have questions.
admin@bitthingy.net

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
Kprawn
Legendary
*
Offline Offline

Activity: 1904
Merit: 1073


View Profile
October 20, 2014, 05:38:08 PM
Last edit: October 20, 2014, 07:01:18 PM by Kprawn
 #8

Play is a bit sluggish and the How to play option is not working.  Wink

The P of Pool are to small .... If you look quickly, it looks like Fool.  Sad


THE FIRST DECENTRALIZED & PLAYER-OWNED CASINO
.EARNBET..EARN BITCOIN: DIVIDENDS
FOR-LIFETIME & MUCH MORE.
. BET WITH: BTCETHEOSLTCBCHWAXXRPBNB
.JOIN US: GITLABTWITTERTELEGRAM
minzie (OP)
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
October 20, 2014, 06:41:33 PM
 #9

Play is a bit sluggish and the How to play option is not working.  Wink

The P of Pool are to small .... If you look quickly, it looks like Fool.  Sad

Hi! Thanks for the feedback. I think you are right. I need to adjust the font in the graphic.

Play may seem sluggish due to the hashing function that must take place on the back end. The winning numbers are not stored on site, so the submissions have to be hashed each time. In order to prevent brute force attacks on the server, the algorithm is designed to take a few seconds before returning the result.

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
Kprawn
Legendary
*
Offline Offline

Activity: 1904
Merit: 1073


View Profile
October 20, 2014, 07:01:28 PM
 #10

When balance is finish and you play again, with zero balance, it goes into a continuous loop, searching for a solution and you cannot exit.

Hope this helped. Tips appreciated.  Wink

THE FIRST DECENTRALIZED & PLAYER-OWNED CASINO
.EARNBET..EARN BITCOIN: DIVIDENDS
FOR-LIFETIME & MUCH MORE.
. BET WITH: BTCETHEOSLTCBCHWAXXRPBNB
.JOIN US: GITLABTWITTERTELEGRAM
minzie (OP)
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
October 20, 2014, 07:54:21 PM
 #11

Cool. Thanks for the bug report.

I also forgot to mention that there is an api of sorts to return all plays to date in JSON format:
http://bitthingy.net/btc_lottery/public/draws

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
abramovich
Sr. Member
****
Offline Offline

Activity: 700
Merit: 250



View Profile
October 22, 2014, 01:52:14 PM
 #12

do not want to sell your lottery?
minzie (OP)
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
October 22, 2014, 02:58:10 PM
 #13

Actually, I would very much like to sell it. I can't legally run a game from where I live, so it isn't going to help me at all.

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
abramovich
Sr. Member
****
Offline Offline

Activity: 700
Merit: 250



View Profile
October 22, 2014, 03:14:36 PM
 #14

Actually, I would very much like to sell it. I can't legally run a game from where I live, so it isn't going to help me at all.

what price?
minzie (OP)
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
October 22, 2014, 05:32:44 PM
 #15

As is, 4BTC. The game logic is solid, the back-end is solid, and the daemon required to synchronize the blockchain with accounts is complete. There is no admin panel to handle site configurations yet, and the bonus engine is not yet implemented. The bonus engine is going to generate things like free rolls, small btc payouts, or occasional ads. If I get those both completed, then I would probably ask 6btc. I have 100+ hours of development, and it is up and running, so obviously not vaporware. I would keep the domain name.

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
abramovich
Sr. Member
****
Offline Offline

Activity: 700
Merit: 250



View Profile
October 22, 2014, 06:59:05 PM
 #16

As is, 4BTC. The game logic is solid, the back-end is solid, and the daemon required to synchronize the blockchain with accounts is complete. There is no admin panel to handle site configurations yet, and the bonus engine is not yet implemented. The bonus engine is going to generate things like free rolls, small btc payouts, or occasional ads. If I get those both completed, then I would probably ask 6btc. I have 100+ hours of development, and it is up and running, so obviously not vaporware. I would keep the domain name.

well I think and let you know.
worle1bm
Full Member
***
Offline Offline

Activity: 1834
Merit: 166



View Profile
October 22, 2014, 07:11:33 PM
 #17

Looks great! Are you for sure selling?

███████ ███████        R O L L B I T               CRYPTO'S MOST INNOVATIVE CASINO               [ PLAY NOW ]        ███████ ███████
//     WHITEPAPER     //          R L B          //     RLB LOTTERY     //
███████ ███████      |       Twitter       |        ►   S P O R T S B O O K   |   [ N E W ]  C L A N S   ◄        |      Discord      |      ███████ ███████
minzie (OP)
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
October 22, 2014, 08:28:05 PM
 #18

Yes. I can't run it.

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
abramovich
Sr. Member
****
Offline Offline

Activity: 700
Merit: 250



View Profile
October 23, 2014, 01:18:24 PM
 #19

give to know when fully finished
minzie (OP)
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile WWW
November 12, 2014, 07:24:14 PM
 #20

This software is for sale. It is active at http://bitthingy.net/btc_lottery/public/ There is no money in the pool, and no bonuses paid out. It is up merely to demonstrate how the software works.

Purchase includes all software, and 5 hours of support to get the site up and running. It does not include the domain. Serious offers and inquiries only.

*******************************************************************************

Description:
Bitcoin lottery with a progressive pool, bonus free rolls, and bonus payouts. Players sign up with a bitcoin address, and are provided a deposit address. A daemon sweeps the accounts periodically to check for deposits. Once the daemon detects an available balance, the player will be able to play a pick-3 lottery. The daemon also sends notification to an off-site host that sweeps the wallet.

In addition to the gaming board, there is a small API to retrieve previous draws, as well as current pool information.

For every draw there is a 1:10 chance of winning a free roll, a 1:20 chance of winning a bonus payout, and a 1/6 chance of getting a small advertisement. This provides an addition revenue vector. The bonus engine can be modified to add other kinds of bonuses, such as coupons, and also modified to change the winning percentages.

The current configuration is a 40/60 split between the house and the pool. House money is used for bonus payouts. This is also configurable.

Components:
Game app - This is built on Laravel, and holds all of the code related to the game, including the front end and the daemon. Laravel is a php-based framework, and the app is built on a MySql database. The front-end is vanilla Javascript and jQuery. Most of the graphics were nabbed of off the Internet and are in the public domain. My own minor artwork is included.

Admin app - This is also built on Laravel, and serves to handle some of the automated tasks needed to manage the accounts. This is meant to add a layer of security. In the event that the game server is compromised, there are no funds available on the game site to steal. The app also includes a MySql database for the eventuality that the admin server is compromised. The admin app uses the Blockchain API for wallet transfers. No need to run a local wallet.

Scripts - various scripts for building the database, and testing payout and bonus algorithm.

Security:
No personally identifiable information is stored on the game host. Only public addresses are stored in the database, so there are no private keys that can be stolen. Transactions take place in the database only; there are no actual funds being transferred. There is currently no way to refund player accounts, and that was intentional design choice. The game is set up so that the players get a precise number of plays, with no funds left over, and thus no reason to request a refund.

Professional Freelance Web Apps Engineer ° Portfolio °  ModoBot Automated Trading Platform ° BitThingy ° My Github  ° Skype: cclites_1
Pages: [1] 2 »  All
  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!