© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Tarun Soni
I build and break stuff, Everything Frontend, web3
In this article, we are going to discuss some tips and practices to save gas while writing solidity code. What Exactly Is Gas In The Ethereum Blockchain? Each transaction in the ethereum blockchain requires computational resources to execute. Therefo...
bruce doctor
impressive article. how do you calculate or generate the gas usage table ?
Hey Bruce, Glad you liked the article. I pasted the code in remix.ethereum.org and we can see the gas consumed at the bottom
Nitish Srivastava
man in your first point, in table you are showing function1 gas consumption is less then function2 , then how function2 is cheaper than function one. more gas consumption , more cost ... isn't?
Thanks Nitish Srivastava Yes, the testFunction2() consumed less gas, I've updated the table. :)
bruce doctor
impressive article. how do you calculate or generate the gas usage table ?