The invention discloses a
blockchain-based gambling method and
system, which are used for realizing fair, just, safe and efficient
blockchain gambling. The method comprises a betting method, a lottery-drawing method, a prize-claiming method and a fund management method. The
system comprises a betting module, a lottery-drawing module, a prize-claiming module and an intelligent contract module. Winning number is calculated according to head parameters of a current betting block, and difference in prize-claiming records or betting records results in a completely-different lottery-drawing result;human intervention in advance to enable the result to be equal to a certain special value or some special values cannot be carried out, so that the possibility of gambling cheat is technically eliminated; fund
pool management and prize-claiming are carried out through an intelligent contract, so that potential safety hazards caused by manual management is eliminated; accounts are kept through trusted accounting nodes, so that easy supervision is realized; and the method and
system can be used for issuing
blockchain welfare lottery and blockchain sports lottery and the like, can greatly reduceissue cost of the lottery and greatly improve lottery transparency, efficiency and safety.