Foundry-ZKsync Book

Foundry-ZKsync is a smart contract development toolchain for ZKsync, built upon Foundry.

Foundry-ZKsync manages your dependencies, compiles your project, runs tests, deploys, and lets you interact with the chain from the command line and via Solidity scripts.

⚠️ Alpha Stage: The project is in alpha, so you might encounter issues. For more information or reporting bugs, please visit the Foundry-ZKsync GitHub repository.

Sections

Getting Started

To start with Foundry-ZKsync, install Foundry-ZKsync and set up your first project.

Projects

This section will give you an overview of creating and working with existing projects.

ZKsync Specific

This section will introduce the necessary information to write and run tests for zkEVM.

Supported Commands Overview

This section comprehensively reviews all the Foundry commands supported in the Foundry-ZKSync tool.

📖 Contributing

This book is actually a work in progress, part of the global effort to support Foundry in ZKSync. More information, sections, and pages will be added as the project progresses.

Feedback and contributions are welcome. You can contribute to this book on Foundry-ZKSync Book GitHub repository.


For general information about Foundry, see the Foundry Book.