Exploring Smart Contract Recommendation: Towards Efficient Blockchain Development

被引:5
作者
Jiang, Zigui [1 ]
Zheng, Zibin [1 ]
Chen, Kai [2 ]
Luo, Xiapu [3 ]
Tang, Xiuwen [4 ]
Li, Yin [5 ]
机构
[1] Sun Yat Sen Univ, Sch Software Engn, Zhuhai 519082, Guangdong, Peoples R China
[2] Sun Yat Sen Univ, Sch Math, Guangzhou 510275, Guangdong, Peoples R China
[3] Hong Kong Polytech Univ, Dept Comp, Hung Hom, Hong Kong, Peoples R China
[4] Sun Yat Sen Univ, Sch Comp Sci & Engn, Guangzhou 510275, Guangdong, Peoples R China
[5] Chinese Acad Sci, Inst Software Applicat Technol Guangzhou, Guangzhou 511458, Peoples R China
基金
中国国家自然科学基金;
关键词
Smart contracts; Codes; Blockchains; Software; Costs; Security; Machine learning algorithms; Blockchain; EOSIO; Index Terms; ethereum; service recommendation; smart contract;
D O I
10.1109/TSC.2022.3202081
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Since the development of Blockchain 2.0, the smart contract has become the core of blockchain. However, smart contracts with inaccurate or non-standard codes and settings may cause security vulnerabilities, extra expense cost and wast of computing resource. To avoid these problems and assist users to create new smart contract or apply existing smart contract in a more efficient way, we propose smart contract recommendation by regarding smart contract as a special form of software service in a blockchain system. First, four real-world datasets are obtained from Ethereum and EOSIO for smart contract recommendation. Then, a novel smart contract recommendation framework is proposed and evaluated. In the large-scale experiments, the results validate the feasibility of smart contract recommendation. Additionally, the datasets are publicly released online to other researchers for further studies on smart contract recommendation.
引用
收藏
页码:1822 / 1832
页数:11
相关论文
共 56 条
[1]   Dissecting Ponzi schemes on Ethereum: Identification, analysis, and impact [J].
Bartoletti, Massimo ;
Carta, Salvatore ;
Cimoli, Tiziana ;
Saia, Roberto .
FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2020, 102 :259-277
[2]  
[曹步清 Cao Buqing], 2019, [计算机学报, Chinese Journal of Computers], V42, P1367
[3]  
Chatterjee Krishnendu, 2018, Programming Languages and Systems. 27th European Symposium on Programming, ESOP 2018, held as part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2018. Proceedings: LNCS 10801, P739, DOI 10.1007/978-3-319-89884-1_26
[4]   A new accuracy measure based on bounded relative error for time series forecasting [J].
Chen, Chao ;
Twycross, Jamie ;
Garibaldi, Jonathan M. .
PLOS ONE, 2017, 12 (03)
[5]   DefectChecker: Automated Smart Contract Defect Detection by Analyzing EVM Bytecode [J].
Chen, Jiachi ;
Xia, Xin ;
Lo, David ;
Grundy, John ;
Luo, Xiapu ;
Chen, Ting .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2021, 48 (07) :2189-2207
[6]   Defining Smart Contract Defects on Ethereum [J].
Chen, Jiachi ;
Xia, Xin ;
Lo, David ;
Grundy, John ;
Luo, Xiapu ;
Chen, Ting .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (01) :327-345
[7]   GasChecker: Scalable Analysis for Discovering Gas-Inefficient Smart Contracts [J].
Chen, Ting ;
Feng, Youzheng ;
Li, Zihao ;
Zhou, Hao ;
Luo, Xiaopu ;
Li, Xiaoqi ;
Xiao, Xiuzhuo ;
Chen, Jiachi ;
Zhang, Xiaosong .
IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTING, 2021, 9 (03) :1433-1448
[8]   TokenScope: Automatically Detecting Inconsistent Behaviors of Cryptocurrency Tokens in Ethereum [J].
Chen, Ting ;
Zhang, Yufei ;
Li, Zihao ;
Luo, Xiapu ;
Wang, Ting ;
Cao, Rong ;
Xiao, Xiuzhuo ;
Zhang, Xiaosong .
PROCEEDINGS OF THE 2019 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'19), 2019, :1503-1520
[9]   Towards Saving Money in Using Smart Contracts [J].
Chen, Ting ;
Li, Zihao ;
Zhou, Hao ;
Chen, Jiachi ;
Luo, Xiapu ;
Li, Xiaoqi ;
Zhang, Xiaosong .
2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: NEW IDEAS AND EMERGING TECHNOLOGIES RESULTS (ICSE-NIER), 2018, :81-84
[10]  
Chen T, 2017, 2017 IEEE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), P442, DOI 10.1109/SANER.2017.7884650