Provably Fair STEEM Blockchain Based Lottery

in steem •  7 years ago 

Introducing the all new V2 of the Fairlotto STEEM Lottery. New front-end and supplemental options

Screenshot 2018-07-26 twenty two.25.22.png

New options
All new web site https://www.fairlotto.eu
Steemconnect integration
Subscription model
New weekly lottery and exaggerated price ticket costs
What is @fairlotto?
Fairlotto offers some way for Steemians to pay a number of their hard-earned SBD's and have some fun in an exceedingly lottery that's demonstrably truthful.

Goal
The goal for Fairlotto is to supply a well revered lottery on the STEEM Blockchain that grows because the STEEM community is growing. changing into the #1 lottery on STEEM and eventually providing a monthly lottery with large prize pools.

How to play
Screenshot 2018-07-27 00.46.09.png

Steemconnect
Participating is incredibly simple with the new front-end, reassess to https://www.fairlotto.eu and judge during which lottery you wish to partake, Steemconnect can lookout of the remainder.

Screenshot 2018-07-26 twenty two.27.09.png

Lotteries
Fairlotto presently offers three totally different lotteries: hourly, daily and weekly. every with their separate prize pool and deadlines. Direct price ticket sale is feasible to enter one lottery, you'll obtain as several tickets as you wish. However, new supplemental is that the subscribe perform that offers the choice to subscribe for a lottery. once a replacement lottery starts one price ticket are going to be mechanically purchased mechanically each new lottery till your balance is depleted.

Bonus
The prize pool is formed of all the price ticket sales. but extra bonus funds is supplemental throughout promotional runs. As provide|a suggestion|a proposal} to the little minnows on STEEM there's the intent to continuously offer a bonus for the hourly lottery.

Supported commands in note
Direct purchases also are offered. Send the SBD quantity with one in every of the subsequent memos to @fairlotto.

Command Action
hourly buy SBD/ticket_price quantity of price ticket for future draw
daily buy SBD/ticket_price quantity of price ticket for future draw
weekly buy SBD/ticket_price quantity of price ticket for future draw
subscribe-hourly Add SBD to hourly lottery balance and obtain one price ticket
subscribe-daily Add SBD to daily lottery balance and obtain one price ticket
subscribe-weekly Add SBD to weekly lottery balance and obtain one price ticket
Lottery statistics
Screenshot 2018-07-26 twenty two.45.02.png

The website shows many tables with all the information relevant to this lotteries. This includes information just like the current prize pool, what number players have entered however additionally all the transactions. and data relevant to collateral the legitimacy of the attracts.

Payout and fee structure link
The payout structure is predicated on the number of tickets collaborating within the draw. There got to be a minimum of two totally different users collaborating within the draw for it to be valid.

Between two and five tickets:
#1 ninety fifth Prize pool + optional bonus
5% fee

Between five and ten tickets:
#1 seventy fifth Prize pool + optional bonus
#2 2 hundredth Prize pool + optional bonus
5% fee

More than ten tickets:
#1 five hundredth Prize pool + optional bonus
#2 ten Prize pool + optional bonus
5% of tickets receive 2 hundredth Prize pool + optional bonus
10% of tickets receive ten Prize pool + optional bonus
10% of tickets receive five-hitter Prize pool + optional bonus
5% fee

Provably truthful link
The most vital issue a couple of lottery is that it's truthful. For this reason this bingo is formed demonstrably truthful. this suggests that users are going to be ready to verify the end result. The server hash is obtained by hashing the server seed, that may be a secret wont to perform the calculations. The sha256 hash of the server seed is exclusive and may be wont to verify once the drawing the server seed wasn't modified. because the server seed is disclosed once the drawing.

Also employed in the calculation is that the transaction_id of the last one that bought a price ticket. this is often a random string that cannot influenced. This prevents calculative before that {ticket|price tag|price price ticket} can win and shopping for the ticket with a separate larva.

To calculate that tickets can win the server hash, group action id, a colon and a roll number(starting from 0) square measure string along. This string is hashed with a hmac-sha512() perform that provides a 128 character hex string. From this string the primary five characters square measure taken and reborn to a decimal range. This range are going to be between zero and 1048575. If this range corresponds to a price ticket range there's a winner, if not the roll range can increase by one. This method repeats itself till all winners square measure determined. every price ticket will solely win once. Below may be a rough define of the method.

A simple tool to verify the end result of a draw are going to be free shortly.

Roadmap: what's on the horizon?
Detailed page for all previous lottery attracts and and verification tools.
User authentication with Steemconnect for active management over subscriptions and summary into user statistics.
A monthly mega lottery once there's an enormous enough user base.
Jackpot
STEEM Blockchain
This project runs on the STEEM Blockchain as that user verification and draw validation square measure done by victimisation information from the blocks that conjure STEEM.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!