15 Solidity resources to learn Web3
Solidity: the primary smart-contract language for Ethereum and other EVM-compatible chains.
15 resources
CryptoZombies
CryptoZombies · Beginner · Tutorials
Free, in-browser lessons that teach Solidity by building a zombie game; nothing to install.
Solidity Documentation
soliditylang.org · Intermediate · Articles
The language reference: syntax, types, contract structure and compiler behavior.
Solidity by Example
solidity-by-example.org · Beginner · Tutorials
Short, runnable Solidity examples, from Hello World and mappings to re-entrancy and ERC-20.
OpenZeppelin Contracts
OpenZeppelin · Intermediate · Articles
Docs for OpenZeppelin Contracts, the audited Solidity library of ERC-20, ERC-721, access-control and upgradeable building blocks that teams reuse instead of rewriting.
Ethernaut
OpenZeppelin · Intermediate · Challenges
OpenZeppelin's wargame: each level is a deliberately vulnerable contract you exploit, which teaches how attacks such as re-entrancy work.
Damn Vulnerable DeFi
Damn Vulnerable DeFi · Advanced · Challenges
Hands-on challenges that have you drain deliberately vulnerable DeFi contracts: flash loans, price oracles, governance and upgradeable proxies.
Smart Contract Best Practices
Consensys · Intermediate · Articles
Consensys Diligence's guide to common smart-contract attacks, such as re-entrancy and front-running, and the coding patterns that prevent them. No longer actively maintained.
The Ultimate Solidity Course
RareSkills · Intermediate · Courses
A free Solidity course for people who already program: storage, ERC-20 and ERC-721, re-entrancy, proxies, gas optimization and walkthroughs of Uniswap V2 and Compound V3.
Hardhat Documentation
Hardhat · Intermediate · Articles
How to set up Hardhat, then write tests, debug and deploy Solidity contracts; tests can be in TypeScript or Solidity.
The Foundry Book
Foundry · Intermediate · Books
The Foundry manual: Forge to build and test contracts in Solidity, Cast to call chains from the terminal and Anvil to run a local node.
Remix IDE Documentation
Remix · Beginner · Articles
How to write, compile, deploy and debug a Solidity contract in your browser with Remix, with nothing to install.
freeCodeCamp.org (YouTube)
freeCodeCamp · Beginner · Videos
Free full-length programming courses on video, including multi-hour blockchain and Solidity walkthroughs.
LearnWeb3
LearnWeb3 · Beginner · Courses
A step-by-step Web3 curriculum of short courses, from blockchain fundamentals to smart contracts, DeFi and NFTs.
Alchemy University
Alchemy · Beginner · Courses
Alchemy's free courses with in-browser coding: Introduction to Blockchain, Learn Solidity, Learn JavaScript and an Ethereum Bootcamp.
OpenZeppelin on GitHub
GitHub · Intermediate · Open source
OpenZeppelin's public repositories, including the audited Contracts library, where you can read the code and open issues.