TechRxiv
m_arxiv1.pdf (276.92 kB)

Lifecycle Optimization of Smart Contract for Flexibility

Download (276.92 kB)
preprint
posted on 14.05.2021, 01:44 by Hong SuHong Su
Smart contract-based methods are used to implement the blockchain applications. While smart contracts have separate pre-deployed steps, which are suitable for applications that are deployed once and invoked many times. However, there are smart contracts that are used only one time (the disposable smart contract) or few times. Pre-deployment requires an additional step and additional transactions, which bring burdens (such as longer waiting time and more transaction fees) to users. In this paper, we propose a new Lifecycle model of smart contracts, which allows combining the pre-deployment with function invocations. This facilitates the usage of the disposable smart contract, as users are only required to send one transaction to perform both the pre-deployment and the function invocation. Together with the smart contract separation, it also allows participants to customize their special smart contracts at the request time. At last, we verify the proposed model and it shows the potential to save additional burden and to facilitate the usage of the smart contract.

History

Email Address of Submitting Author

suguest@126.com

Submitting Author's Institution

Sichuan University

Submitting Author's Country

China

Usage metrics

Licence

Exports