Design patterns for gas optimization in Ethereum

Marchesi L.
;
Marchesi M.;Destefanis G.;Barabino G.;
2020-01-01

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.
2020
Inglese
Proceedings of the 2020 IEEE 3rd International Workshop on Blockchain Oriented Software Engineering
978-1-7281-6278-2
IEEE
345 E 47TH ST, NEW YORK, NY 10017 USA
STATI UNITI D'AMERICA
9
15
7
3rd International Workshop on Blockchain Oriented Software Engineering
Esperti anonimi
Febbraio 2020
London, ON, Canada
internazionale
scientifica
Blockchain; smart contracts; Ethereum; gas saving; gas optimization; design patterns
4 Contributo in Atti di Convegno (Proceeding)::4.1 Contributo in Atti di convegno
Marchesi, L.; Marchesi, M.; Destefanis, G.; Barabino, G.; Tigano, D.
273
5
4.1 Contributo in Atti di convegno
partially_open
info:eu-repo/semantics/conferencePaper
Files in This Item:
File Size Format  
Design_Patterns_for_Gas_Optimization_in_Ethereum_editorialVersion.pdf

Solo gestori archivio

Type: versione editoriale
Size 424.78 kB
Format Adobe PDF
424.78 kB Adobe PDF & nbsp; View / Open   Request a copy
IRIS_Design Patterns for Gas Optimization in Ethereum_IWBOSE2020.pdf

open access

Type: Author’s Accepted Manuscript AAM, Post-print, (version accepted by the publisher)
Size 570.19 kB
Format Adobe PDF
570.19 kB Adobe PDF View/Open

Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

Questionnaire and social

Share on:
Impostazioni cookie