Gas optimization tips for Solidity

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/solidity

Our great sponsors
  • Zigi - Workflow assistant built for devs & their teams
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • Sonar - Write Clean JavaScript Code. Always.
  • openzeppelin-contracts

    OpenZeppelin Contracts is a library for secure smart contract development.

    But why would someone want to use an unchecked block running the risk of an overflow/underflow? For example, in a case where the contract has a function that increments just by one when called (and is preferably not called so frequently), or if the contract imports Open Zeppelin’s Counters library. This is safe because the probability of causing an overflow/underflow by incrementing just by one on each transaction is quite close to 0 due to all the time and gas needed for reaching the 2²⁵⁶ number.

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts