Jackpot Hash
World's 1st lottery draw based on transaction hash within transaction hash
World's 1st lottery draw based on transaction hash within transaction hash
In order to create a pure random hash that canβt be manipulated, Fuyo leverages the existing cryptocurrency technology, aka βjackpot-hash within transaction hashβ as algo. This hash is a 32 bytes hexadecimal similar to transaction id (transaction hash).
A random hash is generated in the bet function when the user places a bet. The hash then stores a new verified smart contract for the public to check with their UID and ticket id.
The jackpot hash is computed from userID, ticketID, block.timestamp, blockhash(block.number) and more.
userID - Each userID is generated from Fuyoβs database, therefore, is separated from public blockchain data.
ticketID - Userβs bet number (ticket ID) is also generated from Fuyoβs database, therefore is unique for each bet.
block.timestamp - timestamp(in seconds) of the block that executes the transaction.
blockhash(block.number) - block hash(similar to transaction hash) of the block that executes the txs.
block.timestamp and blockhash(block.number) will only disclose after the block is confirmed, so it is impossible to predict whether a submitted transaction will get the desired hash, therefore, it provides 100% random number and complete fair results.
These variables then compute with the popular hash function keccak256 into a hash that will emit through events within the bet transactions. Users are able to check their hash through logs in Etherscan-like block explorers.
To understand more of Fuyo's lottery jackpot-hash payout, please refer to Fuyo Jackpot section.