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