Sweep 100% of native gas tokens from EIP-7702 compatible chains. Leaves exactly zero balance. Supports 25 mainnet chains.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install zerodust-chain-exit或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install zerodust-chain-exit⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/zerodust-chain-exit/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: zerodust-chain-exit description: Sweep 100% of native gas tokens from EIP-7702 compatible chains. Leaves exactly zero balance. Supports 25 mainnet chains. user-invocable: true metadata: {"openclaw": {"always": false, "emoji": "🧹", "requires": {"env": ["ZERODUST_API_KEY"]}}} ---
ZeroDust enables sweeping native gas tokens to exactly zero balance using EIP-7702 sponsored execution. This only works on chains that support EIP-7702 (not all EVM chains).
Activate when the user wants to:
| Chain | ID | Native Token | |-------|-----|--------------| | Ethereum | 1 | ETH | | BSC | 56 | BNB | | Base | 8453 | ETH | | Arbitrum | 42161 | ETH | | Optimism | 10 | ETH | | Polygon | 137 | POL | | Gnosis | 100 | XDAI | | Scroll | 534352 | ETH | | Zora | 7777777 | ETH | | Mode | 34443 | ETH | | Mantle | 5000 | MNT | | Celo | 42220 | CELO | | Fraxtal | 252 | FRAX | | Unichain | 130 | ETH | | World Chain | 480 | ETH | | Berachain | 80094 | BERA | | Ink | 57073 | ETH | | Plasma | 9745 | XPL | | BOB | 60808 | ETH | | Story | 1514 | IP | | Superseed | 5330 | ETH | | Sei | 1329 | SEI | | Sonic | 146 | S | | Soneium | 1868 | ETH | | X Layer | 196 | OKB |
Note: Chains like Avalanche, Blast, Linea, and Apechain do NOT support EIP-7702 and cannot be swept.
https://zerodust-backend-production.up.railway.app
curl -X POST https://zerodust-backend-production.up.railway.app/agent/register \
-H "Content-Type: application/json" \
-d '{
"name": "My OpenClaw Agent",
"agentId": "openclaw-unique-id"
}'
Response:
{
"apiKey": "zd_abc123...",
"keyPrefix": "zd_abc12",
"keyId": "uuid",
"keyType": "agent",
"rateLimits": { "perMinute": 300, "daily": 1000 },
"message": "IMPORTANT: Save your API key now - it will not be shown again!"
}
Store apiKey as the ZERODUST_API_KEY environment variable.
Check the user's balance and fees before sweeping:
curl "https://zerodust-backend-production.up.railway.app/quote?userAddress=0xUSER&fromChainId=42161&toChainId=8453&destination=0xDEST"
Response:
{
"quoteId": "uuid",
"fromChainId": 42161,
"toChainId": 8453,
"userAddress": "0x...",
"destination": "0x...",
"balance": "500000000000000",
"balanceFormatted": "0.0005",
"estimatedReceive": "485000000000000",
"estimatedReceiveFormatted": "0.000485",
"totalFeeWei": "15000000000000",
"serviceFeeWei": "5000000000000",
"gasFeeWei": "10000000000000",
"expiresAt": "2026-02-04T16:00:00Z"
}
Get the EIP-712 typed data for signing:
curl -X POST https://zerodust-backend-production.up.railway.app/authorization \
-H "Content-Type: application/json" \
-d '{"quoteId": "uuid-from-quote"}'
Response contains typedData (EIP-712 for sweep) and eip7702 (delegation parameters).
The user must sign:
curl -X POST https://zerodust-backend-production.up.railway.app/sweep \
-H "Content-Type: application/json" \
-d '{
"quoteId": "uuid",
"delegationSignature": "0x...",
"revokeSignature": "0x...",
"sweepSignature": "0x..."
}'
Response:
{
"sweepId": "uuid",
"status": "pending",
"txHash": null
}
Poll GET /sweep/{sweepId} for status updates until status: "completed".
For agents, use this single endpoint to get quote and auth data together:
curl -X POST https://zerodust-backend-production.up.railway.app/agent/sweep \
-H "Content-Type: application/json" \
-H "X-API-Key: $ZERODUST_API_KEY" \
-d '{
"fromChainId": 42161,
"toChainId": 8453,
"userAddress": "0x...",
"destination": "0x..."
}'
Sweep from multiple chains in one request:
curl -X POST https://zerodust-backend-production.up.railway.app/agent/batch-sweep \
-H "Content-Type: application/json" \
-H "X-API-Key: $ZERODUST_API_KEY" \
-d '{
"sweeps": [
{"fromChainId": 42161},
{"fromChainId": 10},
{"fromChainId": 137}
],
"destination": "0x...",
"consolidateToChainId": 8453
}'
| Error | Meaning | |-------|---------| | BALANCE_TOO_LOW | Balance below minimum (~$0.10) | | QUOTE_EXPIRED | Quote older than 5 minutes | | CHAIN_NOT_SUPPORTED | Chain doesn't support EIP-7702 | | INVALID_SIGNATURE | Signature verification failed | | RATE_LIMIT_EXCEEDED | Daily or per-minute limit hit |
User: "I want to move all my ETH from Arbitrum to Base"
Agent:
/quote to check balance and fees/authorization to get typed data/sweep with signatures安装 ZeroDust Chain Exit 后,可以对 AI 说这些话来触发它
Help me get started with ZeroDust Chain Exit
Explains what ZeroDust Chain Exit does, walks through the setup, and runs a quick demo based on your current project
Use ZeroDust Chain Exit to sweep 100% of native gas tokens from EIP-7702 compatible chains
Invokes ZeroDust Chain Exit with the right parameters and returns the result directly in the conversation
What can I do with ZeroDust Chain Exit in my general tools workflow?
Lists the top use cases for ZeroDust Chain Exit, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/zerodust-chain-exit/ 目录(个人级,所有项目可用),或 .claude/skills/zerodust-chain-exit/(项目级)。重启 AI 客户端后,用 /zerodust-chain-exit 主动调用,或让 AI 根据上下文自动发现并使用。
ZeroDust Chain Exit 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
ZeroDust Chain Exit 可免费安装使用。请查阅仓库了解许可证信息。
Sweep 100% of native gas tokens from EIP-7702 compatible chains. Leaves exactly zero balance. Supports 25 mainnet chains.
ZeroDust Chain Exit 属于「General Tools」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my general tools tasks using ZeroDust Chain Exit
Identifies repetitive steps in your workflow and sets up ZeroDust Chain Exit to handle them automatically