Tag: smart-contracts
All the articles with the tag "smart-contracts".
Gas Optimization in Solidity — Techniques That Saved Real ETH
Posted on:January 13, 2025 at 10:00 AMConcrete Solidity gas optimization techniques with before/after gas measurements: storage layout packing, calldata vs memory, custom errors, unchecked arithmetic, and mapping vs array tradeoffs. Numbers from a real ERC-20 + staking contract optimization.
ERC-20 Standard — Building and Auditing a Token from Scratch
Posted on:April 9, 2024 at 10:00 AMA line-by-line walkthrough of the ERC-20 standard — implementing a compliant token from scratch in Solidity, understanding every state variable and event, and learning the security vulnerabilities that have cost millions in real exploits.