{
  "schemaVersion": "1.0",
  "item": {
    "slug": "zerodust-chain-exit",
    "name": "ZeroDust Chain Exit",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/zerodustxyz/zerodust-chain-exit",
    "canonicalUrl": "https://clawhub.ai/zerodustxyz/zerodust-chain-exit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/zerodust-chain-exit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=zerodust-chain-exit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/zerodust-chain-exit"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/zerodust-chain-exit",
    "agentPageUrl": "https://openagent3.xyz/skills/zerodust-chain-exit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/zerodust-chain-exit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/zerodust-chain-exit/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "ZeroDust Chain Exit",
        "body": "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)."
      },
      {
        "title": "When to Use This Skill",
        "body": "Activate when the user wants to:\n\nFully exit a blockchain (move all native tokens out)\nSweep dust/small balances from wallets\nTransfer 100% of their balance with zero remainder\nEmpty a wallet completely\nConsolidate funds from multiple chains"
      },
      {
        "title": "Trigger Phrases",
        "body": "\"exit this chain completely\"\n\"transfer all my balance from [chain]\"\n\"sweep my dust\"\n\"empty this wallet\"\n\"move everything to [chain]\"\n\"leave zero balance\""
      },
      {
        "title": "Supported Chains (25 EIP-7702 Compatible)",
        "body": "ChainIDNative TokenEthereum1ETHBSC56BNBBase8453ETHArbitrum42161ETHOptimism10ETHPolygon137POLGnosis100XDAIScroll534352ETHZora7777777ETHMode34443ETHMantle5000MNTCelo42220CELOFraxtal252FRAXUnichain130ETHWorld Chain480ETHBerachain80094BERAInk57073ETHPlasma9745XPLBOB60808ETHStory1514IPSuperseed5330ETHSei1329SEISonic146SSoneium1868ETHX Layer196OKB\n\nNote: Chains like Avalanche, Blast, Linea, and Apechain do NOT support EIP-7702 and cannot be swept."
      },
      {
        "title": "API Base URL",
        "body": "https://zerodust-backend-production.up.railway.app"
      },
      {
        "title": "Step 1: Register for API Key (One-Time)",
        "body": "curl -X POST https://zerodust-backend-production.up.railway.app/agent/register \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"name\": \"My OpenClaw Agent\",\n    \"agentId\": \"openclaw-unique-id\"\n  }'\n\nResponse:\n\n{\n  \"apiKey\": \"zd_abc123...\",\n  \"keyPrefix\": \"zd_abc12\",\n  \"keyId\": \"uuid\",\n  \"keyType\": \"agent\",\n  \"rateLimits\": { \"perMinute\": 300, \"daily\": 1000 },\n  \"message\": \"IMPORTANT: Save your API key now - it will not be shown again!\"\n}\n\nStore apiKey as the ZERODUST_API_KEY environment variable."
      },
      {
        "title": "Step 2: Get Quote",
        "body": "Check the user's balance and fees before sweeping:\n\ncurl \"https://zerodust-backend-production.up.railway.app/quote?userAddress=0xUSER&fromChainId=42161&toChainId=8453&destination=0xDEST\"\n\nResponse:\n\n{\n  \"quoteId\": \"uuid\",\n  \"fromChainId\": 42161,\n  \"toChainId\": 8453,\n  \"userAddress\": \"0x...\",\n  \"destination\": \"0x...\",\n  \"balance\": \"500000000000000\",\n  \"balanceFormatted\": \"0.0005\",\n  \"estimatedReceive\": \"485000000000000\",\n  \"estimatedReceiveFormatted\": \"0.000485\",\n  \"totalFeeWei\": \"15000000000000\",\n  \"serviceFeeWei\": \"5000000000000\",\n  \"gasFeeWei\": \"10000000000000\",\n  \"expiresAt\": \"2026-02-04T16:00:00Z\"\n}"
      },
      {
        "title": "Step 3: Get Authorization Data",
        "body": "Get the EIP-712 typed data for signing:\n\ncurl -X POST https://zerodust-backend-production.up.railway.app/authorization \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"quoteId\": \"uuid-from-quote\"}'\n\nResponse contains typedData (EIP-712 for sweep) and eip7702 (delegation parameters)."
      },
      {
        "title": "Step 4: User Signs Messages",
        "body": "The user must sign:\n\nEIP-7702 delegation authorization - Delegates their EOA to ZeroDust contract\nEIP-7702 revoke authorization - Pre-signed revocation (executed after sweep)\nEIP-712 sweep intent - Authorizes the specific sweep parameters"
      },
      {
        "title": "Step 5: Submit Sweep",
        "body": "curl -X POST https://zerodust-backend-production.up.railway.app/sweep \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"quoteId\": \"uuid\",\n    \"delegationSignature\": \"0x...\",\n    \"revokeSignature\": \"0x...\",\n    \"sweepSignature\": \"0x...\"\n  }'\n\nResponse:\n\n{\n  \"sweepId\": \"uuid\",\n  \"status\": \"pending\",\n  \"txHash\": null\n}\n\nPoll GET /sweep/{sweepId} for status updates until status: \"completed\"."
      },
      {
        "title": "Convenience Endpoint: Combined Quote + Auth",
        "body": "For agents, use this single endpoint to get quote and auth data together:\n\ncurl -X POST https://zerodust-backend-production.up.railway.app/agent/sweep \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $ZERODUST_API_KEY\" \\\n  -d '{\n    \"fromChainId\": 42161,\n    \"toChainId\": 8453,\n    \"userAddress\": \"0x...\",\n    \"destination\": \"0x...\"\n  }'"
      },
      {
        "title": "Batch Sweeps (Multiple Chains)",
        "body": "Sweep from multiple chains in one request:\n\ncurl -X POST https://zerodust-backend-production.up.railway.app/agent/batch-sweep \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $ZERODUST_API_KEY\" \\\n  -d '{\n    \"sweeps\": [\n      {\"fromChainId\": 42161},\n      {\"fromChainId\": 10},\n      {\"fromChainId\": 137}\n    ],\n    \"destination\": \"0x...\",\n    \"consolidateToChainId\": 8453\n  }'"
      },
      {
        "title": "Fees",
        "body": "Service fee: 1% of balance (min $0.05, max $0.50)\nGas costs: Paid by ZeroDust, reimbursed from sweep amount\nUser receives: ~97-99% of balance (varies by gas prices)"
      },
      {
        "title": "Rate Limits",
        "body": "Agent keys: 300 requests/minute, 1000 sweeps/day\nContact ZeroDust for higher limits"
      },
      {
        "title": "Error Codes",
        "body": "ErrorMeaningBALANCE_TOO_LOWBalance below minimum (~$0.10)QUOTE_EXPIREDQuote older than 5 minutesCHAIN_NOT_SUPPORTEDChain doesn't support EIP-7702INVALID_SIGNATURESignature verification failedRATE_LIMIT_EXCEEDEDDaily or per-minute limit hit"
      },
      {
        "title": "Example Agent Conversation",
        "body": "User: \"I want to move all my ETH from Arbitrum to Base\"\n\nAgent:\n\nCall /quote to check balance and fees\nShow 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?\"\nIf yes, call /authorization to get typed data\nRequest wallet signatures (EIP-7702 delegation, revoke, and EIP-712 sweep)\nSubmit to /sweep with signatures\nPoll status until complete\nConfirm: \"Done! Your Arbitrum balance is now exactly 0. 0.00494 ETH received on Base.\""
      },
      {
        "title": "Important Notes",
        "body": "EIP-7702 Required: User's wallet must support EIP-7702. Most modern wallets do as of 2026.\n\n\nSignatures Required: Sweeps require user wallet signatures. ZeroDust never has custody.\n\n\nZero Balance Result: After sweep, source chain balance is EXACTLY zero.\n\n\nCross-Chain: Sweeps can go to any supported destination chain via Gas.zip bridging.\n\n\nNot All EVM Chains: Only the 25 chains listed above support EIP-7702. Do not attempt sweeps on unsupported chains."
      }
    ],
    "body": "ZeroDust Chain Exit\n\nZeroDust 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).\n\nWhen to Use This Skill\n\nActivate when the user wants to:\n\nFully exit a blockchain (move all native tokens out)\nSweep dust/small balances from wallets\nTransfer 100% of their balance with zero remainder\nEmpty a wallet completely\nConsolidate funds from multiple chains\nTrigger Phrases\n\"exit this chain completely\"\n\"transfer all my balance from [chain]\"\n\"sweep my dust\"\n\"empty this wallet\"\n\"move everything to [chain]\"\n\"leave zero balance\"\nSupported Chains (25 EIP-7702 Compatible)\nChain\tID\tNative Token\nEthereum\t1\tETH\nBSC\t56\tBNB\nBase\t8453\tETH\nArbitrum\t42161\tETH\nOptimism\t10\tETH\nPolygon\t137\tPOL\nGnosis\t100\tXDAI\nScroll\t534352\tETH\nZora\t7777777\tETH\nMode\t34443\tETH\nMantle\t5000\tMNT\nCelo\t42220\tCELO\nFraxtal\t252\tFRAX\nUnichain\t130\tETH\nWorld Chain\t480\tETH\nBerachain\t80094\tBERA\nInk\t57073\tETH\nPlasma\t9745\tXPL\nBOB\t60808\tETH\nStory\t1514\tIP\nSuperseed\t5330\tETH\nSei\t1329\tSEI\nSonic\t146\tS\nSoneium\t1868\tETH\nX Layer\t196\tOKB\n\nNote: Chains like Avalanche, Blast, Linea, and Apechain do NOT support EIP-7702 and cannot be swept.\n\nAPI Base URL\nhttps://zerodust-backend-production.up.railway.app\n\nStep 1: Register for API Key (One-Time)\ncurl -X POST https://zerodust-backend-production.up.railway.app/agent/register \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"name\": \"My OpenClaw Agent\",\n    \"agentId\": \"openclaw-unique-id\"\n  }'\n\n\nResponse:\n\n{\n  \"apiKey\": \"zd_abc123...\",\n  \"keyPrefix\": \"zd_abc12\",\n  \"keyId\": \"uuid\",\n  \"keyType\": \"agent\",\n  \"rateLimits\": { \"perMinute\": 300, \"daily\": 1000 },\n  \"message\": \"IMPORTANT: Save your API key now - it will not be shown again!\"\n}\n\n\nStore apiKey as the ZERODUST_API_KEY environment variable.\n\nStep 2: Get Quote\n\nCheck the user's balance and fees before sweeping:\n\ncurl \"https://zerodust-backend-production.up.railway.app/quote?userAddress=0xUSER&fromChainId=42161&toChainId=8453&destination=0xDEST\"\n\n\nResponse:\n\n{\n  \"quoteId\": \"uuid\",\n  \"fromChainId\": 42161,\n  \"toChainId\": 8453,\n  \"userAddress\": \"0x...\",\n  \"destination\": \"0x...\",\n  \"balance\": \"500000000000000\",\n  \"balanceFormatted\": \"0.0005\",\n  \"estimatedReceive\": \"485000000000000\",\n  \"estimatedReceiveFormatted\": \"0.000485\",\n  \"totalFeeWei\": \"15000000000000\",\n  \"serviceFeeWei\": \"5000000000000\",\n  \"gasFeeWei\": \"10000000000000\",\n  \"expiresAt\": \"2026-02-04T16:00:00Z\"\n}\n\nStep 3: Get Authorization Data\n\nGet the EIP-712 typed data for signing:\n\ncurl -X POST https://zerodust-backend-production.up.railway.app/authorization \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"quoteId\": \"uuid-from-quote\"}'\n\n\nResponse contains typedData (EIP-712 for sweep) and eip7702 (delegation parameters).\n\nStep 4: User Signs Messages\n\nThe user must sign:\n\nEIP-7702 delegation authorization - Delegates their EOA to ZeroDust contract\nEIP-7702 revoke authorization - Pre-signed revocation (executed after sweep)\nEIP-712 sweep intent - Authorizes the specific sweep parameters\nStep 5: Submit Sweep\ncurl -X POST https://zerodust-backend-production.up.railway.app/sweep \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"quoteId\": \"uuid\",\n    \"delegationSignature\": \"0x...\",\n    \"revokeSignature\": \"0x...\",\n    \"sweepSignature\": \"0x...\"\n  }'\n\n\nResponse:\n\n{\n  \"sweepId\": \"uuid\",\n  \"status\": \"pending\",\n  \"txHash\": null\n}\n\n\nPoll GET /sweep/{sweepId} for status updates until status: \"completed\".\n\nConvenience Endpoint: Combined Quote + Auth\n\nFor agents, use this single endpoint to get quote and auth data together:\n\ncurl -X POST https://zerodust-backend-production.up.railway.app/agent/sweep \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $ZERODUST_API_KEY\" \\\n  -d '{\n    \"fromChainId\": 42161,\n    \"toChainId\": 8453,\n    \"userAddress\": \"0x...\",\n    \"destination\": \"0x...\"\n  }'\n\nBatch Sweeps (Multiple Chains)\n\nSweep from multiple chains in one request:\n\ncurl -X POST https://zerodust-backend-production.up.railway.app/agent/batch-sweep \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-API-Key: $ZERODUST_API_KEY\" \\\n  -d '{\n    \"sweeps\": [\n      {\"fromChainId\": 42161},\n      {\"fromChainId\": 10},\n      {\"fromChainId\": 137}\n    ],\n    \"destination\": \"0x...\",\n    \"consolidateToChainId\": 8453\n  }'\n\nFees\nService fee: 1% of balance (min $0.05, max $0.50)\nGas costs: Paid by ZeroDust, reimbursed from sweep amount\nUser receives: ~97-99% of balance (varies by gas prices)\nRate Limits\nAgent keys: 300 requests/minute, 1000 sweeps/day\nContact ZeroDust for higher limits\nError Codes\nError\tMeaning\nBALANCE_TOO_LOW\tBalance below minimum (~$0.10)\nQUOTE_EXPIRED\tQuote older than 5 minutes\nCHAIN_NOT_SUPPORTED\tChain doesn't support EIP-7702\nINVALID_SIGNATURE\tSignature verification failed\nRATE_LIMIT_EXCEEDED\tDaily or per-minute limit hit\nExample Agent Conversation\n\nUser: \"I want to move all my ETH from Arbitrum to Base\"\n\nAgent:\n\nCall /quote to check balance and fees\nShow 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?\"\nIf yes, call /authorization to get typed data\nRequest wallet signatures (EIP-7702 delegation, revoke, and EIP-712 sweep)\nSubmit to /sweep with signatures\nPoll status until complete\nConfirm: \"Done! Your Arbitrum balance is now exactly 0. 0.00494 ETH received on Base.\"\nImportant Notes\n\nEIP-7702 Required: User's wallet must support EIP-7702. Most modern wallets do as of 2026.\n\nSignatures Required: Sweeps require user wallet signatures. ZeroDust never has custody.\n\nZero Balance Result: After sweep, source chain balance is EXACTLY zero.\n\nCross-Chain: Sweeps can go to any supported destination chain via Gas.zip bridging.\n\nNot All EVM Chains: Only the 25 chains listed above support EIP-7702. Do not attempt sweeps on unsupported chains."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/zerodustxyz/zerodust-chain-exit",
    "publisherUrl": "https://clawhub.ai/zerodustxyz/zerodust-chain-exit",
    "owner": "zerodustxyz",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/zerodust-chain-exit",
    "downloadUrl": "https://openagent3.xyz/downloads/zerodust-chain-exit",
    "agentUrl": "https://openagent3.xyz/skills/zerodust-chain-exit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/zerodust-chain-exit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/zerodust-chain-exit/agent.md"
  }
}