Adding All Flavors: A Hybrid Random Number Generator for dApps and Web3

DOI arXiv PDF
BibTeX Citation
@article{karanjai2024adding-f,
  title={Adding All Flavors: A Hybrid Random Number Generator for dApps and Web3},
  author={Ranjith Chodavarapu and Rabimba Karanjai and Xinxin Fan and Larry Shi and Lei Xu},
  journal={arXiv preprint arXiv:2510.12062},
  year={2024}
}
Copied to clipboard
Read Paper Download PDF

Abstract

Random numbers play a vital role in many decentralized applications (dApps), such as gaming and decentralized finance (DeFi) applications. Existing random number provision mechanisms can be roughly divided into two categories, on-chain, and off-chain. On-chain approaches usually rely on the blockchain as the major input and all computations are done by blockchain nodes. The major risk for this type of method is that the input itself is susceptible to the adversary’s influence. Off-chain approaches, as the name suggested, complete the generation without the involvement of blockchain nodes and share the result directly with a dApp. These mechanisms usually have a strong security assumption and high complexity. To mitigate these limitations and provide a framework that allows a dApp to balance different factors involved in random number generation, we propose a hybrid random number generation solution that leverages IoT devices equipped with trusted execution environment (TEE) as the randomness sources, and then utilizes a set of cryptographic tools to aggregate the multiple sources and obtain the final random number that can be consumed by the dApp. The new approach only needs one ho

Type Conference Paper
Venue International Symposium on Stabilization, Safety, and Security of Distributed Systems (SSS) 2024
Date Sep 2024
Web3 Randomness dApps Security