Back to Search Start Over

Design Patterns for Gas Optimization in Ethereum

Authors :
Giulio Barabino
Lodovica Marchesi
Giuseppe Destefanis
Danilo Tigano
Michele Marchesi
Source :
2020 IEEE International Workshop on Blockchain Oriented Software Engineering (IWBOSE).
Publication Year :
2020
Publisher :
IEEE, 2020.

Abstract

Blockchain technology is an emerging technology that allows new forms of decentralized architectures, designed to generate trust among users, without the intervention of mediators or knowledge between the parties. Since 2015, thanks to the introduction of Smart Contracts by Ethereum, it is possible to run programs on the blockchain, greatly extending the potential of this technology. The programming of Smart Contract, through the Solidity language is different from the traditional one. First of all, any action that requires to modify the blockchain costs gas, which corresponds to a fraction of the currency used by that given blockchain, and therefore to real money. Gas optimization is a unique challenge in this context and has obvious implications. This document aims to provide a set of design patterns and tips to help gas saving in developing Smart Contracts on Ethereum. The provided patterns are presented divided into five main categories, based on their features.

Details

Database :
OpenAIRE
Journal :
2020 IEEE International Workshop on Blockchain Oriented Software Engineering (IWBOSE)
Accession number :
edsair.doi...........4149fb14f1a9c6fa5155fcc9fd78c56d
Full Text :
https://doi.org/10.1109/iwbose50093.2020.9050163