Solidity: Smart Contracts from First Principles
A dense, opinionated tour of Solidity v0.8.x — from the EVM and gas metering up through the language's type system, data locations, inheritance graph, security pitfalls, and gas-aware idioms. Compiles every example with the official solc 0.8.26 compiler running in-browser. Ends with a from-scratch ERC-20 implementation and a roadmap for production work.
- Solidity
- 76 lessons
- ~15 hours
- Free
- by Fishbones
Learn Solidity for free on Libre Academy with the Solidity: Smart Contracts from First Principles course: 76 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up. It's part of the free, open-source desktop app for macOS, Windows and Linux.
What you get
- Hands-on lessons with a real editor and instant, test-graded feedback.
- Free and open source, with no account required to start.
- Works offline in the free desktop app for macOS, Windows and Linux.
- Solidity runs instantly in the app.
What's inside
- What Solidity is
- Your first contract
- Types
- Storage, memory, and calldata
- State and functions, deeper
- Events and errors
- Globals, units, and ABI encoding
- Constructors, receive, fallback
- Inheritance, interfaces, libraries
- Math safety and unchecked
- Security patterns
- Gas and optimization
- Capstone: ERC-20 from scratch
Download to start Solidity: Smart Contracts from First Principles → More free Solidity courses
Helpful reading
Why passive video doesn't make you a programmer · Bring Your Own Book: turning any PDF into a course