A low-gas-cost random number generator
To add more entertainment value to NFT, the blind box trend has been led since last year. Accordingly, it's essential to ensure that the "redeem blind box" is fair. “Fairness“ means that each blind box must have a fair chance of getting one of the unrevealed NFTs. However, it's not easy to generate fair random numbers on the blockchain because each usage of operation and space will increase the gas costs. Therefore, the cost reduction in an efficient manner is well worth exploring.
In this session, firstly, we will introduce some general random number generators. Secondly, present another approach to reducing the gas cost via the "binary operation" concept which came from AMIS engineers. Finally, we will show the benchmark to reveal the gas comparison for the above methods.