Fairlotto V2: Provably Fair STEEM Blockchain Based Lottery - All New Front-End + Features

in lottery •  2 months ago

Introducing the all new V2 of the Fairlotto STEEM Lottery. New front-end and added features


Screenshot 2018-07-26 22.25.22.png

New features

  • All new website https://www.fairlotto.eu
  • Steemconnect integration
  • Subscription model
  • New weekly lottery and increased ticket prices

What is @fairlotto?

Fairlotto offers a way for Steemians to spend some of their hard earned SBD's and have some fun in a lottery that is provably fair.

Goal

The goal for Fairlotto is to offer a well respected lottery on the STEEM Blockchain which grows as the STEEM community is growing. Becoming the #1 lottery on STEEM and eventually offering a monthly lottery with huge prize pools.

How to play

Screenshot 2018-07-27 00.46.09.png

Steemconnect

Participating is very easy with the new front-end, go over to https://www.fairlotto.eu and decide in which lottery you want to partake, Steemconnect will take care of the rest.

Screenshot 2018-07-26 22.27.09.png

Lotteries

Fairlotto currently offers 3 different lotteries: hourly, daily and weekly. Each with their separate prize pool and deadlines. Direct ticket sale is possible to enter 1 lottery, you can buy as many tickets as you want. However, newly added is the subscribe function which offers the option to subscribe for a lottery. When a new lottery starts 1 ticket will be automatically purchased automatically every new lottery until your balance is depleted.

Bonus

The prize pool is made up of all the ticket sales. However additional bonus funds can be added during promotional runs. As an offer to the small minnows on STEEM there is the intent to always offer a bonus for the hourly lottery.

Supported commands in memo

Direct purchases are also available. Send the SBD amount with one of the following memos to @fairlotto.

CommandAction
hourlybuy SBD/ticket_price amount of ticket for the next draw
dailybuy SBD/ticket_price amount of ticket for the next draw
weeklybuy SBD/ticket_price amount of ticket for the next draw
subscribe-hourlyAdd SBD to hourly lottery balance and buy 1 ticket
subscribe-dailyAdd SBD to daily lottery balance and buy 1 ticket
subscribe-weeklyAdd SBD to weekly lottery balance and buy 1 ticket

Lottery statistics

Screenshot 2018-07-26 22.45.02.png


The website shows several tables with all the data relevant to the current lotteries. This includes data like the current prize pool, how many players have entered but also all the transactions. And information relevant to verifying the authenticity of the draws.

Payout and fee structure link

The payout structure is based on the amount of tickets participating in the draw. There need to be at least 2 different users participating in the draw for it to be valid.

  • Between 2 and 5 tickets:
    #1 95% Prize pool + optional bonus
    5% fee

  • Between 5 and 10 tickets:
    #1 75% Prize pool + optional bonus
    #2 20% Prize pool + optional bonus
    5% fee

  • More than 10 tickets:
    #1 50% Prize pool + optional bonus
    #2 10% Prize pool + optional bonus
    5% of tickets receive 20% Prize pool + optional bonus
    10% of tickets receive 10% Prize pool + optional bonus
    10% of tickets receive 5% Prize pool + optional bonus
    5% fee

Provably fair link

The most important thing about a lottery is that it is fair. For this reason this lotto is made provably fair. This means that users will be able to verify the outcome. The server hash is obtained by hashing the server seed, which is a secret used to perform the calculations. The sha256 hash of the server seed is unique and can be used to verify after the drawing the server seed was not changed. As the server seed is revealed after the drawing.

Also used in the calculation is the transaction_id of the last person who bought a ticket. This is a random string which cannot influenced. This prevents calculating in advance which ticket will win and buying the ticket with a separate bot.

To calculate which tickets will win the server hash, transaction id, a colon and a roll number(starting from 0) are string together. This string is hashed with a hmac-sha512() function that gives a 128 character hex string. From this string the first 5 characters are taken and converted to a decimal number. This number will be between 0 and 1048575. If this number corresponds to a ticket number there is a winner, if not the roll number will increase by 1. This process repeats itself until all winners are decided. Each ticket can only win once. Below is a rough outline of the process.

A simple tool to verify the outcome of a draw will be released shortly.

