finds.dev

0xisk/awesome-solidity-gas-optimization

Best resources for Solidity gas optimizations ⛽

View on GitHub

★ 1,193SolidityApache-2.0updated May 2023

// the take

A link aggregation repo collecting gas optimization resources for Solidity developers: research papers, articles, Stack Overflow threads, and YouTube videos. No original content — it's a reading list, not a library or tool. Useful as a starting point if you're new to EVM gas mechanics.

Academic papers section is genuinely good — covers static analysis, worst-case gas computation, and EVM opcode costs from 2017–2022, not just blog posts. The Stack Overflow links address specific counter-intuitive behaviors (uint8 costing more than uint256) that trip up experienced developers. Breadth across formats (papers, videos, forums) means different learning styles are covered. The included SaveGas.sol contract gives a concrete reference point alongside the theory.

Dead since May 2023 — the EVM and Solidity compiler have both changed meaningfully since then, so some advice (especially pre-EIP-3529 gas refund guidance) is now wrong. The single SaveGas.sol contract is minimal to the point of being a gesture rather than a useful reference. No coverage of post-Merge optimizations, EIP-1559 fee mechanics, or transient storage (EIP-1153 landed in Cancun). The build status badge is stolen from a different repo (bkrem/awesome-solidity), which is sloppy.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,193
Forks
102
Language
Solidity
License
Apache-2.0
Last commit
12 May 2023

// nearby

If awesome-solidity-gas-optimization isn't quite it.

All repos →