Ethereum blockchain lottery method and device
I. Short answer questions
Please briefly describe the problems of traditional software lottery systems?
What is Ethereum? What role can it play in the lottery system?
How does the lottery method based on Ethereum blockchain proposed in this invention ensure that the lottery procedure is open and transparent?
What is the lottery seed mentioned in this invention? How does it ensure the randomness and unpredictability of the lottery?
Why is it necessary to include the Ethereum wallet address in the lottery conditions?
What does the lottery information contain? What are their respective functions?
What information does the list of objects to be drawn contain? How to ensure the authenticity and validity of the list?
Please briefly describe the basic principle of the lottery in this invention.
If there is a doubt about the lottery result, how to verify it?
What are the advantages of this invention over the traditional lottery method?
II. Answer
Traditional software lottery systems are mostly centralized, the procedures are not transparent, and fairness is difficult to guarantee. Because the internal mechanism of the system is not open, participants cannot know whether the lottery process is truly random, and it is difficult to reproduce the lottery process for verification.
Ethereum is an open source blockchain platform that allows developers to create and deploy decentralized applications, also known as smart contracts. In the lottery system, Ethereum can be used to build an open, transparent and verifiable smart contract to ensure the fairness of the lottery process.
The present invention deploys the lottery program as a smart contract on the Ethereum blockchain, and puts the program code into an open database. Anyone can view and audit the code, ensuring the openness and transparency of the lottery program.
The lottery seed refers to the initial value used to generate a random number. The present invention uses the hash value of the latest block as the lottery seed. Due to the immutability of the blockchain and the randomness of block generation, the randomness and unpredictability of the lottery seed are guaranteed.
The Ethereum wallet address is included in the lottery conditions to determine the identity of the lottery subject, ensure that the lottery is initiated by the designated party, and prevent others from forging or tampering with the lottery results.
The lottery information includes the lottery name, the total number of objects participating in the lottery, and the number of winning lots. The lottery name is used to identify different lottery activities, and the total number of objects and the number of winning lots are used to determine the scale and probability of winning the lottery.
The list of objects to be drawn contains the winning serial number and the corresponding object identity information. To ensure the authenticity and validity of the list, technical means such as digital signatures can be used, and endorsed and verified by relevant institutions or departments.
The present invention adopts an algorithm to extract M lucky numbers from N numbers, and uses the hash value of the latest block to randomly sort and screen the list of objects to be drawn, and finally determines the winning result.
Anyone can use the public lottery program, lottery seed and list of objects to be drawn to reproduce the lottery process on the Ethereum blockchain to verify the authenticity and fairness of the lottery results.
Compared with the traditional lottery method, the present invention has the advantages of openness, transparency, verifiability, non-tamperability and decentralization, which can effectively improve the fairness and credibility of the lottery.
IV. Key Terms
Term Definition Ethereum (Ethereum) is an open source blockchain platform that allows developers to create and deploy decentralized applications. Blockchain (Blockchain) is a distributed database that stores data in a chain structure, with the characteristics of decentralization, non-tamperability, security and transparency. Smart Contract (Smart Contract) is a program code running on the blockchain that can automatically execute pre-set rules without the need for a third-party intermediary. Hash Value is an algorithm that converts data of arbitrary length into a fixed-length string, which can be used to verify the integrity of the data. Ethereum Address is similar to a bank account number and is used for transactions and transfers in the Ethereum network. Lottery Seed is used to generate the initial value of a random number. The present invention uses the hash value of the latest block as the lottery seed to ensure the fairness of the random number. The list of lottery participants contains information about all objects participating in the lottery, including the winning serial number and the corresponding object identity information. Lottery Conditions are used to determine the lottery rules and conditions, including the Ethereum wallet address of the lottery subject, the lottery name, the total number of objects participating in the lottery, and the number of winnings.