15 Solidity resources to learn Web3

Solidity: the primary smart-contract language for Ethereum and other EVM-compatible chains.

15 resources

  1. CryptoZombies

    CryptoZombies · Beginner · Tutorials

    Free, in-browser lessons that teach Solidity by building a zombie game; nothing to install.

  2. Solidity Documentation

    soliditylang.org · Intermediate · Articles

    The language reference: syntax, types, contract structure and compiler behavior.

  3. Solidity by Example

    solidity-by-example.org · Beginner · Tutorials

    Short, runnable Solidity examples, from Hello World and mappings to re-entrancy and ERC-20.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. freeCodeCamp.org (YouTube)

    freeCodeCamp · Beginner · Videos

    Free full-length programming courses on video, including multi-hour blockchain and Solidity walkthroughs.

  13. LearnWeb3

    LearnWeb3 · Beginner · Courses

    A step-by-step Web3 curriculum of short courses, from blockchain fundamentals to smart contracts, DeFi and NFTs.

  14. Alchemy University

    Alchemy · Beginner · Courses

    Alchemy's free courses with in-browser coding: Introduction to Blockchain, Learn Solidity, Learn JavaScript and an Ethereum Bootcamp.

  15. 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.