ZeroDust Chain Exit

v1.0.0

Sweep 100% of native gas tokens from EIP-7702 compatible chains. Leaves exactly zero balance. Supports 25 mainnet chains.

1· 1.5k·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zerodustxyz/zerodust-chain-exit.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "ZeroDust Chain Exit" (zerodustxyz/zerodust-chain-exit) from ClawHub.
Skill page: https://clawhub.ai/zerodustxyz/zerodust-chain-exit
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: ZERODUST_API_KEY
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install zerodust-chain-exit

ClawHub CLI

Package manager switcher

npx clawhub@latest install zerodust-chain-exit
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The described capability (obtain quote, provide EIP-712/EIP-7702 typed data, have the user sign and submit a sweep) is consistent with a centralized service that coordinates sponsored EIP-7702 sweeps. Requiring a ZERODUST_API_KEY to call agent endpoints is proportionate. However, there is no source homepage or project repository provided, and many listed 'supported chains' and chain IDs look unusual or fictional (e.g., Zora id 7777777, several names like 'Fraxtal', 'World Chain', 'Plasma', 'Story', 'Superseed', 'Soneium', 'X Layer') which undermines trust in the claimed breadth of support.
!
Instruction Scope
SKILL.md instructs the agent to call a single third-party API to get quotes, authorization typed data, and to submit sweeps — that is within scope. Concerns: (1) the flow requires the user to sign three messages including a delegation and a pre-signed revoke; pre-signed revokes can be risky if the backend stores and replays them, or if their validity window is unclear; (2) the agent may prompt users to paste signatures or data — instructions do not explicitly warn against pasting private keys, and there is no guidance on secure wallet signing flows; (3) the convenience 'agent' endpoints (agent/sweep, agent/batch-sweep) allow an API key to request sweeps for arbitrary addresses, which means possession of an API key confers broad sweep capability that must be trusted.
Install Mechanism
Instruction-only skill with no install spec or code files; nothing is written to disk and there is no package install step — lowest install risk.
Credentials
Only a single env var (ZERODUST_API_KEY) is required which is proportionate for a hosted API service. However, because the API key is used to call endpoints that create authorizations and can submit sweeps (including batch sweeps), possession of this key grants the caller the ability to initiate money-moving operations — users should only set it if they trust the backend operator. The skill does not request unrelated credentials, which is good.
Persistence & Privilege
always:false and no install lifecycle steps are present. The skill does not request elevated persistent privileges or modify other skills/configs. The agent may invoke the API autonomously (default), which is expected for skills; this should be considered when deciding whether to grant the API key to the agent.
What to consider before installing
Do not use this skill with real funds until you can verify the backend and codebase. Specific steps to take before installing or using: - Verify the project: ask the publisher for a canonical homepage or public source repo (GitHub) and review the server code and docs. The skill currently lists no homepage/source and points to a railway.app backend—this is not a proof of legitimacy. - Validate supported chains: confirm the chain IDs and names the service claims to support; several names/IDs in the SKILL.md look uncommon or fictional. Try a tiny test amount first. - Protect keys and signing: never paste private keys into the agent. Ensure signing is done via a secure wallet UI (e.g., MetaMask, hardware wallet) that only signs the intended typed data. Prefer in-wallet signing over copy-pasting signatures where possible. - Question pre-signed revocation: ask the operator to explain why a pre-signed revoke is required, how long signatures are valid, and whether the revoke signature can be replayed or misused later. Prefer a flow where revocation is executed deterministically and immediately, or better yet where the revoke is controlled by the user. - Limit API key exposure: treat ZERODUST_API_KEY as highly sensitive — possession appears to allow batch/agent sweeps. Only provide it to agents you fully trust and consider using a scoped/test key first. - Ask for independent audits or references and for an official domain and contact/support channels. If these are not provided, avoid using the skill for any significant balances.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🧹 Clawdis
EnvZERODUST_API_KEY
latestvk974m9d044v5yeahx3xwb9d6a180hmge
1.5kdownloads
1stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

