用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/AeonDave/malskill --skill foundry-cast命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | foundry-cast |
| description | Auth/lab ref: command-line utility for interacting with Ethereum-compatible chains. |
| compatibility | Linux, macOS, Windows; Foundry installed; RPC access required. |
| metadata | {"author":"AeonDave","version":"1.0"} |
CLI Swiss Army knife for Ethereum and EVM chains.
Use cast when you need to:
# Balance lookup
cast balance 0x0000000000000000000000000000000000000000 --rpc-url https://rpc.example
# Read-only contract call
cast call 0xContract "owner()(address)" --rpc-url https://rpc.example
# Inspect storage slot 0
cast storage 0xContract 0 --rpc-url https://rpc.example
cast calldata "transfer(address,uint256)" 0x1111111111111111111111111111111111111111 1000000000000000000
cast abi-decode "(uint256,address)" 0x0000000000000000000000000000000000000000000000000000000000000042
cast block-number --rpc-url https://rpc.example
cast code 0xContract --rpc-url https://rpc.example
cast receipt 0xTxHash --rpc-url https://rpc.example
cast rpc eth_chainId --rpc-url https://rpc.example
cast send 0xContract "setValue(uint256)" 1 --rpc-url https://rpc.example --private-key 0xYOURKEY
call first; it answers a surprising amount before you risk a transaction.storage is excellent for proxy, slot, and state-layout triage.solc for compilation context and slither or mythril for deeper security review.send signs and broadcasts a transaction, so treat it as a deliberate action.No bundled scripts/, references/, or assets/.
Use the current Foundry cast reference for subcommand-specific flags and aliases.