1. Introduction
  2. Getting Started
  3. 1. Installation
  4. 2. First Steps with Foundry
  5. Projects
  6. 3. Creating a New Project
  7. 4. Working on an Existing Project
  8. 5. Clone a Verified Contract on Chain
  9. 6. Dependencies
  10. 7. Soldeer
  11. 8. Project Layout
  12. ZKsync Specifics
  13. 9. Overview
  14. 10. Execution Overview
  15. 11. Compilation Overview
  16. 12. Configuration Overview
  17. 13. Limitations
    ❱
    1. 13.1. General
    2. 13.2. Compilation
    3. 13.3. Broadcast
    4. 13.4. Events
    5. 13.5. Traces
    6. 13.6. Cheatcodes
  18. 14. Forge-ZKSync Standard Library
  19. 15. Additional Cheatcodes
    ❱
    1. 15.1. zkRegisterContract
    2. 15.2. zkVm
    3. 15.3. zkVmSkip
    4. 15.4. zkUsePaymaster
    5. 15.5. zkUseFactoryDep
  20. 16. Gas Overview
  21. 17. Paymaster Overview
  22. 18. Examples
    ❱
    1. 18.1. General Flow Paymaster
    2. 18.2. Paymaster Approval Based
    3. 18.3. Ledger
    4. 18.4. Multisig Smart Account
  23. Supported Commands
  24. 19. Command List
  25. Forge Overview
  26. 20. Overview of Forge
  27. 21. Tests
    ❱
    1. 21.1. Writing Tests
    2. 21.2. Cheatcodes
    3. 21.3. Forge Standard Library
    4. 21.4. Forge ZKsync Standard Library
    5. 21.5. Understanding Traces
    6. 21.6. Fork Testing
    7. 21.7. Replaying Failures
  28. 22. Advanced Testing
  29. 23. Fuzz Testing
  30. 24. Invariant Testing
  31. 25. Differential Testing
  32. 26. Deploying and Verifying
  33. 27. Gas Tracking
    ❱
    1. 27.1. Gas Reports
    2. 27.2. Gas Function Snapshots
    3. 27.3. Gas Section Snapshots
  34. Cast Overview
  35. 28. Overview of Cast
  36. Anvil-ZKsync Overview
  37. 29. Anvil-ZKsync
  38. Not Supported
  39. 30. Chisel
  40. Configuration
  41. 31. Configuring with foundry.toml
  42. Tutorials
  43. 32. Creating an NFT with Solmate
  44. 33. Deterministic deployment using CREATE2
  45. 34. Solidity Scripting
  46. Appendix
  47. 35. References
    ❱
    1. 35.1. anvil-zksync Reference

foundry-zksync book

ZKSync Specifics

  • Execution Overview
  • Compilation Overview
  • Limitations
    • General
    • Compilation
    • Broadcast
    • Cheatcodes
  • Additional Cheatcodes
    • zkVm
  • Gas Overview
  • Paymaster Overview