Analyzing smart contract interactions and contract level state consensus
【Author】 Hu, Yao-Chieh; Lee, Ting-Ting; Chatzopoulos, Dimitris; Hui, Pan
【Source】CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE
【影响因子】1.831
【Abstract】Although the primary function of distributed ledgers is to store data related to users' interactions, their capabilities allow them to offer more sophisticated functionalities. Advances in blockchain technologies introduced smart contracts, software programs that define immutable rules as functions stored on the blockchain and can be executed on demand. Smart contracts can interact not only with users but also with each other via message exchange. We compare existing smart contract interactions, and develop an architecture for asynchronous state consensus, a novel type of smart contract interaction required in applications but had rarely been addressed. The proposed architecture is composed of two types of smart contracts, ie, Custodian and Client. Client smart contracts serve as network participants reaching a particular consensus collectively by forming a cluster and issuing votes towards a final state agreement. Custodian smart contracts serve as the arbiters that aggregate and calculate voting results as the finalized state consensus that is shared across the network. To test the feasibility of our proposal, we conduct experiments on the consensus reaching latency and the scalability under different network configurations with standardized Amazon Web Service instances. Lastly, we discuss the robustness our proposal concerning Byzantine Fault tolerance and list possible applications. In the gaming industry, an ERC721 smart contract does not allow contrasting structural features between individual tokens, yet only minor value-level differences. The proposed solution can address the need for character diversity that characters can be created and attached to a gaming smart contract after deployment, which enables fine distinction between characters. The proposal can also achieve sharing states across smart contracts, such as the jackpot, which renovates the flexibility of blockchain gaming.
【Keywords】Byzantine fault tolerance; decentralized Ledgers; distributed consensus; smart contracts
【发表时间】2020 25-Jun
【收录时间】2022-01-02
【文献类型】
【主题类别】
--
【DOI】 10.1002/cpe.5228
评论