Foundry Overview
Foundry is a smart contract development toolchain.
Foundry manages your dependencies, compiles your project, runs tests, deploys, and lets you interact with the chain from the command-line and via Solidity scripts.
Sections
Getting StartedTo get started with Foundry, install Foundry and set up your first project.
ProjectsThis section will give you an overview of how to create and work with existing projects.
Forge OverviewThe overview will give you all you need to know about how to use forge
to develop, test, and deploy smart contracts.
Learn how to use cast
to interact with smart contracts, send transactions, and get chain data from the command-line.
Learn about anvil
, Foundry's local node.
Learn how to use chisel
, Foundry's integrated Solidity REPL.
Guides on configuring Foundry.
- Configuring with
foundry.toml
- Continuous Integration
- Integrating with VSCode
- Shell Autocompletion
- Static Analyzers
- Integrating with Hardhat
- Vyper support
- Forge Lint
Guides for building smart contracts with Foundry.
- Best Practices
- Scripting with Solidity
- Deterministic deployments using CREATE2
- Forking Mainnet with Cast and Anvil
- Running Foundry inside of Docker
Help us improve Foundry: Contributing
AppendixReferences, troubleshooting, and more.