首页|Improving smart contract search by semantic and structural clustering for source codes

Improving smart contract search by semantic and structural clustering for source codes

扫码查看
The search for smart contract source codes has drawn research attention to fulfill developers'and researchers'needs.Yet,the existing studies are not mature enough to address smart contracts'technical properties and functionalities.This paper proposes a system to improve the naive search for smart contract codes;for example,Etherscan has one keyword search feature without regard to the contract structure.We consider clustering smart contracts based on developers'preferences,which increases the probability that the resulting source codes match developers'needs.Our experimental results show a significant improvement in the complexity of the retrieved source codes of smart contracts compared with the baseline scenario using blockchain search engines(e.g.,Etherscan).Our solution reduces the number of retrieved smart contract codes the developer has to check if the codes match her/his needs by 94%,88%,82%,or 98%,depending on the user's search preferences.

Smart contractBlockchainFeaturesSemanticClustering

Alkhansaa A.Abuhashim、Chiu C.Tan

展开 >

Computer and Information Science,Temple University,Philadelphia,PA 19122,USA

Information Systems,Al-Imam Muhammad Ibn Saud University,Riyadh 11564,Saudi Arabia

2023

区块链研究(英文)

区块链研究(英文)

EI
ISSN:
年,卷(期):2023.(2)
  • 61