Hey,
Today I am going to deploy the first AT use case: The Lottery AT.
I created a new account ( BURST-2Z98-XJU6-A2UA-FDKZP ), which will be used to send funds to the Lottery without participating in the draw. That way we can "kickstart" the lottery with an amount for the first draw to create more interest and winnings for the winner of the first decentralized lottery using AT. So any funds send to that address will be send back to Lottery AT account.
I am thinking the ticket size to cost 2000 burst. The lottery fees for processing the txs are about 15burst. So the final amount to participate to the lottery will be 2015 burst. If you think the ticket amount is too big or too small please say so.
The lottery will pay the winner the total worth of tickets purchased approx. every 1 week plus all extra that were sent to the special address to help seed the Lottery payout
When participating to the lottery, the AT will create a random ticket for you after 15 blocks. The ticket is sent back to the participant through a normal tx with the ticket ( in hex format ) included as a message. Due to a limitation of the AT txs only one ticket can be send back as a message to each participant per block, although if you send more in one block the AT always draws a ticket for each different tx, so that limitation does not mean you will not get more tickets per block per tx if you make multiple purchases.
I created a .html file which needs to be copied under the directory /html/ui/ inside burst folder. After you copy the html file you can use the browser to access it (
http://localhost:8125/atlotteries.html ). The html displays the lottery state (current winner account, total current winnings e.t.c) and provides also a button for quick ticket purchase.
Here is a screenshot of the resulted .html :
https://i.imgur.com/Pz8H2SQ.png If you are using
http://localhost:8125 to access your burst wallet then download this version:
https://mega.co.nz/#!KcZiTBBS!V5SobUhbDGu7Dcw2un1jGszIM3Scl0e3feK9wduKPlU
else if you are using
http://127.0.0.1:8125 to access burst wallet this version:
https://mega.co.nz/#!GBhwCTAD!NucXtJh7o9h-4R_gJafnY7xVlgbKJ5IEZ0tA7AYadyM
Also here you can see the lottery's code that will be deployed here :
http://pastebin.com/xiDdMzEGRegards
- vbcs
Don't forget to participate in LuckyAT, BURST's decentralized lottery! The price is now 54,465 BURST
vbcs explains above how you do to buy a ticket (or two
)
As you all know, LuckyAT is an Automated Transaction (AT), the first of it's kind. Our developers managed to beat coins as Ethereum and Counterparty to implement this "Smart Contract". That's why we are getting all the media attention recently, like today's
https://www.cryptocoinsnews.com/cryptocurrency-burst-makes-smart-contracts-reality-happened-ethereum/.
But already
BURST supports a number of various ATs, one being crowdfunding. So LuckyAT is going to continue to run and find a winner about once a week, automatically, but at the same time we need to get the other ATs started. The PR Team has discussed with the developers (vbcs and CIYAM) about this, and we decided to go for -
crowdfunding.
Crowdfunding has become really popular recently, it's basically asking when one asks a group for financial support for something, but the thing is that this has never been done on a blockchain, decentralized and without any "authority". BURST is first again - it's possible to do by code! In the future everyone can download the the BURST client and set up a crowdfunding case. You set up a BURST account, set the rules for it and let people decide if they want to support it by sending coins to the account or not.
That's really awesome, I think, that people will be able to do that, ask for money for writing a book, or for shopping, or traveling to Mars, or to aid the victims of some earthquake in a foreign country. Decentralized
But that's the future, and first we have to launch it and do the first one, so the question is:
What should our first crowdfunding case be for? What do you think...? Of course it's possible to say Ebola, coz it's horrible and people are dying form it, but on the other hand we need something smaller and manageable the first time - and hopefully something that benefits BURST and is meaningful for the community. Like when we started with a simple, but at the same time very real, lottery.
Things we talked about as the first crowdfunding case was support for a promo video, or creating a "Dev fund" (since the developers didn't do any pre-mine or IPO, they don't have $15 mill like Ethereum does), or money to a hire a programmer to code a combined plotter and miner with an easy-to-understand GUI to finally end all mining questions...
Since it's the community who's going to have to support the case in the end, it's important to hear what everyone thinks we should do as the first case - so it becomes successful. So enough of me writing to long again - perhaps we'll make a separate thread for this later - but
let's begin with to hear what you would support and take it from there. ***edit: also posted at burstforum: https://burstforum.com/index.php?threads/first-luckyat-and-now-crowdfunding-implementing-the-next-at.602/ - use whatever place you want