ZeroDust Chain Exit

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).

When to Use This Skill

Activate when the user wants to:

  • Fully exit a blockchain (move all native tokens out)
  • Sweep dust/small balances from wallets
  • Transfer 100% of their balance with zero remainder
  • Empty a wallet completely
  • Consolidate funds from multiple chains

Trigger Phrases

  • "exit this chain completely"
  • "transfer all my balance from [chain]"
  • "sweep my dust"
  • "empty this wallet"
  • "move everything to [chain]"
  • "leave zero balance"

Supported Chains (25 EIP-7702 Compatible)

ChainIDNative Token
Ethereum1ETH
BSC56BNB
Base8453ETH
Arbitrum42161ETH
Optimism10ETH
Polygon137POL
Gnosis100XDAI
Scroll534352ETH
Zora7777777ETH
Mode34443ETH
Mantle5000MNT
Celo42220CELO
Fraxtal252FRAX
Unichain130ETH
World Chain480ETH
Berachain80094BERA
Ink57073ETH
Plasma9745XPL
BOB60808ETH
Story1514IP
Superseed5330ETH
Sei1329SEI
Sonic146S
Soneium1868ETH
X Layer196OKB

Note: Chains like Avalanche, Blast, Linea, and Apechain do NOT support EIP-7702 and cannot be swept.

API Base URL

https://zerodust-backend-production.up.railway.app

Step 1: Register for API Key (One-Time)

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.

Step 2: Get Quote

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"
}

Step 3: Get Authorization Data

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).

Step 4: User Signs Messages

The user must sign:

  1. EIP-7702 delegation authorization - Delegates their EOA to ZeroDust contract
  2. EIP-7702 revoke authorization - Pre-signed revocation (executed after sweep)
  3. EIP-712 sweep intent - Authorizes the specific sweep parameters

Step 5: Submit Sweep

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".

Convenience Endpoint: Combined Quote + Auth

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..."
  }'

Batch Sweeps (Multiple Chains)

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
  }'

Fees

  • Service fee: 1% of balance (min $0.05, max $0.50)
  • Gas costs: Paid by ZeroDust, reimbursed from sweep amount
  • User receives: ~97-99% of balance (varies by gas prices)

Rate Limits

  • Agent keys: 300 requests/minute, 1000 sweeps/day
  • Contact ZeroDust for higher limits

Error Codes

ErrorMeaning
BALANCE_TOO_LOWBalance below minimum (~$0.10)
QUOTE_EXPIREDQuote older than 5 minutes
CHAIN_NOT_SUPPORTEDChain doesn't support EIP-7702
INVALID_SIGNATURESignature verification failed
RATE_LIMIT_EXCEEDEDDaily or per-minute limit hit

Example Agent Conversation

User: "I want to move all my ETH from Arbitrum to Base"

Agent:

  1. Call /quote to check balance and fees
  2. Show user: "You have 0.005 ETH on Arbitrum. After fees (~1%), you'll receive ~0.00495 ETH on Base. This requires signing 3 messages. Proceed?"
  3. If yes, call /authorization to get typed data
  4. Request wallet signatures (EIP-7702 delegation, revoke, and EIP-712 sweep)
  5. Submit to /sweep with signatures
  6. Poll status until complete
  7. Confirm: "Done! Your Arbitrum balance is now exactly 0. 0.00494 ETH received on Base."

Important Notes

  1. EIP-7702 Required: User's wallet must support EIP-7702. Most modern wallets do as of 2026.

  2. Signatures Required: Sweeps require user wallet signatures. ZeroDust never has custody.

  3. Zero Balance Result: After sweep, source chain balance is EXACTLY zero.

  4. Cross-Chain: Sweeps can go to any supported destination chain via Gas.zip bridging.

  5. Not All EVM Chains: Only the 25 chains listed above support EIP-7702. Do not attempt sweeps on unsupported chains.

Comments

Loading comments...