Guides
Practical guides for common workflows and advanced Foundry patterns.
Deployment
Deploy from local to testnet to mainnet with verification and deterministic addresses.
Send Cast and Forge transactions through an injected browser wallet.
Deploy to predictable addresses across multiple networks using CREATE2.
Deploy the same contracts across multiple networks with per-chain configuration.
Implement proxy patterns and verify storage layout compatibility.
Testing
Generate accurate summaries, LCOV files, per-test coverage attribution, and uncovered-item gap reports.
Test against live chain state, impersonate accounts, and handle time-sensitive logic.
Persist, replay, inspect, minimize, and compare fuzz and invariant corpora.
Evaluate test-suite strength by generating mutants and interpreting survivors.
Write effective invariant tests with handler patterns and ghost variables.
Turn symbolic counterexamples into reproducible tests and durable CI artifacts.
Organize test suites as decision trees and scaffold them with Bulloak.
Networks & Payments
Configure Tempo projects, transactions, tokens, policies, keychains, and debugging.
Use Foundry with HTTP 402 payment-gated RPC endpoints through MPP.
Debugging & Optimization
Replay and debug failed mainnet transactions with trace analysis.
Profile gas usage and optimize with snapshots and the IR pipeline.
Understand and fix stack too deep errors with practical solutions.
Environment
Migrations
Was this helpful?
