English isn't my primary language, so be patient
I had this idea in August of the past year (2015), where I work now.
I was trying to find a way to make it on Bitcoin, but there where some problems.
Maybe you can try to think to relieve/avoid some of them.
I write it here now because there now there is the first implementation: http://lastis.me
I didn't create it but someone else that has read my idea where I work. Lastis.me is completely trustless, but on Ethereum.
I had the idea after I saw what Reddit did a little while ago:
It is possible to find a video here:
The idea is to create something similar in Bitcoin.
There is also the source code of the version of Reddit:
The button is well visible on the website, and it is needed to push it to reset the countdown.
To enable the button, the user needs to deposit a minimum amount of Bitcoin.
The website needs to start by giving a little amount of Bitcoin as a prize.
The deposits sent by the users will increase this prize.
The last user that has clicked the button / reset the countdown will win this prize. (if the countdown finishes)
The game will accept zero-confirmation tx, with a minimum of fee. (this is the first problem. Double spend)
There will be no registration, the user will arrive on the website and will find a personal bitcoin address to deposit (o just by making a click)
The address needs to be linked to a cookie / or special link/password.
It must be defined that the winner will need to get one or more confirmations for his transaction to be able to get the prize. (this isn't enough to fix the double spend problem, maybe it isn't possible to make it working with zero-confirmation tx)
At the first start of the website, the countdown needs to be of 24 hours.
It will be not possible to click the button on the first 23 hours and 50 minutes. ( to create some hype )
The button will enable itself only at the last 10 minutes. (everything should be written on the website)
The countdown need to be not too little, because then it will not leave enough time to the players to prepare the transaction in the case that he is just arrived to the website.
It must be not so long, because it can remove the incentive to participate, by knowing that anyone will be able to reset the countdown without any hurry.
The idea is to use as the countdown time (every time an user will click the button), the average time that the bitcoin user (that know how to use it) needs to read the simple instructions on the website, open the wallet and making the transaction.
So it's good to consider even the "average" time to insert the 2FA of google authenticator or similar.
It's good that it must be not less then 30 seconds, but also not more than 2 minutes.
It should create a situation where the countdown will be reset many times, for many days, maybe months!
So many times, to grow prize more and more!
So many times to make the people speak about it (how much is big the prize) around and on the socials.
There is needed a counter of the users on the page.
There is needed also a counter of the bitcoin deposited with zero confirmations (it the same first problem that need to be fixed)
Both are needed to make the user noticing that there are other users that are watching the countdown/button, and they can be there to push the button and reset the countdown at anytime.
- The service can have a chat.
- It can be possible to set a nick for the user account. If the user wants to maintain it, he must register, and it will still be needed only the email.
- The registration should always be optional.
- The nickname of the winner should be "spammed" on all the socials (facebook, twitter ...)
- There can be a history of the winners
The referent could take a part of the deposited bitcoin and/or a part of the prize if one of his referred users will be the winner.
Problems and or solutions?
If the tx will be double spent, the sender address and the receiver address should be banned from the website.
Tx must be accepted only by addresses that have bitcoin by more than one week (or more)
Even the IP cane be banned by X time.
Idea: The button can be the ReCaptcha button of Google.
Maybe all exit node of Tor should be banned, and other proxy/vpn. (it doesn't seem a good solution)