Intro to Foundry
summary
Walks through installing Foundry, running Forge init to create a project, compiling with Forge build and running Forge test that includes a built‑in fuzz test which tries 256 fuzz cases and surfaces an overflow caught by VM.assume; shows a Counter contract, how tests rewind block state between cases, where compiled ABIs land, and how remappings in remappings.txt point imports to lib folders; demonstrates the Chainlink Foundry Starter Kit with mocks for PriceFeeds, VRF, Keepers, and local cheat codes for fast local testing.
AI-written summary · about
chapters (25)
- 0:00Intro to Foundry
- 1:09What is Foundry
- 2:12Installing Foundry
- 4:00First Foundry project
- 5:24Foundry project structure
- 6:30Foundry test setup
- 7:11Compile and test contracts
- 8:16Run and analyze tests
- 9:21Write a fuzz test
- 10:43Fix overflow issues
- 11:25Locate contract artifacts
- 11:46Foundry starter kit
- 13:32Run starter kit tests
- 14:16Mock contracts in testing
- 15:20Cheat codes for blockchain
- 15:40Foundry docs overview
- 16:45Foundry remappings
- 18:28Q&A on Foundry
- 20:24Foundry vs Hardhat tests
- 21:47Deploy contracts with Foundry
- 23:16Max int in fuzz testing
- 24:42Foundry on testnets and M1
- 25:24Local blockchain testing
- 26:46Projects using Foundry
- 29:16Final Q&A
related talks
37mFoundry 101, a hands on introduction
22mFireside Chat with Andrej on Future of Dev Tools
34mBuilding Apps on Ethereum
01h 03mBeginners Track Welcome & Speedrun Ethereum Introduction
14mDeploying Your First App
05mIntroduction to the Cloud Foundry 101: Getting Started Track
32mThe Best Stack For Building Ethereum Apps And How To One Shot Bangers
33mLaunch everything on $ATOM
