toomuch.sh

Foundry

Blazing fast Ethereum development toolkit written in Rust

/ Developer Tools | oss
#development#testing#solidity#rust#smart-contracts

Getting Started

  1. Install Foundry with the one-line installer: curl -L https://foundry.paradigm.xyz | bash && foundryup.
  2. Create a new project with forge init my-project to scaffold a complete Solidity project structure.
  3. Write tests in Solidity using Forge’s testing framework and run them with forge test.
  4. Deploy contracts with forge create or forge script and interact using cast CLI 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