Roadmap: what is on the horizon?

  • Detailed page for all prior lottery draws and and verification tools.
  • User authentication with Steemconnect for active control over subscriptions and overview into user statistics.
  • A monthly mega lottery when there is a big enough user base.
  • Jackpot

STEEM Blockchain

This project runs on the STEEM Blockchain as that user verification and draw validation are done by using data from the blocks that make up STEEM.


Disclaimer: Gambling is supposed to be fun, gamble with caution.

Project by: @juliank

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!
Sort Order:  

I wish I am lucky...

·

I Wish I Am Lucky...nice

This is amazing - I was literally thinking that it would be awesome to build a provably fair raffle system on Steem just this morning! Do you think you might open it up for other people to run their own provably fair lotteries / raffles using your system for a fee?

Also, on a technical note, you mention the following:

Also used in the calculation is the transaction_id of the last person who bought a ticket. This is a random string which cannot influenced.

This is unfortunately not true. The transaction_id is not a random string, it's a hash of the transaction, and it can definitely be influenced. It's similar to cryptocurrency mining - you add some additional data to the transaction and compute hashes until you get the result you want.

In this case you are also using a secret seed, so that would need to be known as well, which is the case for the creators/operators of the fairlotto service. So as it currently stands it appears that you would be able to "fix" the results of the lottery. n\Not that you would of course, but the goal is that no one - even the creators, can influence the results.

I would suggest using the block_id of a pre-selected future block instead of the transaction_id. The block_id can be influenced only by the block producer (witness) that produces that block, so that would require a corrupt witness to influence which would then lead to a loss of witness votes if found out which should provide a certain level of deterrence.

I've been thinking about these topics a lot in regards to Steem Monsters, so feel free to reach out if you want to discuss it further!

·

I would suggest using the block_id of a pre-selected future block instead of the transaction_id. The block_id can be influenced only by the block producer (witness) that produces that block, so that would require a corrupt witness to influence which would then lead to a loss of witness votes if found out which should provide a certain level of deterrence.

Only a very, very limited level of deterrence, because there is not really any way to tell that the witness is colluding. The rigged winner(s) can be some 'third party' shill that has no visible association with the witness (or lottery operator).

All of these sorts of simple methods of generating randomness from a blockchain are flawed and unsuitable if there is significant money at stake or a high value attached to the service being trusted and not subject to FUD attacks of being rigged (whether or not accurate). There are some decent methods but they are much more complicated.

·
·

Yes, you are right, but like you said it also depends on the amount of money at stake. Also if a witness does purposely generate a certain block id, they would have to add some "random" data to the block that might be noticeable if scrutinized. Also you could limit the block used to one produced by a top 20 witness vs a backup witness, as top witnesses (like yourself!) are even further incentivized not to do things like this.

Also if you have some time I would be interested to discuss some of the "decent methods" you mentioned. In any case, thank you for the response!

·
·
·

Also if a witness does purposely generate a certain block id, they would have to add some "random" data to the block that might be noticeable if scrutinized

This can be largely if not entirely avoided. For example, the block producer can make changes to the block that are plausible to happen by accident, for example, simply omitting one or two transactions, changing the order, etc.

Also if you have some time I would be interested to discuss some of the "decent methods" you mentioned

I may make a survey post about it when I have time.

·
·
·

I sent 1 sbd for daily, nothing I got back its been 2nd day so I don't know how legit this lotto is, don't invest on daily or weekly. it worked for 1hour I sent 0.1 sbd I got 0.001 sbd. before sending, nothing fair about this lotto. I lost 1.1 sbd so don't send any money for. lotto.

·
·

Do you have more information about this? I would like to read into it.

·

Well, that took about 7 seconds to point out how it could be rigged. you should have just rigged it and won it 27 straight weeks in a row before telling them. lol

·
·

Its funny my dear

·
·

He explained how the lottery runner could rig it, not the players.

·
·
·

He explained how the
Lottery runner could rig
It, not the players.

                 - felipejoys


I'm a bot. I detect haiku.

·
·
·

I gave you an upvote on your post! Please give me a follow and I will give you a follow in return and possible future votes!

·
·
·

hey man i will do that!! pls do follow me,and do have a look on my blogs.

·

Thanks for the advice! I greatly appreciate it will work on a solution. I will look to broadcast the server hashes each round on the blockchain and then use the block_id from that block.

