Lolu Bolarinwalolubolarinwa.hashnode.dev·Nov 15, 2023Gas Optimization Standards in SolidityIntroduction Ever had to reconsider carrying out a blockchain transaction due to high transaction costs? Perhaps the cost of initiating the transaction was so high you began to outweigh the benefit of carrying out the transaction in the first place. ...Blockchain development
Favour Ajayefavourajaye.hashnode.dev·Jul 25, 2023Gas optimization in solidityGas Optimization What is Gas Optimization? Gas optimization in Solidity is like finding ways to use less gas when you run a program on the Ethereum blockchain. In the Ethereum network, every operation in a smart contract consumes a certain amount of ...22 likes·46 readsgas optimization
Soft Skillersoftskillpro.hashnode.dev·Jul 24, 2023Basics of Gas Optimization in Solidity Smart ContractGas optimization is a matter of doing what is cheap and avoiding what is expensive in terms of gas costs on EVM blockchains. What is cheap: Reading constants and immutable variables. Reading and writing local variables. Reading and writing memory ...Ethereum
Saksham Thapasakshamthapa.hashnode.dev·Jul 17, 2023Gas optimization Series Part - 3Today, we'll see how you can save gas, by removing overflow checks in loops. Solidity compilers perform various validations and checks during code execution, such as array bounds checking, integer overflow checking, and division by zero. These check...Solidity
Saksham Thapasakshamthapa.hashnode.dev·Jul 16, 2023Gas optimization Series Part -2Today we'll briefly look into caching state variables It is always better to cache a state variable if you can. What does caching a state variable even mean? It's a jargon word to scare off people. In essence, it's simply the act of copying state va...Solidity
Saksham Thapasakshamthapa.hashnode.dev·Jul 13, 2023Gas optimization Series Part - 1Starting this gas optimization series where i'll be writing whatever i learn about gas optimization in solidity. "How far will you go to save gas ?" is a pretty viable question, will you use the dark arts like yul and huff or basic solidity optimiza...29 readsSolidity