Foundry
Overview of the Foundry Smart Contract Development Toolkit
Introduction
Official Links
Solidity Compiler Management
Forge Commands
Compile a Contract
Deploy a Contract
Run a Specific Unit Test
Run All Unit Tests
Cast Commands
Call a Function
Submit a Transaction
Send Native Token to Account
Convert a UTF-8 String to Hexadecimal
Get Keccak-256 Hash of a custom Smart Contract Error
Generate the ABI-Encoded Calldata for a Smart Contract Function Call
Testing on Local Mainnet Fork
Create a Local Fork
Impersonate an Account
Transfer ERC-20 Balance from Impersonated Account
Common Errors
code 128
Last updated