Do you think you might open it up for other people to run their own provably fair lotteries / raffles using your system for a fee?

What do you have in mind exactly? I want to release the tool to verify all bets by Tuesday, that will be available for everyone to use.

·
·

Let's say I wanted to raffle off some steem monsters cards, it would be cool if I could go on your website and put in the raffle details and then your tool could track the entries and pick the winner at the end using your provably fair system.

·
·
·

@yabapmatt, sir what if any bot doesn't vote on my bid . Because 12 hours ago I send 3 steem to @upme and I did not get upvote so far . One more user did not get upvote for 45 steem.

·
·
·

Ah I see that is a cool idea and I will look into it. As for now next week I will be cliff diving in Greece for 2 weeks, so it wont be anytime soon.

As for solving the provably fair aspect. I decided to use the hash of the first Ethereum block found after the deadline. In the new process when a deadline expires, first the public hash from the server seed will be published in a transfer on STEEM. Then when a new Ethereum block gets found this hash will be used instead of the transaction id and also published in a transaction on STEEM.

·
·

I sent 1 sbd for daily, nothing I got back its been 2nd day so I don't know how legit this lotto is, don't invest on daily or weekly. it worked for 1hour I sent 0.1 sbd I got 0.001 sbd. before sending, nothing fair about this lotto. I lost 1.1 sbd so don't send any money wihout understanding it compeletly

·

I've been very skeptical of steemmonsters until I read this comment of yours. Just voted for you as a witness.

·

I find your excellent information supply very practical and useful

·

A very beautiful article, Lake!

·

Wow very nice work. Please follow me if your interested in blockchain and technology. I promise the most in depth reviews/articles around.

Good work on this project.
Created a hunt for @fairlotto at steemhunt.
Fairlotto - TRUE STEEM LOTTERY

·

Very much appreciated! The code verifying Is just a dumbed down version though. The full code will be released tomorrow.

Very interesting idea! This would be a great system to have in the crypto space.

I only see one issue, depending on the country the player is in. There may have different gambling laws. How would you deal with possible future government interference? To the Government this might as well be a black market lottery system :(

·

Good question, if the volume gets to big I would just register a company in a country with good jurisdiction. Af for the jurisdiction of the country from the player, that is up to the player.

Good updatw steemdev

I love @lotto

Cool, where does the fee go? To a good cause or is it for profit?

·

Hi, good question. The fee is used to offer bonuses besides running the website and allowing for further improvement.

Amazing system on the Steem blockchain, I’m enjoying buying my lottery tickets

This is really a great project bro!!!

I hope this project will good run!!!

Im too poor for that. :=)

Good job

Under the lottery statistics.

It should automaticly account for the fee.

So we know what the actual prize pool is.

·

Thanks for the idea. It is a good one. In that case it should also account for the bonus as well. I am looking to make a timer, will implement you idea next to it.

In a hourly lottery #193, How come I got only 0.42 payout and @tsnaks got 0.60 payout. I had three numbers (3,6 &8) in a draw result whereas @tsnaks had only one number i.e. 9. In a result, out of my 6 numbers 3 numbers won but @tsnaks had only 1 number in a result but he got more payout than me. Please expalin.

·

Hi @samm6in that you for your question. I will do my best to clarify. So not all winning numbers are worth equal. The price distribution can be found here. If you look at lottery #193 the winning numbers were: 9 6 8 2 3. These are in order. So 9 is the first price which in this case got 50% of the price pool.

I am working to make everything more transparent in the future

Hey I was wondering if you could check and see if I was supposed to receive a payout for the hourly drawing about 4hrs ago drawing #173

·

The winning number for lottery #173 was 1, you had ticket number 2. So unfortunately no payout for you. The confirmation transaction can be found here: https://steemd.com/tx/9a90a801c2360fdd3529e705ca07353e82154f61

·
·

Oh no worries I was still used to the old system lol but gotta say I love what you've done with the new system it's amazing! Thanks for the fast reply too.

this looks interesting

thanks i will try that .

Posted using Partiko Android

This is an awesome idea!
I love it! :P

Just bought my first hourly ticket. Here's to hoping it's a lucky one! :)

·

Awesome, seems you got 2nd price!

