An Organized Repository of Ethereum Smart ...
Document type :
Article dans une revue scientifique
DOI :
Title :
An Organized Repository of Ethereum Smart Contracts’ Source Codes and Metrics
Author(s) :
Pierro, Giuseppe Antonio [Auteur]
Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Tonelli, Roberto [Auteur]
Università degli Studi di Cagliari = University of Cagliari [UniCa]
Marchesi, Michele [Auteur]
Università degli Studi di Cagliari = University of Cagliari [UniCa]
Analyses and Languages Constructs for Object-Oriented Application Evolution [RMOD]
Tonelli, Roberto [Auteur]
Università degli Studi di Cagliari = University of Cagliari [UniCa]
Marchesi, Michele [Auteur]
Università degli Studi di Cagliari = University of Cagliari [UniCa]
Journal title :
Future Internet
Pages :
197
Publisher :
MDPI
Publication date :
2020-11
ISSN :
1999-5903
HAL domain(s) :
Informatique [cs]/Langage de programmation [cs.PL]
Informatique [cs]
Informatique [cs]
English abstract : [en]
Many empirical software engineering studies show that there is a need for repositories where source codes are acquired, filtered and classified. During the last few years, Ethereum block explorer services have emerged as ...
Show more >Many empirical software engineering studies show that there is a need for repositories where source codes are acquired, filtered and classified. During the last few years, Ethereum block explorer services have emerged as a popular project to explore and search for Ethereum blockchain data such as transactions, addresses, tokens, smart contracts’ source codes, prices and other activities taking place on the Ethereum blockchain. Despite the availability of this kind of service, retrieving specific information useful to empirical software engineering studies, such as the study of smart contracts’ software metrics, might require many subtasks, such as searching for specific transactions in a block, parsing files in HTML format, and filtering the smart contracts to remove duplicated code or unused smart contracts. In this paper, we afford this problem by creating Smart Corpus, a corpus of smart contracts in an organized, reasoned and up-to-date repository where Solidity source code and other metadata about Ethereum smart contracts can easily and systematically be retrieved. We present Smart Corpus’s design and its initial implementation, and we show how the data set of smart contracts’ source codes in a variety of programming languages can be queried and processed to get useful information on smart contracts and their software metrics. Smart Corpus aims to create a smart-contract repository where smart-contract data (source code, application binary interface (ABI) and byte code) are freely and immediately available and are classified based on the main software metrics identified in the scientific literature. Smart contracts’ source codes have been validated by EtherScan, and each contract comes with its own associated software metrics as computed by the freely available software PASO. Moreover, Smart Corpus can be easily extended as the number of new smart contracts increases day by day.Show less >
Show more >Many empirical software engineering studies show that there is a need for repositories where source codes are acquired, filtered and classified. During the last few years, Ethereum block explorer services have emerged as a popular project to explore and search for Ethereum blockchain data such as transactions, addresses, tokens, smart contracts’ source codes, prices and other activities taking place on the Ethereum blockchain. Despite the availability of this kind of service, retrieving specific information useful to empirical software engineering studies, such as the study of smart contracts’ software metrics, might require many subtasks, such as searching for specific transactions in a block, parsing files in HTML format, and filtering the smart contracts to remove duplicated code or unused smart contracts. In this paper, we afford this problem by creating Smart Corpus, a corpus of smart contracts in an organized, reasoned and up-to-date repository where Solidity source code and other metadata about Ethereum smart contracts can easily and systematically be retrieved. We present Smart Corpus’s design and its initial implementation, and we show how the data set of smart contracts’ source codes in a variety of programming languages can be queried and processed to get useful information on smart contracts and their software metrics. Smart Corpus aims to create a smart-contract repository where smart-contract data (source code, application binary interface (ABI) and byte code) are freely and immediately available and are classified based on the main software metrics identified in the scientific literature. Smart contracts’ source codes have been validated by EtherScan, and each contract comes with its own associated software metrics as computed by the freely available software PASO. Moreover, Smart Corpus can be easily extended as the number of new smart contracts increases day by day.Show less >
Language :
Anglais
Peer reviewed article :
Oui
Audience :
Internationale
Popular science :
Non
Collections :
Source :
Files
- https://hal.inria.fr/hal-03099061/document
- Open access
- Access the document
- https://hal.inria.fr/hal-03099061/document
- Open access
- Access the document
- https://hal.inria.fr/hal-03099061/document
- Open access
- Access the document
- document
- Open access
- Access the document
- main.pdf
- Open access
- Access the document
- Open access
- Access the document