01
Getting Started
Contract Basics
Solidity is the primary language for Ethereum smart contracts. pragma sets the compiler version. A contract is like a class. Functions can be public, private, view (read-only), or payable.
solidity
Object-oriented language for writing smart contracts on Ethereum.
Solidity is the primary language for Ethereum smart contracts. pragma sets the compiler version. A contract is like a class. Functions can be public, private, view (read-only), or payable.