This is a poor use of such an amazing technology. Steem can be used to make this world a better place. Less greed would generate greater wealth.

How disrespectful you are to tell people that this lotto is for people to "spend" their "hard earned SBD". They are not spending they are gambling.

This is why I am going to have the Steem blockchain cloned so that a new platform will be available that is focused on rewarding and helping people who deserve it.

You limit yourself with your greed, be selfless and become limitless.

·

How disrespectful you are to tell people that this lotto is for people to "spend" their "hard earned SBD". They are not spending they are gambling.

It is a free market, people can do as they like. I am not telling anyone what they must do. Just offering an option.

Gambling is not inherently bad, just like having a drink or eating something unhealthy. Life is about balance, it is not binary, there are more options than 0 and 1.

·
·

You are right, free market.

You are wrong, gambling is never good.

·
·
·

Rich men gambling on investment opportunities plays a big role in moving forward important technology, including technologies and medicines in the health sector, which will indirectly affect the lives of millions in a positive way.

Like @fairlotto stated, gambling isn't inherently bad. Furthermore, greed isn't all bad, as pointed out in the example that I provided. Selfish actions can sometimes lead to benefits for the many.

·
·
·
·

A lotto is not an investment opportunity.

·
·
·
·
·

When did I ever say it was?

I'm simply arguing against your assertion that "gambling is never good." Speculating on early tech is just as much gambling, if not more, as playing blackjack at a casino, and, like it or not, we owe a lot to these big risk takers.

There lies a paradox in selfishness in that the most selfish acts can sometimes be great for everyone. It may be an exception to the rule, but it still exists.

·
·
·
·
·
·

The first thing you said was "Rich men gambling on investment opportunities plays a big role in moving forward important technology"

Direct quote.

I understand that risk taking has it's time and place, however a LOTTO is never a good risk to take. The only wealth generated from a lotto is for the ones operating it.

I will kindly exit this convo here.

·
·
·
·
·
·
·

I agree with everything you said. I still don't agree with, to directly quote you:

You are wrong, gambling is never good.

·
·
·
·

Lotto hanyalah permainan keberuntungan.

·
·

Precisely. There is a reason why in the real world casinos exist because for every person who is against gambling there are countless others who are not. At the end of the day, you're not forcing Steem users to gamble or buy a lottery ticket. You're providing a service that Steemians choose to use.

Everyone has a choice.

·
·
·

Ya ya oke.

Excellent project I hope to win

sneaky-ninja-sword-xs.jpg
Sneaky Ninja Attack! You have just been defended with a 30.19% upvote!
I was summoned by @juliank. I have done their bidding and now I will vanish...

woosh
A portion of the proceeds from your bid was used in support of youarehope and tarc.

Abuse Policy
Rules
How to use Sneaky Ninja
How it works
Victim of grumpycat?

You got a 53.50% upvote from @upmewhale courtesy of @juliank!

Earn 100% earning payout by delegating SP to @upmewhale. Visit http://www.upmewhale.com for details!

where can i see if my purchase is sucessfull and that im in the lotto? i did it about 8 min ago but im not shown in the statistics @fairlotto

Nice to meet you ! I am colorme from VietNam. I am new on Steemit.
I want to share with you about "The Coffee KOI Fish"
https://steemit.com/fish/@colorme/the-coffee-koi-fish-look-like-interesting
I have given you an upvote. Please, you also give me upvote. THANK YOU....!

The project looks really interesting. May I ask if the project is open source and on Github?

Kind regards,

The Secret Service

This is a fantastic idea!

Woah this is fun. Steem platform is ready and i think this is the best time to introduce more entertaining game with gamble element. Good luck with the project!

Hello, very good content, I gave you a vote in favor, I hope you follow me and that you give me a vote in favor in my publications

Congratulations @fairlotto! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

You published 4 posts in one day

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

WARNING - The message you received from @dulborah is a CONFIRMED SCAM!
DO NOT FOLLOW any instruction and DO NOT CLICK on any link in the comment!

For more information about this scam, read this post:
https://steemit.com/steemit/@arcange/phishing-site-reported-autosteemer-dot-com
https://steemit.com/steemit/@arcange/phishing-site-reported-autosteemer-dot-club
https://steemit.com/steemit/@arcange/phishing-site-reported-autosteem-dot-info

