An Auditable and Trusted Lottery System in the Cloud
Source abstract
Abstract
Public blockchains offer transparency and tamper resistance, but implementing national-scale lotteries directly on-chain is impractical because each bet would require a separate transaction, incurring substantial gas costs and facing throughput limitations. This paper presents an auditable lottery architecture designed to address these scalability challenges and eliminate the reliance on trusted third parties. The proposed approach decouples high-volume bet recording from on-chain enforcement. Bets are recorded off-chain in a transaction-positioned Merkle tree (TP-Merkle tree), while the service provider commits only the per-round root hash and summary metadata to an Ethereum smart contract. Each player receives a signed receipt and a compact Merkle proof (Slice), enabling independent inclusion checks and third-party audits. A programmable appeal mechanism allows any participant to submit receipts and cryptographic evidence to the contract; if misbehavior is proven, compensation is executed automatically from a pre-deposited margin. A proof-of-concept implementation demonstrates the system’s feasibility, and extensive experiments evaluate collision behavior, storage overhead, proof size, and gas consumption, demonstrating that the proposed design can support national-scale betting volumes (tens of millions of bets per round) while occupying only a small fraction of on-chain resources.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Blockchain Technology Applications and Security · Cryptography and Data Security · Auction Theory and Applications
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science and Information Engineering, National Taiwan Normal University, Taipei 116059, Taiwan
Department of Computer Science and Information Engineering, National Dong Hwa University, Hualien 974301, Taiwan
References (30)
Show source-provided references
1. Hwang, G.-H., and Chen, H.-F. (July, January 27). Efficient Real-Time Auditing and Proof of Violation for Cloud Storage Systems. Proceedings of the 2016 IEEE 9th International Conference on Cloud Computing (CLOUD), San Francisco, CA, USA.10.1109/CLOUD.2016.0027 ↗
2. Hwang, G.-H., Chen, P.-H., Lu, C.-H., Chiu, C., Lin, H.-C., and Jheng, A.-J. (2018, January 25–30). InfiniteChain: A Multi-chain Architecture with Distributed Auditing of Sidechains for Public Blockchains. Proceedings of the International Conference on Blockchain, Seattle, WA, USA.10.1007/978-3-319-94478-4_4 ↗
3. Nakamoto, S. (2025, October 27). Bitcoin: A Peer-to-Peer Electronic Cash System. Available online: https://ssrn.com/abstract=3440802.
4. Ethereum (2025, October 27). The Ethereum Blockchain Explorer. Available online: https://etherscan.io/.
5. (2025, October 27). Proof of Stake (PoS). Available online: https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/.
6. Quanta (2025, October 27). White Paper. Available online: https://www.quanta.im/wp-content/uploads/2020/03/Quanta-whitepaper.pdf.
7. (2025, October 27). ERC-20, Available online: https://ethereum.org/en/developers/docs/standards/tokens/erc-20/.
8. Li, J., Zhang, Z., and Li, M. (2019, January 18–20). BanFEL: A Blockchain Based Smart Contract for Fair and Efficient Lottery Scheme. Proceedings of the 2019 IEEE Conference on Dependable and Secure Computing (DSC), Hangzhou, China.10.1109/DSC47296.2019.8937559 ↗
9. Saichua, P., Khunthi, S., and Chomsiri, T. (February, January 30). Design of Blockchain Lottery for Thai Government. Proceedings of the 2019 Joint International Conference on Digital Arts, Media and Technology with ECTI Northern Section Conference on Electrical, Electronics, Computer and Telecommunications Engineering (ECTI DAMT-NCON), Nan, Thailand.10.1109/ECTI-NCON.2019.8692241 ↗
10. Boonkrong, S. (2025, January 28–31). Designing a Blockchain-Based Thai Lottery System. Proceedings of the 2025 11th International Conference on Computing and Artificial Intelligence (ICCAI), Kyoto, Japan.10.1109/ICCAI66501.2025.00108 ↗
11. Liao, D.-Y., and Wang, X. (2017, January 15–17). Design of a Blockchain-Based Lottery System for Smart Cities Applications. Proceedings of the 2017 IEEE 3rd International Conference on Collaboration and Internet Computing (CIC), San Jose, CA, USA.10.1109/CIC.2017.00044 ↗
12. Jain, S.K., and Gujaran, S. (2024). Automated Lottery System Using Blockchain.
13. Long, X., Wang, Y., and Li, X. (2025). From Fomo3D to Lottery DAPP: Analysis of Ethereum-Based Gambling Applications. arXiv.
14. Datta, S., Mondal, R., Roy, R., Banerjee, S., and Biswas, U. (2024, January 15–17). Blockchain-Enabled Secure and Fair Online Lottery Systems Using Smart Contracts. Proceedings of the 2024 IEEE Silchar Subsection Conference (SILCON 2024), Agartala, India.10.1109/SILCON63976.2024.10910828 ↗
15. Sun, X., Kulicki, P., and Sopek, M. (2020). Lottery and Auction on Quantum Blockchain. Entropy, 22.10.3390/e22121377 ↗
16. Micali, S., Rabin, M., and Vadhan, S. (1999, January 17–19). Verifiable Random Functions. Proceedings of the Annual IEEE Symposium on Foundations of Computer Science, FOCS, New York, NY, USA.
17. Dodis, Y., and Yampolskiy, A. (2005). A Verifiable Random Function with Short Proofs and Keys. Public Key Cryptography (PKC’05), Proceedings of the 8th International Conference on Theory and Practice, Guimaraes, Portugal, 27–30 October 2014, Springer-Verlag.10.1007/978-3-540-30580-4_28 ↗
18. Raikwar, M., and Gligoroski, D. (2022). SoK: Decentralized Randomness Beacon Protocols. Information Security and Privacy, Proceedings of the 27th Australasian Conference, ACISP 2022, Wollongong, NSW, Australia, 28–30 November 2022, Springer-Verlag.10.1007/978-3-031-22301-3_21 ↗
19. Drand Project (2025, October 27). A Distributed Randomness Beacon Daemon. Available online: https://github.com/drand/drand.
20. Boneh, D., Bonneau, J., Bünz, B., and Fisch, B. (2018). Verifiable Delay Functions. Advances in Cryptology—CRYPTO 2018, Springer.10.1007/978-3-319-96884-1_25 ↗
21. Wesolowski, B. (2019). Efficient Verifiable Delay Functions. Advances in Cryptology—EUROCRYPT 2019, Springer.10.1007/978-3-030-17659-4_13 ↗
22. Pietrzak, K. (2019, January 10–12). Simple Verifiable Delay Functions. Proceedings of the 10th Innovations in Theoretical Computer Science Conference (ITCS 2019), San Diego, CA, USA.
23. Jia, Z., Chen, R., and Li, J. (2019, January 9–11). DeLottery: A Novel Decentralized Lottery System Based on Blockchain Technology. Proceedings of the 2019 2nd International Conference on Blockchain Technology and Applications (ICBTA’19), Xi’an, China.10.1145/3376044.3376049 ↗
24. Jo, Y., and Park, C. (2019). BlockLot: Blockchain-based Verifiable Lottery. arXiv.
25. Laurie, B., and Kasper, E. (2025, October 27). Revocation Transparency. Google Research. Available online: https://www.links.org/files/RevocationTransparency.pdf.
26. Blockchain Scaling using Rollups: A Comprehensive Survey10.1109/ACCESS.2022.3200051 ↗
27. (2025, October 27). TaiwanLottery. Available online: https://www.taiwanlottery.com/.
28. (2025, October 27). Mega Millions. Available online: https://www.megamillions.com/.
29. Merkle, R.C. (1979). Secrecy, Authentication, and Public Key Systems. [Ph.D. Thesis, Stanford University].
30. Benet, J. (2014). IPFS—Content Addressed, Versioned, P2P File System. arXiv.