Just try to make something new
The idea is to make a public trusted lottery script
How it work ?
1. Admin start a new round with some timers
2. User visit website and buy a ticket
3. Website confirming user's transactions
4. When the timers end, the round ended and the rewards distributed for the winners based on shares
eg. First place 40%, Second place 30%, Third place 20%, and for admin 10% (from total rewards)
5. Website insert the winners and round into a history and clear all transactions and tickets
6. Admin start a new round again
Try this with dummy address
https://id-panel.xyzQ : Why do you use faucet in a box script?
A : It's open source after all, and beside the template is good for me
What I need to do :
- Create a better random ticket when the timers end
- Pick some good escrow for deposit, I would prefer something with HTTP API, like coinbase, but have an escrow so the user can trust the website
- Add minimum buy for ticket
- Add maximum buy for ticket
And what I need to make is a real random pick for ticket, mean something that can prove that the winners is choosed randomly when te round 's ended
Maybe something like pick the winner from the first time round started and hash it, and make that hash public
or maybe a better
Have any better idea for this?