I bought two lottery tickets with curiosity today.
The current mainstream lotto-type lottery, that is, a number of numbers are selected from a set of numbers, and the prizes are paid according to the number of selected grades. Lotto-type lottery business also has some problems in the development process, the more typical one is the trust problem.
Because the winning number selection machine is provided by the lottery agency, it is not known whether the machine is really randomly selected; on the other hand, the time and amount of the lottery ticket purchase by the lottery are only known when the lottery ticket is won; the identity of the final winner is also confidential . This opacity leads to society’s distrust of the lottery center. Lottery players have every reason to suspect that the lottery center controls the lottery numbers and winners. This kind of distrust will seriously affect the lottery’s enthusiasm for buying lottery tickets.
In the past, news reports have reported falsifying institutional data and hacking systems to gain profits.
I am thinking that blockchain technology can solve these problems.
The lottery function is mainly to calculate the winning result according to the lottery information and betting information on the chain by calling the smart contract and store it on the chain. Through the openness, independence, security, and non-tamperability of the blockchain, the entire lottery function ensures that the lottery process and winning results are more fair, just, open, and transparent on the chain through smart contracts.
I checked the information online and found that someone had already done a lottery case.
https://github.com/alphachainio/chainlink-lottery/tree/master/ethereum/contracts">lottery caseI don't understand the code, and I don't know what loopholes are.
The winning numbers of traditional lottery tickets are generated by lottery machines. Whether it can truly guarantee the randomness has been questioned. If blockchain technology is used to make lottery tickets, can randomness be controlled?
PS: Someone used mathematical methods to calculate for a day and picked a few numbers to win the second prize. I am not good at math, can I really increase my chances of winning through calculations?