Bitcoin Forum

Bitcoin => Project Development => Topic started by: TrentFisher6 on November 19, 2015, 11:29:04 PM



Title: Removed by OP
Post by: TrentFisher6 on November 19, 2015, 11:29:04 PM
Removed by OP


Title: Re: Need help with automating my Jackpot Site
Post by: shorena on November 20, 2015, 12:27:34 PM
Hello!

First of all, I am new to Bitcointalk.org so, im sorry if this thread is in the wrong place :)

Anyways, I am making a Bitcoin jackpot site, people would (send) 0.001 BTC to the pot (bitcoin wallet) and then once the pot is full (.025 BTC) a random person is chosen who then wins all the BTC. I want to automate the system so that for every 25 transactions it recieves, a random sender is chosen who then gets sent .025 BTC!

My site is thebtcjackpot.com if you want to check it out ;)

Other info:
The wallet is through blockchain.info
I am new to coding so, please don't hate if this is really simple ;)

Thanks a ton! -Trent

Just a heads up, if you cant make it provably fair, dont bother with other things. Those betting or buying a ticket will require some way to verify the result. This is most commonly done with hashes. E.g. you randomly pick a winner in advance and hash it along with random data. The hash is presented to everyone placing a bet so they can e.g. copy it and later verify the result when you announce the winner along with the hashed message.