Browse all Solidity articles.

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:...
Last updated on Aug 12, 2024
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....
Last updated on Sep 24, 2025
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...
Last updated on Aug 2, 2024
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...
Last updated on Oct 29, 2025
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...
Last updated on Oct 22, 2025
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...
Last updated on Oct 29, 2025
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...
Last updated on Oct 29, 2025
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...
Last updated on Sep 24, 2025
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...
Last updated on Sep 28, 2024
Generate a random number with Solidity on the blockchain !Random Number Solidity Random Number Randomness is tricky on the blockchain because the blockchain is deterministic, but randomness requires...
Last updated on Oct 22, 2025
LeetCode problems and questions - the best 50 Whether web2 or web3, doing well on data structure, algorithm, and LeetCode questions is important, not only for getting a job but developing a good...
Last updated on Sep 29, 2025
7 min read
Solidity vs Rust A common misconception is that learning blockchain is about learning a new programming language. It isn't. Learning blockchain is far more akin to learning a framework than a...
Last updated on Oct 29, 2025