← All courses

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 runs in your browser and the free desktop app.

What you get

  • Hands-on lessons with a real editor and instant, test-graded feedback.
  • Free and open source — no account required to start.
  • Runs in your browser, and offline in the free desktop app.
  • Solidity runs in your browser.

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

Start Solidity: Smart Contracts from First Principles free →   More free Solidity courses