Foundry
Foundry - Installation
Learn how to setup a new Foundry project on Abstract using foundry-zksync.
Foundry-zksync is a fork of the Foundry toolchain built for the ZKsync VM that Abstract uses.
Foundry-zksync Book
View the full documentation for foundry-zksync.
Get started with Foundry-zksync by following the steps below.
1
Install foundry-zksync
Install the foundryup-zksync
fork:
Run foundryup-zksync
to install forge
, cast
, and anvil
:
You may need to restart your terminal session after installation to continue.
2
Verify installation
A helpful command to check if the installation was successful is:
If installed successfully, 20 lines of --zksync
options will be displayed.
3
Create a new project
Create a new project with forge
and change directory into the project.
Was this page helpful?