開源人年會 2022

A low-gas-cost random number generator
2022年7月30日 , TR313
語言: 漢語

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.


議程長度 (30/45/90 mins)

30 minutes

目標聽眾族群

有區塊鏈經驗者

內容難易度

Skilled

AMIS 密碼學工程師