Smart Contract Engineering
Solidity fundamentals · 1/3

The language of the EVM

Solidity is the most widely used smart contract language. It looks like JavaScript but is statically typed and compiles to EVM bytecode.

A contract is like a class: it has state variables stored permanently on-chain, and functions that read or change that state. Changing state costs gas; reading it from off-chain is free.