Solidity
Solidity is a statically typed programming language designed for writing smart contracts on Ethereum and other blockchain platforms compatible with the Ethereum Virtual Machine (EVM).
14 resources across 3 libraries
Glossary Terms(1)
Study Notes(12)
Conditionals and Loops in Solidity
Learn how Solidity handles branching with if/else and repetition with for, while, and do-while loops, and why unbounded loops are dangerous in a gas-metered en…
Function Modifiers in Solidity
Function modifiers are reusable pieces of code that wrap function bodies to enforce preconditions like access control, using the special _ placeholder to mark…
Gas Optimization in Solidity
How the EVM prices computation and storage, and the practical patterns, storage packing, caching, calldata, unchecked math, that reduce transaction costs witho…
Inheritance in Solidity
Inheritance lets contracts reuse and extend each other with the is keyword, virtual/override, super, C3-linearized multiple inheritance, and ordered constructo…
Solidity Best Practices
A practical checklist of security, gas, and maintainability practices for production Solidity: checks-effects-interactions, access control, safe external calls…
Solidity Data Types and Value Types
Explore Solidity's value types and reference types, including sized integers, booleans, addresses, bytes, enums, arrays, structs, and mappings, and how they ar…
Solidity Interview Questions
The concepts interviewers probe most for Solidity roles—data location, visibility, storage layout, gas, security patterns, and the EVM—framed as talking points…
Solidity Quick Reference
A fast-scan cheat sheet of Solidity essentials: types, visibility, data locations, modifiers, error handling, global variables, and common patterns for quick r…
Solidity Syntax and Variables
Understand Solidity's file structure, the difference between state, local, and global variables, and how visibility and data location affect where values live…
Solidity vs Rust for Smart Contracts
Compares Solidity (the dominant EVM language) with Rust (used on Solana, NEAR, and via ink! on Polkadot) across performance, safety, tooling, and ecosystem so…
Structs and Enums in Solidity
Structs group related fields into custom record types, while enums give readable names to a fixed set of states — together they turn loose primitives into safe…
What Is Solidity?
Solidity is a statically typed, contract-oriented programming language for writing smart contracts that run on the Ethereum Virtual Machine and compatible bloc…