{"title":"Distributed Random Number Generation Method on Smart Contracts","authors":"Kentaro Sako, Shin'ichiro Matsuo, Tatsuya Mori","doi":"10.1145/3559795.3559796","DOIUrl":null,"url":null,"abstract":"We propose N-choice game (NCG), a decentralized pseudo-random number generation method that can be executed on smart contracts. Of the M participants, one is a dealer, and the rest are players, each with a different role. Each participant randomly chooses one value between 0 and N − 1 and receives a score determined by the NCG rule. The amount of reward each participant receives is determined by the score. The values chosen by the participants are combined and hashed into a pseudo-random number. The NCG framework is designed to achieve the following three goals: (1) Incentivize participants to provide random choices, (2) Evaluate the level of randomness in the decentralized environment, and (3) Establish high performance. We implement the NCG framework in Solidity and evaluate its performance. Our extensive experiments revealed that unless more than 90% of NCG players collide, the generated random numbers have high randomness that can pass the NIST randomness test. The experiments also demonstrated that the throughput of random number generation in NCG was 129 times faster than in the existing framework, Random Bit Generator [2].","PeriodicalId":190093,"journal":{"name":"Proceedings of the 2022 4th Blockchain and Internet of Things Conference","volume":"138 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2022 4th Blockchain and Internet of Things Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3559795.3559796","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We propose N-choice game (NCG), a decentralized pseudo-random number generation method that can be executed on smart contracts. Of the M participants, one is a dealer, and the rest are players, each with a different role. Each participant randomly chooses one value between 0 and N − 1 and receives a score determined by the NCG rule. The amount of reward each participant receives is determined by the score. The values chosen by the participants are combined and hashed into a pseudo-random number. The NCG framework is designed to achieve the following three goals: (1) Incentivize participants to provide random choices, (2) Evaluate the level of randomness in the decentralized environment, and (3) Establish high performance. We implement the NCG framework in Solidity and evaluate its performance. Our extensive experiments revealed that unless more than 90% of NCG players collide, the generated random numbers have high randomness that can pass the NIST randomness test. The experiments also demonstrated that the throughput of random number generation in NCG was 129 times faster than in the existing framework, Random Bit Generator [2].
我们提出了n选择博弈(NCG),一种分散的伪随机数生成方法,可以在智能合约上执行。在M个参与者中,一个是发牌者,其余的是参与者,每个人都有不同的角色。每个参与者在0到N - 1之间随机选择一个值,并根据NCG规则获得一个分数。每位参与者获得的奖励金额由分数决定。参与者选择的值被组合并散列成一个伪随机数。NCG框架旨在实现以下三个目标:(1)激励参与者提供随机选择;(2)评估分散环境中的随机性水平;(3)建立高性能。我们在solid中实现了NCG框架,并对其性能进行了评估。我们的大量实验表明,除非超过90%的NCG玩家发生碰撞,否则生成的随机数具有高随机性,可以通过NIST随机性测试。实验还表明,NCG中随机数生成的吞吐量比现有框架random Bit Generator[2]快129倍。