COSCUP 2022

Your locale preferences have been saved. We like to think that we have excellent support for English in pretalx, but if you encounter issues or errors, please contact us!

A low-gas-cost random number generator
2022-07-30 , TR313
Language: 漢語

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.


Talk Length (30/45/90 mins)

30 minutes

Target Audience

有區塊鏈經驗者

Difficulty

Skilled

AMIS 密碼學工程師