Skip to content

Foundry Overview

Foundry banner

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.

Navigating the Documentation

Getting Started

Get up and running with Foundry by installing the toolkit and get started with the basics of each tool.

Guides

Comprehensive tutorials and best practices for building robust smart contracts and development workflows with Foundry.

Project Setup

Learn how to organize your projects with the forge project setup guides for scaling smart contract codebases.

Forge

Master the core smart contract development tool with the Forge overview, covering building, testing, deploying, and verifying contracts.

Cast

Learn to interact with blockchain networks from the command line using Cast for contract calls, transactions, and chain data retrieval.

Anvil

Set up local development networks with Anvil, Foundry's fast Ethereum-compatible node with forking capabilities.

Chisel

Explore Solidity interactively with Chisel, the integrated REPL for rapid prototyping and debugging.

Configuration

Customize your Foundry setup and integrate with other tools for an optimized development workflow.

Contributing

Help improve Foundry by contributing - see the contribution guidelines to learn more.

Reference

Complete command references, configuration options, and API documentation for all Foundry tools.