solidity-debug

Installation
SKILL.md

Failed Transaction Debug Workflow

Language Rule

  • Always respond in the same language the user is using. If the user asks in Chinese, respond in Chinese. If in English, respond in English.

Step 1: 获取交易回执 — 判断成功/失败

使用 Foundry cast CLI 查询交易回执(receipt),传入 tx hash 和 RPC endpoint。

关注字段:

字段 含义
status 0 = 失败, 1 = 成功
gasUsed 实际消耗的 gas
logs 空数组 [] = 交易 revert,无事件发出
to 目标合约地址
Related skills

More from 0xlayerghost/solidity-agent-kit

Installs
67
GitHub Stars
2
First Seen
Feb 12, 2026