- Creating a New Project
- Working on an Existing Project
- Clone a Verified Contract on Chain
- Dependencies
- Soldeer
- Project Layout
- Configuring with
foundry.toml - Continuous Integration
- Integrating with VSCode
- Shell Autocompletion
- Static Analyzers
- Integrating with Hardhat
- Vyper support
- Best Practices
- Creating an NFT with Solmate
- Docker and Foundry
- Testing EIP-712 Signatures
- Solidity Scripting
- Deterministic deployment using CREATE2
- Forking Mainnet with Cast and Anvil
- Learning Foundry Videos
- FAQ
- Help us improve Foundry
- References
- CLI Reference
forgeforge bindforge bind-jsonforge buildforge cacheforge cleanforge cloneforge completionsforge configforge coverageforge createforge debugforge docforge eip712forge flattenforge fmtforge geigerforge generateforge generate-fig-specforge initforge inspectforge installforge remappingsforge removeforge scriptforge selectorsforge snapshotforge soldeerforge testforge treeforge updateforge verify-bytecodeforge verify-checkforge verify-contract
castcast 4bytecast 4byte-decodecast 4byte-eventcast abi-decodecast abi-encodecast access-listcast address-zerocast admincast agecast balancecast base-feecast bindcast blockcast block-numbercast callcast calldatacast calldata-decodecast chaincast chain-idcast clientcast codecast codesizecast completionscast compute-addresscast concat-hexcast create2cast decode-eofcast decode-transactioncast disassemblecast estimatecast etherscan-sourcecast find-blockcast format-bytes32-stringcast from-bincast from-fixed-pointcast from-rlpcast from-utf8cast from-weicast gas-pricecast generate-fig-speccast hash-zerocast implementationcast indexcast index-erc7201cast interfacecast keccakcast logscast lookup-addresscast max-intcast max-uintcast min-intcast mktxcast namehashcast noncecast parse-bytes32-addresscast parse-bytes32-stringcast pretty-calldatacast proofcast publishcast receiptcast resolve-namecast rpccast runcast selectorscast sendcast shlcast shrcast sigcast sig-eventcast storagecast to-asciicast to-basecast to-bytes32cast to-check-sum-addresscast to-deccast to-fixed-pointcast to-hexcast to-hexdatacast to-int256cast to-rlpcast to-uint256cast to-unitcast to-utf8cast to-weicast txcast upload-signaturecast wallet
anvilchisel
forgeCommandscastCommands- General Commands
- Chain Commands
- Transaction Commands
- Block Commands
- Account Commands
- ENS Commands
- Etherscan Commands
- ABI Commands
- Conversion Commands
- cast format-bytes32-string
- cast from-bin
- cast from-fixed-point
- cast from-rlp
- cast from-utf8
- cast from-wei
- cast parse-bytes32-address
- cast parse-bytes32-string
- cast to-ascii
- cast to-base
- cast to-bytes32
- cast to-dec
- cast to-fixed-point
- cast to-hex
- cast to-hexdata
- cast to-int256
- cast to-rlp
- cast to-uint256
- cast to-unit
- cast to-wei
- cast shl
- cast shr
- Utility Commands
- Wallet Commands
anvilReferencechiselReference- Config Reference
- Cheatcodes Reference
- Environment
warprollfeegetBlockTimestampgetBlockNumberdifficultyprevrandaochainIdstoreloadetchdealprankstartPrankstopPrankreadCallersrecordaccessesrecordLogsgetRecordedLogssetNoncegetNoncemockCallmockCallRevertclearMockedCallscoinbasebroadcaststartBroadcaststopBroadcastpauseGasMeteringresumeGasMeteringtxGasPricestartStateDiffRecordingstopAndReturnStateDiff
- Assertions
- Fuzzer
- Forking
- External
- Utilities
- Snapshots
- RPC
- Files
- Environment
- Forge Standard Library Reference
- DSTest Reference
- CLI Reference
- Miscellaneous