Loading video player...
Learn how to build an ERC20 token from scratch using Foundry! In this comprehensive tutorial, we'll implement every required function, understand the approval mechanism, write comprehensive tests, and deploy to a local blockchain. š What You'll Learn: - Complete ERC20 standard implementation from scratch - All 6 required functions (transfer, approve, transferFrom, etc.) - How the approval mechanism works (foundation of DeFi) - Writing Solidity tests with Foundry/Forge - Deploying to local blockchain with Anvil - Interacting with contracts using Cast CLI - Understanding decimals and token representation š ļø Tools Used: - Foundry (Forge, Cast, Anvil) - Solidity 0.8+ - Local blockchain testing š» Code Repository: š GitHub: https://github.com/Hosseinrezaeifard/codechunk-erc20-token š Chapters: [00:00:00] Welcome [00:01:25] What is ERC20 [00:03:38] Project Setup [00:05:36] Contract Implementation [00:24:07] Testing [00:33:54] Deployment [00:44:39] Recap & Next Steps... šÆ Perfect for: - Solidity developers learning ERC20 - Web3 developers wanting to understand tokens - Anyone curious about how DeFi tokens work - Developers transitioning from other frameworks to Foundry š Subscribe for more Solidity and Web3 content! #Solidity #ERC20 #Foundry #Ethereum #Web3 #SmartContracts #DeFi #BlockchainDevelopment #CodingTutorial