Building Random, Fair, and Verifiable Games on Blockchain. Raffle smart
contract designs on Sui Network
- URL: http://arxiv.org/abs/2310.12305v3
- Date: Thu, 26 Oct 2023 21:33:54 GMT
- Title: Building Random, Fair, and Verifiable Games on Blockchain. Raffle smart
contract designs on Sui Network
- Authors: Eason Chen, Justa Liang, Ray Huang, Pierce Hung, Damien Chen, Ashley
Hsu, Konstantinos Chalkias, Stefanos Pleros
- Abstract summary: This paper aims to provide insights into designing a fair, verifiable, and efficient smart contract game on blockchain.
We explore efficient methods for implementing randomness on smart contracts, including DRAND committee-based decentralized random beacons and single private-key-based verifiable random functions (VRF)
Our findings provide valuable guidance for future researchers and developers in building random, fair, and verifiable games with smart contracts.
- Score: 10.410456199908587
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Randomness plays a pivotal role in modern online gaming, but disputes have
arisen over the accuracy of stated winning chances, resulting in legal issues
and financial setbacks for gaming companies. Fortunately, blockchain-based
games offer a solution to the transparency and fairness issue regarding
randomness. Furthermore, emerging blockchain technology like Sui Network
enhances the efficiency of smart contracts by eliminating traditional web3
barriers, such as inefficiencies and expensive transaction fees. This unlocks
the potential for extensive decentralized gaming applications.
This paper aims to provide insights into designing a fair, verifiable, and
efficient smart contract game on blockchain by the example of building raffles
on the Sui Network. We explore efficient methods for implementing randomness on
smart contracts, including DRAND committee-based decentralized random beacons
and single private-key-based verifiable random functions (VRF). Then, progress
from basic to comprehensive smart contract design. We addressed limitations in
developing blockchain games in general, such as data input and storage space
constraints.
We propose corresponding solutions, encompassing the utilization of Object
Tables, Delegate Object Creation, and Zero-Knowledge Proofs (ZKP) to optimize
storage and input efficiency. After testing our designs, we found that the
transaction fees for DRAND beacons and private-key-based VRFs are similar.
Moreover, Object Tables incur higher overall transaction fees, while the ZKP
setup fee is cheap but becomes very expensive during the verification process.
Moreover, we identified suitable designs for different application scenarios by
comparing the pros and cons of different smart contract implementations. Our
findings provide valuable guidance for future researchers and developers in
building random, fair, and verifiable games with smart contracts.
Related papers
- Enhancing Trust and Privacy in Distributed Networks: A Comprehensive Survey on Blockchain-based Federated Learning [51.13534069758711]
Decentralized approaches like blockchain offer a compelling solution by implementing a consensus mechanism among multiple entities.
Federated Learning (FL) enables participants to collaboratively train models while safeguarding data privacy.
This paper investigates the synergy between blockchain's security features and FL's privacy-preserving model training capabilities.
arXiv Detail & Related papers (2024-03-28T07:08:26Z) - Generative AI-enabled Blockchain Networks: Fundamentals, Applications,
and Case Study [73.87110604150315]
Generative Artificial Intelligence (GAI) has emerged as a promising solution to address challenges of blockchain technology.
In this paper, we first introduce GAI techniques, outline their applications, and discuss existing solutions for integrating GAI into blockchains.
arXiv Detail & Related papers (2024-01-28T10:46:17Z) - PTTS: Zero-Knowledge Proof-based Private Token Transfer System on Ethereum Blockchain and its Network Flow Based Balance Range Privacy Attack Analysis [0.0]
We propose a Private Token Transfer System (PTTS) for the public blockchain.
For the proposed framework, zero-knowledge based protocol has been designed using Zokrates and integrated into our private token smart contract.
In the second part of the paper, we provide security and privacy analysis including the replay attack and the balance range privacy attack.
arXiv Detail & Related papers (2023-08-29T09:13:31Z) - Who is Gambling? Finding Cryptocurrency Gamblers Using Multi-modal
Retrieval Methods [46.17004007514548]
We propose a tool termed ETHGamDet to discover gambling behaviors and identify the contracts and addresses involved in gambling.
The tool is able to automatically detect the smart contracts and addresses involved in gambling by scrutinizing the smart contract code and address transaction records.
We present a novel LightGBM model with memory components, which possesses the ability to learn from its own misclassifications.
arXiv Detail & Related papers (2022-11-27T10:07:13Z) - Blockchain Framework for Artificial Intelligence Computation [1.8148198154149393]
We design the block verification and consensus mechanism as a deep reinforcement-learning process.
Our method is used to design the next generation of public blockchain networks.
arXiv Detail & Related papers (2022-02-23T01:44:27Z) - A formal model for ledger management systems based on contracts and
temporal logic [0.0]
In second-generation blockchains such as the ledger is coupled with smart contracts.
The current implementation of smart contracts as arbitrary programming constructs has made them susceptible to dangerous bugs.
We propose here to recompose the split and recover the reliability of databases by formalizing a notion of contract modelled as a finite-state automaton.
arXiv Detail & Related papers (2021-09-30T15:34:28Z) - Federated Learning using Smart Contracts on Blockchains, based on Reward
Driven Approach [0.0]
We show how smart contract based blockchain can be a very natural communication channel for federated learning.
We show how intuitive a measure of each agents' contribution can be built and integrated with the life cycle of the training and reward process.
arXiv Detail & Related papers (2021-07-19T12:51:22Z) - Training Massive Deep Neural Networks in a Smart Contract: A New Hope [5.0737599874451105]
Deep neural networks (DNNs) could be very useful in blockchain applications such as DeFi and NFT trading.
This paper proposes novel platform designs, collectively called A New Hope (ANH)
The main ideas are (i) computing-intensive smart contract transactions are only executed by nodes who need their results, or by specialized serviced providers, and (ii) a non-deterministic smart contract transaction leads to uncertain results.
arXiv Detail & Related papers (2021-06-28T14:38:44Z) - ESCORT: Ethereum Smart COntRacTs Vulnerability Detection using Deep
Neural Network and Transfer Learning [80.85273827468063]
Existing machine learning-based vulnerability detection methods are limited and only inspect whether the smart contract is vulnerable.
We propose ESCORT, the first Deep Neural Network (DNN)-based vulnerability detection framework for smart contracts.
We show that ESCORT achieves an average F1-score of 95% on six vulnerability types and the detection time is 0.02 seconds per contract.
arXiv Detail & Related papers (2021-03-23T15:04:44Z) - Quantum Multi-Solution Bernoulli Search with Applications to Bitcoin's
Post-Quantum Security [67.06003361150228]
A proof of work (PoW) is an important cryptographic construct enabling a party to convince others that they invested some effort in solving a computational task.
In this work, we examine the hardness of finding such chain of PoWs against quantum strategies.
We prove that the chain of PoWs problem reduces to a problem we call multi-solution Bernoulli search, for which we establish its quantum query complexity.
arXiv Detail & Related papers (2020-12-30T18:03:56Z) - Regulation conform DLT-operable payment adapter based on trustless -
justified trust combined generalized state channels [77.34726150561087]
Economy of Things (EoT) will be based on software agents running on peer-to-peer trustless networks.
We give an overview of current solutions that differ in their fundamental values and technological possibilities.
We propose to combine the strengths of the crypto based, decentralized trustless elements with established and well regulated means of payment.
arXiv Detail & Related papers (2020-07-03T10:45:55Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.