Distributed Random Number Generation Method on Smart Contracts

Kentaro Sako, Shin'ichiro Matsuo, Tatsuya Mori
{"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倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信