~/talk

Intro to Foundry

slides:none on file

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

  1. 0:00Intro to Foundry
  2. 1:09What is Foundry
  3. 2:12Installing Foundry
  4. 4:00First Foundry project
  5. 5:24Foundry project structure
  6. 6:30Foundry test setup
  7. 7:11Compile and test contracts
  8. 8:16Run and analyze tests
  9. 9:21Write a fuzz test
  10. 10:43Fix overflow issues
  11. 11:25Locate contract artifacts
  12. 11:46Foundry starter kit
  13. 13:32Run starter kit tests
  14. 14:16Mock contracts in testing
  15. 15:20Cheat codes for blockchain
  16. 15:40Foundry docs overview
  17. 16:45Foundry remappings
  18. 18:28Q&A on Foundry
  19. 20:24Foundry vs Hardhat tests
  20. 21:47Deploy contracts with Foundry
  21. 23:16Max int in fuzz testing
  22. 24:42Foundry on testnets and M1
  23. 25:24Local blockchain testing
  24. 26:46Projects using Foundry
  25. 29:16Final Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.