Publication Type
Journal Article
Version
acceptedVersion
Publication Date
10-2021
Abstract
Smart contract, a term which was originally coined to refer to the automation of legal contracts in general, has recently seen much interest due to the advent of blockchain technology. Recently, the term is popularly used to refer to low-level code scripts running on a blockchain platform. Our study focuses exclusively on this subset of smart contracts. Such smart contracts have increasingly been gaining ground, finding numerous important applications (e.g., crowdfunding) in the real world. Despite the increasing popularity, smart contract development still remains somewhat a mystery to many developers largely due to its special design and applications. Are there any differences between smart contract development and traditional software development? What kind of challenges are faced by developers during smart contract development? Questions like these are important but have not been explored by researchers yet. In this paper, we performed an exploratory study to understand the current state and potential challenges developers are facing in developing smart contracts on blockchains, with a focus on Ethereum (the most popular public blockchain platform for smart contracts). Toward this end, we conducted this study in two phases. In the first phase, we conducted semi-structured interviews with 20 developers from GitHub and industry professionals who are working on smart contracts. In the second phase, we performed a survey on 232 practitioners to validate the findings from the interviews. Our interview and survey results revealed several major challenges developers are facing during smart contract development: (1) there is no effective way to guarantee the security of smart contract code; (2) existing tools for development are still very basic; (3) the programming languages and the virtual machines still have a number of limitations; (4) performance problems are hard to handle under resource constrained running environment; and (5) online resources (including advanced/updated documents and community support) are still limited. Our study suggests several directions that researchers and practitioners can work on to help improve developers’ experience on developing high-quality smart contracts.
Keywords
Smart Contract, Challenges, Empirical Study, Blockchain
Discipline
Software Engineering | Technology and Innovation
Research Areas
Software and Cyber-Physical Systems
Publication
IEEE Transactions on Software Engineering
Volume
47
Issue
10
First Page
2084
Last Page
2106
ISSN
0098-5589
Identifier
10.1109/TSE.2019.2942301
Publisher
IEEE
Citation
ZOU, Weiqin; LO, David; KOCHHAR, Pavneet Singh; LE, Xuan-Bach D.; XIA, Xin; FENG, Yang; CHEN, Zhenyu; and XU, Baowen.
Smart contract development: Challenges and opportunities. (2021). IEEE Transactions on Software Engineering. 47, (10), 2084-2106.
Available at: https://ink.library.smu.edu.sg/sis_research/4496
Copyright Owner and License
Authors
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.
Additional URL
https://doi.org/10.1109/TSE.2019.2942301