Browse all Solidity articles.
7 min read
What makes blockchain immutable? Note: This article is intended to be understandable by non-technical readers, to gain a very technical understanding, refer to our blockchain bootcamp after reading...
5 min read
EIP-150 and the 63/64 Rule for Gas Introduction EIP-150, or Ethereum Improvement Proposal 150, is a protocol upgrade for the Ethereum blockchain. It was proposed on March 18, 2016, and implemented on...
11 min read
Solidity Events Solidity events are the closest thing to a or statement in Ethereum. We will explain how they work, best practices for events, and go into a lot of technical details often omitted in...
1 min read
Verify Signature Solidity in Foundry Here is a minimal (copy and paste) example of how to safely create and verify ECDSA signatures with OpenZeppelin in the Foundry environment. Contract:...
7 min read
EIP-2930 - Ethereum access list Introduction An Ethereum access list transaction enables saving gas on cross-contract calls by declaring in advance which contract and storage slots will be accessed....
2 min read
Uint256 max value The uint256 max value can be obtained with which is or 2²⁵⁶-1. But it's cleaner and safer to use . The same can be used for signed integer types The math behind maximum values in...
3 min read
Solidity test internal function To test an internal Solidity function, create a child contract that inherits from the contract being tested, wrap the parent contract’s internal function with an...
11 min read
Foundry Unit Tests This article will describe how to create unit tests in Solidity using Foundry. We will cover how to test all the state transitions that can occur in a smart contract, plus some...
6 min read
Solidity Coding Standards The purpose of this article is not to rehash the official Solidity Style Guide, which you should read. Rather, it is to document the common deviations from the style guide...
10 min read
Solidity RSA signatures for airdrops and presales: Beating ECDSA and Merkle Trees in Gas Efficiency Updated: Aug 4, 2023 By Suthan Somadeva and Michael Burke ECDSA Vs RSA Introduction Creating a...
24 min read
The Solidity Engineer Salary is a Myth !Stack of gold bars owned by a blockchain engineer Is gold in your future if you study blockchain? There is no shortcut to a high solidity developer salary This...
8 min read
Where to find solidity reentrancy attacks Reentrancy can only happen when your smart contract calls another smart contract via function call or sending ether. If you do not call another contract or...