返回
Challenges and Common Solutions in Smart Contract Development
DOI:10.1109/TSE.2021.3116808.png)
摘要
En 中文
Smart contracts are a promising means of formalizing and reliably enforcing agreements between entities using distributed ledger technology (DLT). Research has revealed that a significant number of smart contracts are subject to programming flaws, making them vulnerable to attacks and leading to detrimental effects, such as asset loss. Researchers and developers call for a thorough analysis of challenges to identify their causes and propose solutions. To respond to these calls, we conducted two literature reviews and diverse expert interviews and synthesized scattered knowledge on challenges and solutions. We identified 29 challenges (e.g., code visibility, code updateability, and encapsulation) and 60 solutions (e.g., gas limit specification, off-ledger computations, and shadowing). Moreover, we developed 20 software design patterns (SDPs) in collaboration with smart contract developers. The SDPs help developers adjust their programming habits and thus support them in their daily development practices. Our results provide actionable knowledge for smart contract developers to overcome the identified challenges and offer support for comparing smart contract integration concepts across three fundamentally different DLT protocols (i.e., Ethereum, EOSIO, and Hyperledger Fabric). Moreover, we support developers in becoming aware of peculiarities in smart contract development and the resulting benefits and drawbacks.
Keyword:
Smart contracts
Distributed ledger
Codes
Fabrics
Programming
Computer languages
Bitcoin
Blockchain
distributed ledger technology
decentralized applications (dapps)
patterns
smart contracts
software development
期刊
IF:
5.6
论文数:
2.9K
被引数:
1.1W
机构
引用论文
Correlation technique investigation for islanding detection of inverter based distributed generation基于逆变器的分布式电源孤岛检测相关技术研究
Association of elevated serum triglyceride levels with a more severe course of acute pancreatitis: Cohort analysis of 1457 patients血清甘油三酯水平升高与急性胰腺炎更严重病程的关系: 1457例患者的队列分析
Structural and Electronic Characteristics of Endohedral Metallofullerenes: Y2C2@C82and Y2@C84Isomers

