foundry

majiayu000 的头像作者 majiayu000

以太坊开发与铸造厂(锻造、铸造、铁砧)

📖 中文导读:以太坊开发与铸造厂(锻造、铸造、铁砧) 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: foundry description: Ethereum development with foundry (forge, cast, anvil)

When to Use This Skill

This guide covers how we write Solidity code for Ehtereum programs with foundry (forge, cast, anvil)

References

Check appropriate references before getting started.

Forge

Need to... Read this resource
understand how to use forge for testing forge-test-overview.md
write tests in Solidity with forge forge-writing-tests.md
use cheatcodes to manipulate blockchain state forge-test-cheatcodes.md
debug tests with detailed call traces forge-test-traces.md
test with randomized inputs (fuzz testing) forge-fuzz-testing.md
organize test cases in table format forge-table-testing.md
test protocol invariants forge-invariant-testing.md
replay test failures forge-replay-testing.md
test against live blockchain state (forking) forge-fork-testing.md
deploy smart contracts forge-deploy.md
generate gas consumption reports forge-gas-reports.md
capture gas snapshots for functions forge-gas-function-snapshots.md
capture gas snapshots for code sections forge-gas-section-snapshots.md
lint Solidity code forge-linting.md
use Forge Standard Library utilities forge-std.md

Cast

Need to... Read this resource
use cast for Ethereum interactions cast-overview.md

Anvil

Need to... Read this resource
run a local Ethereum development node anvil-overview.md