Solidity
Browse all Solidity articles.

Three ways to detect if an address is a smart contract This article describes three methods in Solidity for determining if an address is a smart contract: Check if . This is not a recommended method,...
Last updated on Oct 29, 2025
Learn Solidity: Easy to Learn, Hard to Master? Is Solidity hard to learn? Learning solidity as a language is arguably one of the easier languages to learn. However, learning the Ethereum environment...
Last updated on Oct 29, 2025
7 min read
Solidity Gasleft
Solidity Gasleft Introduction The purpose of this article is to describe the behavior of the Solidity function and its uses. It is a built-in function that is used to check the remaining gas during a...
Last updated on Oct 29, 2025
Over 150 interview questions for Ethereum Developers All of these questions can be answered in three sentences or less. Easy What is the difference between private, internal, public, and external...
Last updated on Oct 29, 2025
6 min read
Solidity Mutation Testing
Solidity Mutation Testing Mutation testing is a method to check the quality of the test suite by intentionally introducing bugs into the code and ensuring the tests catch the bug. The kind of bugs...
Last updated on Oct 29, 2025
5 min read
Understanding smart contract metadata
Understanding smart contract metadata When Solidity generates the bytecode for the smart contract to be deployed, it appends metadata about the compilation at the end of the bytecode. We will examine...
Last updated on Oct 29, 2025
6 min read
Ethereum precompiled contracts
Ethereum precompiled contracts Ethereum precompiles behave like smart contracts built into the Ethereum protocol. The nine precompiles live in addresses 0x01 to 0x09. The utility of precompiles falls...
Last updated on Oct 29, 2025
10 min read
Solidity RSA signatures for airdrops and presales: Beating ECDSA and Merkle Trees in Gas Efficiency
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
3 min read
Solidity Staticcall EIP 214
Solidity Staticcall EIP 214 Staticcall is like a regular Ethereum call except that it reverts if a state change happens. It cannot be used to transfer Ether. Both the EVM opcode, the Yul assembly...
Last updated on Oct 29, 2025
3 min read
Solidity test internal function
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
6 min read
Solidity Coding Standards
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
7 min read
Solidity vs Rust
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