Block chain-based lottery method and lottery system

The invention discloses a block chain-based lottery method and a lottery system, the lottery method comprises the following steps that lottery equipment creates a new instance of a lottery smart contract, and calls the new instance to start executing lottery; the lottery equipment creates a random v...

Full description

Saved in:
Bibliographic Details
Main Authors LANG FENG, ZENG XIANRUI, HE WANGWEI
Format Patent
LanguageChinese
English
Published 27.03.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a block chain-based lottery method and a lottery system, the lottery method comprises the following steps that lottery equipment creates a new instance of a lottery smart contract, and calls the new instance to start executing lottery; the lottery equipment creates a random value private key with the number of y in the lottery smart contract; the lottery equipment carries out hashcode operation on each private key to obtain a hashcode integer value of each private key; modulo operation is conducted on the number x of the selectable sets through each hashcode integer value, and y moduli are obtained; the lottery equipment creates an element private key in the lottery intelligent contract, and performs private key filling on each element in the selectable set throughthe element private key; hashcode operation is respectively carried out on each filled element, and the elements in the selectable set are reordered according to a hashcode operation result; and through the y moduli, index op
Bibliography:Application Number: CN201911293460