If you find my work to protect you and the community valuable, please consider to upvote this warning or to vote for my witness.

Great post... Will surely gonna bet.

Guys join this discord group for free upvotes.
https://discord.gg/nmEvMh

And follow me @samm6in

Keep all possible use of the steem blockchain rolling. The more use cases it has, increase the userbase, and more publicity. The steem blockchain is a truly working blockchain compared to thousand other shitcoins.

Nice post sir.

Doing good thanks for helping us

@fairlotto If i do not win lottery then my hard earned money will be gone and I will lose my sbd or steems which I earn with much effort....?

Bittrace Has Started Its Airdrop, Please Register And Earn 15 Free Tokens.Ico Launch n-1.jpgLaunch1-1.jpg

Lottery in blockchain what an impressive move @fairlotto

Very interesting, I am interested in joining the lottery, but I will trouble in mind because sbd or steem is still very small. hopefully lucky followed, successful for you all.


Welcome to Steem @fairlotto.

Do read A thumb rule for steemit minnows - 50:100:200:25 for starter tips.

Spend time reading Steem Blue Paper to know how Steem blockchain works and if you still have any queries ask them on our Ask me anything about Steemit post and we will try to answer that.

All the Best!!!

Your Good Blog Good info for
Steem lottery and added features
Done Steemconnect @fairlotto

Posted using Partiko Android

This is an amazing opportunity, I believe its a great way to build the ever increasing steemit community. Great one @fairlotto

I wanna play

Yeah I won in hourly draw.

Thats interesting, seems like a serious project and a good way for steemians in order to entertain and have some fun. Good luck!

@fairlotto you share very good information. I appreciate your efforts on this topic
Thanks

Fantastic work with this one, kudos

Great Job~

GOOD GOOD


Welcome to Steem @fairlotto.

Do read A thumb rule for steemit minnows - 50:100:200:25 for starter tips.

Spend time reading Steem Blue Paper to know how Steem blockchain works and if you still have any queries ask them on our Ask me anything about Steemit post and we will try to answer that.

All the Best!!!

·

I also hate this spam

Woow !!! This has to be tried... i was wondering why i came across this pretty late.

Doing Good job thanks for that

Very good. Excelent

Very good work , very powerful project .
It's the time to get opportunity on steemit

That’s good working

You got a 56.04% upvote from @postpromoter courtesy of @juliank!

Want to promote your posts too? Check out the Steem Bot Tracker website for more info. If you would like to support the development of @postpromoter and the bot tracker please vote for @yabapmatt for witness!

I WAS SO EXCITED TO PARTICIPATE @FAIRLOTTO

Wow nice for lottery but not my many

Welcome to Steem! Partiko is a fast and beautiful mobile app for Steem and we upvote our users to help them grow! Please feel free to download the Android app here and the iOS app here.

To get more upvotes, please join our Discord server here: https://discord.gg/N7Et97G

If it fair It is an interesting watch out.

HI!! I am Javier !! Bye

That's very helpful

this is amazing, steemit platform is very helpful and i learn every day many interesting facts on steemit,

thanks you steemit
pradipkumar

Nice post. Good job

Nice post. Good job

Ohh nicee

It's niceeeeeeeeeeeeeeeeeee it's tooogooooooooood...

New Telegram Bot Ethereum Mining ||Get 0.06 ETH Machine Free || 0.001 ETH Per Refer || No Investment

BOT LINK --
https://goo.gl/nbpWwe

This is soo amzaing man!

@fairlotto your post is great i will try it soon

I am new to steemit...
Please follow me and upvote my post and will do the same back ....
Need your support...thanks😀😉

Re-steemed this!
-exp

this is a great article...you got my upvote

Wow. This is awesome. I'm loving steem already. So happy to be here.

very usefull project goodjob

Congratulations @fairlotto!
Your post was mentioned in the Steemit Hit Parade in the following category:

  • Pending payout - Ranked 2 with $ 651,57

is it going to be the same like real lottery and if one win then will rewards be paid to him?

Good work on this project.
Created a hunt for @fairlotto
Fairlotto - TRUE STEEM LOTTERY

That is so nice ! I will try it !

@fairlotto please supporte me and follow

can any one explain? me in easy way

this is really good. one can try their luck here.

This is amazing.