Solidity Learning Hikes
Progressive code walkthroughs by The Red Guild
Solidity is a high-level, object-oriented programming language designed for writing smart contracts on blockchain platforms, particularly Ethereum. These walkthroughs build contracts step by step, explaining each component from fundamentals to security patterns.
Basics
1 hikeTokens
3 hikesERC-20
ERC20.solThe standard fungible token with OpenZeppelin v5, Ownable access control, Pausable emergency stops, and the allowance mechanism.
ERC-721
NFT.solThe standard non-fungible token (NFT) with URI storage metadata, Ownable minting, Pausable transfers, and the _update hook.
ERC-1155
GameItems.solThe multi-token standard supporting both fungible and non-fungible tokens, batch operations, dynamic URI management, and Pausable.
Security
2 hikesMultiSig Wallet
MultisigWallet.solA multi-signature wallet requiring multiple confirmations, with event logging, access control, duplicate prevention, and CEI pattern.
Reentrancy
Understanding and preventing reentrancy attacks, one of the most critical Solidity vulnerabilities.
Advanced
5 hikesNFT Marketplace
A marketplace for buying and selling NFTs with listing, bidding, and sale mechanisms.
DAO
A decentralized autonomous organization with proposal creation, voting, and execution.
Proxy
A proxy pattern for delegate calls and upgradeable contract architectures.
Upgradeable Proxy
An UUPS-style upgradeable proxy pattern with authorization and version management.
Voting System
An on-chain voting system with proposal creation, vote delegation, and tallying.