Skip to content
48

Awesome Solidity Gas Optimization

Best resources for Solidity gas optimizations ⛽

1.2k stars102 forks63 entriesLast push May 12, 2023 (3 years ago)License Apache-2.0

This page lists names, links and short descriptions. The original list on GitHub is the source and belongs to its authors.

I. Research Papers

MultiCall: A Transaction-batching Interpreter for Ethereum - 2021

IEEE: Static Profiling and Optimization of Ethereum Smart Contracts Using Resource Analysis - 2021

Arxiv: Under-Optimized Smart Contracts Devour Your Money - 2020

IEEE: Design Patterns for Gas Optimization in Ethereum - 2020

GASOL: Gas Analysis and Optimization for Ethereum Smart Contracts - 2020

Optimization of solidity smart contracts - 2020

A Gas-Efficient Superlight Bitcoin Client in Solidity - 2020

Arxiv: Profiling Gas Leaks in Solidity Smart Contracts - 2020

ABCDE—agile block chain DApp engineering - 2020

IEEE: Transformation of Contract Descriptions in a Domain Specific Language to Solidity Assembly - 2020

Developing Cost-Effective Blockchain-Powered Applications: A Case Study of the Gas Usage of Smart Contract…

Cost Minimization of Solidity Smart Contracts on Blockchain Systems - 2020

IEEE: GasChecker: Scalable Analysis for Discovering Gas-Inefficient Smart Contracts - 2020

IEEE: Research on Smart Contract Optimization Method on Blockchain - 2019

Springer: Synthesis of Super-Optimized Smart Contracts Using Max-SMT - 2020

Characterizing Efficiency Optimizations in Solidity Smart Contracts - 2020

A Quantitative Analysis of the Ethereum Fee Market: How Storing Gas Can Result in More Predictable Prices.

Springer: Studying gas exceptions in blockchain-based cloud applications - 2020

IEEE: Characterizing Efficiency Optimizations in Solidity Smart Contracts - 2019

Springer: Computing Exact Worst-Case Gas Consumption for Smart Contracts - 2018

Gas Cost Analysis for Ethereum Smart Contracts - 2018

Springer: Optimized Execution of Business Processes on Blockchain - 2017

Saving Deployment Costs of Smart Contracts by Eliminating Gaswasteful Patterns - 2017

EVM Opcode Gas Costs

II. Medium / Articles

Basics of Smart Contract Gas Optimization with Solidity - 2022

How EIP2535 Diamonds Reduces Gas Costs for Smart Contract Systems - 2022 (Thanks to @mudgen,

https://eip2535diamonds.substack.com/p/how-eip2535-diamonds-reduces-gas

How to Save Gas in your Ethereum Smart Contracts - 2021

Solidity Quick Tip: Efficiently Swap Two Variables - 2021

How to Write Smart Contracts That Optimize Gas Spent on Ethereum - Medium

Optimizing your Solidity contract’s gas usage - Medium

Solidity gas optimization tips - Article

Storage vs. Memory vs. Stack in Solidity & Ethereum

10 solidity code patterns that optimize the gas utilization of Ethereum smart contracts - 2019

How to reduce gas cost in Solidity - 2019

Gas Optimization in Solidity Part I: Variables - 2019

How to optimize gas cost in a Solidity smart contract? 6 tips - 2019

Solidity tips and tricks to save gas and reduce bytecode size - 2019

Save Gas with Packing in Solidity - 2019

The million dollar question (RU) - 2018

Solidity gas optimization - small int types and structs - 2018

8 Ways of Reducing the Gas Consumption of your Smart Contracts - 2018

How to Reduce Solidity Gas Costs Full Guide - 2022

A Collection of Gas Optimisation Tricks - 2022

Solidity Gas Optimizations Cheat Sheet - 2022

III. Q&A / StackOverflow

How to write an optimized (gas-cost) smart contract? - StackOverflow

Why does uint8 cost more gas than uint256? - StackOverflow

Use string type or bytes32? - StackOverflow

Integer types; createPerson function alternatives; Gas; Optimization; View v Pure functions; Non-iterable nature of…

What’s the best way to optimize the bytecode size of a contract? - 2019

Gas optimization for my smart contract? - 2017

IV. Video resources / YouTube

EVM Basics — Macro Hackathons - 2022

Gas Golf | Solidity 0.8 - 2022

EVM Bytecode ABI Gas and Gas Price - 2021

Simple Trick to Save Gas in Your Smart Contract - 2021

Storage, Memory and Calldata | Solidity 0.8

Simple Storage | Solidity 0.8

EVM: From Solidity to byte code, memory and storage - 2020

Three tips for optimizing gas - 2019

Learn Solidity (0.5) - Gas and Gas Price - 2019

DAPPCON 2018: Solidity Dapp Optimization Gonçalo Sá (ConsenSys Diligence) - 2018

Less Gas, More Fun: Optimising Smart Contracts through Yul by Christian Reitwiessner (Devcon4) - 2018

Gas optimization in solidity: 10tips by Julien Klepatch (EatTheBlocks) - 2019

V. Smart-Contracts:

Playpen: is a set of modern, gas-optimized staking pool contracts - 2022

See category
94

Awesome-Selfhosted

awesome-selfhosted/awesome-selfhosted

A list of Free Software network services and web applications which can be hosted on your own servers

Fresh★ 323k1312 entriesPushed today
91

Awesome Hacker Search Engines

edoardottt/awesome-hacker-search-engines

A curated list of awesome search engines useful during Penetration testing, Vulnerability assessments, Red/Blue Team operations, Bug Bounty and more

Fresh★ 11k574 entriesPushed today
91

Awesome Privacy

lissy93/awesome-privacy

🦄 A curated list of privacy & security-focused software and services

Fresh★ 9.9k459 entriesPushed today
89

Awesome Bug Bounty Tools

vavkamil/awesome-bugbounty-tools

A curated list of various bug bounty tools

Fresh★ 6.3k400 entriesPushed yesterday
88

android-security-awesome

ashishb/android-security-awesome

A collection of android security related resources

Fresh★ 9.7k233 entriesPushed 2 days ago
87

Awesome Web Security

qazbnm456/awesome-web-security

🐶 A curated list of Web Security materials and resources.

Fresh★ 14k368 entriesPushed 15 days ago