Paper 2024/957 Original: eprint.iacr.org/2024/957 ↗

VRaaS: Verifiable Randomness as a Service on Blockchains

Jacob Gorman
Lucjan Hanzlik
Aniket Kate
Easwar Vivek Mangipudi
Pratyay Mukherjee
Pratik Sarkar
Sri AravindaKrishnan Thyagarajan
Abstract

Web3 applications, such as on-chain games, NFT minting, and leader elections necessitate access to unbiased, unpredictable, and publicly verifiable randomness. Despite its broad use cases and huge demand, there is a notable absence of comprehensive treatments of on-chain verifiable randomness services. To bridge this, we offer an extensive formal analysis of on-chain verifiable randomness services. We present the $first$ formalization of on-chain verifiable randomness in the blockchain setting by introducing the notion of Verifiable Randomness as a Service (VRaaS). We formally define VRaaS using an ideal functionality $\mathcal{F}_{\text{VRaaS}}$ in the Universal Composability model. Our definition not only captures the core features of randomness services, such as unbiasability, unpredictability, and public verifiability, but also accounts for many other crucial nuances pertaining to different entities involved, such as smart contracts. Within our framework we study a generic design of Verifiable Random Function (VRF)-based randomness service - where the randomness requester provides an input on which the randomness is evaluated as VRF output. We show that it does satisfy our formal VRaaS definition. Furthermore, we show that the generic protocol captures many real-world randomness services like Chainlink VRF and Supra dVRF. Moreover, we investigate the minimalism of the framework. Towards that, first we show that, the two transactions in-built in our framework are actually $necessary$ for any randomness service to support the essential qualities. We also discover $practical$ $vulnerabilities$ in other designs such as Algorand beacon, Pyth VRF and Band VRF, captured within our framework.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
Preprint.
History
2025-06-18: last updated
2024-06-14: published
Short URL
https://ia.cr/2024/957
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2024/957,
      author = {Jacob Gorman and Lucjan Hanzlik and Aniket Kate and Easwar Vivek Mangipudi and Pratyay Mukherjee and Pratik Sarkar and Sri AravindaKrishnan Thyagarajan},
      title = {VRaaS: Verifiable Randomness as a Service on Blockchains},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/957},
      year = {2024},
      url = {https://eprint.iacr.org/2024/957}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.