Smart-Graph: Graphical Representations for Smart Contract on the Ethereum Blockchain - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2021

Smart-Graph: Graphical Representations for Smart Contract on the Ethereum Blockchain

Abstract

The Ethereum blockchain enables executing and recording smart contracts. The smart contracts can facilitate, verify, and implement the negotiation between multiple parties, also guaranteeing transactions without a traditional legal entity. Many tools supporting the smart contracts development in different areas are flourishing because in Ethereum blockchain valuable assets are often involved. Some of the tools help the developer to find security vulnerabilities via static and/or dynamic analysis or to reduce the Gas fees consumption. Despite the plethora of such tools, there is no tool supporting smart contracts evaluation and analysis via a graphical representation for expert developers. The paper embraces this way to facilitate the developers' analysis activity, by proposing a graphical representation model to visualize smart contract source code. The paper makes available a tool via a web interface, which accepts the smart contract address as an input and produces a graphical representation of the smart contract as an output. The graphical representation can help developers to better understand the structure of smart contracts and share it with other developers. Moreover, some metrics, such as the relations among smart contracts, are easier to be understood via "spatial" than "tabular" representation. Indeed, representing smart contracts' metrics via visual representation facilitates the developers, who are used to analyze the source code by directly inspecting it or using other tools that provide the metrics in a table format. Finally, the paper provides detailed data regarding a smart contract to the developers and proposes a graphical representation of the smart contracts without obscuration of details, also highlighting areas of the code that are possibly too big in size and/or too complex via a diagram displaying their connections.
Fichier principal
Vignette du fichier
Pierr21b-smartgraph-Saner.pdf (462.27 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03358120 , version 1 (29-09-2021)

Identifiers

  • HAL Id : hal-03358120 , version 1

Cite

Giuseppe Antonio Pierro. Smart-Graph: Graphical Representations for Smart Contract on the Ethereum Blockchain. 2021 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER), Mar 2021, Honolulu, United States. ⟨hal-03358120⟩
117 View
1301 Download

Share

Gmail Facebook X LinkedIn More