Litcius/Paper detail

GasSaver

Quang-Thang Nguyen, Do Bao Son, Thi Tam Nguyen, Ba-Lam Do

202216 citationsDOI

Abstract

Currently, the number of smart contracts using Solidity language in Ethereum increases at a breakneck speed. In this context, optimizing gas fees in smart contracts becomes necessary to save costs for both developers and users who interact directly with these contracts. To optimize gas, developers typically need to have deep knowledge of blockchain and programming languages, making it a significant challenge for new programmers. In this paper, we introduce GasSaver - an open-source tool that analyzes Solidity-based contracts and suggests modifications to reduce transaction fees. Our tool, which relies on a set of seven rules for identifying non-optimized codes, shows that 6,333 in a total of 10,245 top most interactive contracts on Ethereum contain at least one optimization problem and the total problems are more than 30,000. Hence, the use of this tool can reduce a considerable cost for the deployment and interaction of smart contracts.

Topics & Concepts

SolidityComputer scienceSoftware deploymentContext (archaeology)Database transactionSet (abstract data type)Transaction costSmart contractSoftware engineeringComputer securityDatabaseProgramming languageBusinessFinanceBiologyPaleontologyBlockchain Technology Applications and SecuritySecurity and Verification in ComputingAdvanced Malware Detection Techniques