Getting Started
- Install Foundry with the one-line installer:
curl -L https://foundry.paradigm.xyz | bash && foundryup. - Create a new project with
forge init my-projectto scaffold a complete Solidity project structure. - Write tests in Solidity using Forge’s testing framework and run them with
forge test. - Deploy contracts with
forge createorforge scriptand interact usingcastCLI commands.
Key Features
- Blazing fast compilation and testing written in Rust for speed that is orders of magnitude faster than JavaScript-based tools.
- Solidity-native testing write tests in Solidity alongside your contracts for a natural, efficient testing workflow.
- Fuzz testing built-in property-based fuzzing automatically generates test inputs to find edge cases and bugs.
- Forking mode fork any EVM chain state for testing against real deployed contracts and data.
- Cast CLI interact with deployed contracts, send transactions, and query chain data from the command line.
- Anvil local node spin up a local Ethereum node for development with configurable block times and account state.
// related tools
Hardhat
Ethereum / Developer Tools
Ethereum development environment for compiling, testing, and deploying
oss
web git
Aave
Ethereum / Lending & Borrowing
Leading decentralized lending protocol across multiple chains
oss
web git
Arbitrum
Ethereum / Layer 2 Rollups
Leading Ethereum L2 rollup with the largest TVL and ecosystem
oss
web git