Bitcoin Forum

Bitcoin => Project Development => Topic started by: Rdogg112 on May 30, 2011, 08:29:12 PM



Title: Bitcoin jackpot site.
Post by: Rdogg112 on May 30, 2011, 08:29:12 PM
so, this is like, my first bitcoin script i've ever written, i hope you guys like it, i'm hosting it at http://rdogg.homeunix.net/bitcoin/ on my home server, might get a domain soon, basically just go to the "join in" page, and then type the address that you'd like to recieve your winnings at, after that just send 0.02 BTC to the address on screen, and then refresh the page, and tadah you're entered in.
also you can check to make sure you're in the jackpot by going to the recent sends, and there's also a link to the transaction on blockexplorer.

anyway, it's my first script, if you find any problems with it, please post in the thread, or PM me if it's something dangerous.

http://rdogg.homeunix.net/bitcoin/ (http://rdogg.homeunix.net/bitcoin/)


Title: Re: Bitcoin jackpot site.
Post by: someguy123 on May 30, 2011, 08:37:18 PM
doubt i'll win, but yeah, I sent my 0.02


Title: Re: Bitcoin jackpot site.
Post by: Rdogg112 on May 30, 2011, 08:42:22 PM
Glad you joined :).


Title: Re: Bitcoin jackpot site.
Post by: 1248 on May 31, 2011, 03:30:47 AM
doesnt seem like too many people are entering... ill add my .02 BTC


Title: Re: Bitcoin jackpot site.
Post by: Rdogg112 on May 31, 2011, 05:29:35 AM
;) 0.04btc jackpot so far :)


Title: Re: Bitcoin jackpot site.
Post by: bitlotto on May 31, 2011, 05:52:12 AM
How are you picking the winner though that guarantees you are not doing it manually/manipulating it so you win?


Title: Re: Bitcoin jackpot site.
Post by: Rdogg112 on May 31, 2011, 05:55:55 AM
When the time comes, it will run a random picker, and then ill send it to the one it picks.


Title: Re: Bitcoin jackpot site.
Post by: bitlotto on May 31, 2011, 02:59:51 PM
When the time comes, it will run a random picker, and then ill send it to the one it picks.
That would be kind of easy to fake though and make it so you can pick the winner who could even be you. I could help you try different ways that can't be cheated.


Title: Re: Bitcoin jackpot site.
Post by: Rdogg112 on May 31, 2011, 03:39:18 PM
I'd like that but it wouldnt pick me , since im not 'allowed' to join.


Title: Re: Bitcoin jackpot site.
Post by: bitlotto on May 31, 2011, 03:50:37 PM
I'd like that but it wouldnt pick me , since im not 'allowed' to join.
Ok, but since it's anonymous you could play and no one would know. You could just "say" your picking someone randomly but select yourself. You have to make it impossible for you to cheat if you want people to play.


Title: Re: Bitcoin jackpot site.
Post by: Rdogg112 on May 31, 2011, 04:59:05 PM
and what would the best way be to implement that?