NativeVRF: A Simplified Decentralized Random Number Generator on EVM Blockchains
Open Access
Abstract
Smart contracts refer to small programs that run in a decentralized blockchain infrastructure. The blockchain system is trustless, and the determination of common variables is done by consensus between peers. Developing applications that require generating random variables becomes significantly challenging—for instance, lotteries, games, and random assignments. Many random number generators (RNGs) for smart contracts have been developed for the decentralized environment. The methods can be classified into three categories: on-chain RNG, Verifiable Random Function (VRF), and the Commit–reveal scheme. Although the existing methods offer different strengths and weaknesses, none achieves the three important requirements for an ideal RNG solution: security, applicability, and cost efficiency. This paper proposes a novel RNG approach called Native VRF, which offers application development simplicity and cost efficiency while maintaining strong RNG security properties. Experimental results show that Native VRF has the same security properties as the widely used RNG methods, i.e., Randao and Chainlink VRF. On top of that, our work offers a much simpler setup process and lower hardware resources and developer expertise requirements. Most importantly, the proposed Native VRF is compatible with all Ethereum virtual machine (EVM) blockchains, contributing to the overall growth of the blockchain ecosystem.Keywords
Funding Information
- National Science, Research and Innovation Fund (NSRF) and Prince of Songkla University (COC6601136S, COC6304156S)
- College of Computing, Prince of Songkla University (COC6601136S, COC6304156S)
This publication has 18 references indexed in Scilit:
- An overview on smart contracts: Challenges, advances and platformsFuture Generation Computer Systems, 2020
- Probabilistic Smart Contracts: Secure Randomness on the Blockchain2019
- An Overview of Smart Contract and Use Cases in Blockchain Technology2018
- An Empirical Analysis of Smart Contracts: Platforms, Applications, and Design Patterns2017
- A Survey of Attacks on Ethereum Smart Contracts (SoK)2017
- Trustworthy public randomness with sloth, unicorn, and trxInternational Journal of Applied Cryptography, 2017
- A randomized RSA-based partially blind signature scheme for electronic cashComputers & Security, 2004
- Biometric random number generatorsComputers & Security, 2004
- The Probability that the Number of Points on an Elliptic Curve over a Finite Field is PrimeJournal of the London Mathematical Society, 2000
- Generating user-based cryptographic keys and random numbersComputers & Security, 1999