Zerodust

io.github.zerodustxyz由 GitHub 帳號 zerodustxyz 發布v0.1.1更新於 Oct 27, 2026

Sweep native gas tokens to exactly zero across 25+ EVM chains via AI agents.

已驗證STDIO僅桌面金融開發者工具

概覽

AI 產生的概覽

ZeroDust 的本機 MCP 伺服器,讓 AI 助理把錢包在 EVM 鏈上的原生 gas 餘額清空到剛好為零。

可以做什麼
  • 在支援的 EVM 鏈上把錢包原生 gas 代幣清空到剛好 0 wei
  • 把清空所得送到同鏈地址,或跨鏈橋接到其他鏈
  • 取得清空報價,包含費用、支援的鏈與目的鏈選項
  • 透過 stdio 在本機執行,使用自己的 API 金鑰呼叫 ZeroDust 公開 API
適用情境
當你希望助理協助清空某條 EVM 鏈上錢包剩下的原生 gas,轉到同鏈地址或橋接到其他鏈,並且願意簽署清空意圖時適用。廠商說明代理相關套件在 npm 上已暫停並棄用,使用前請先確認目前是否可用。
執行需求
以本機程序透過 stdio 執行,從 npm 套件 @zerodust/mcp-server 安裝,需要 Node.js 執行環境。需要 ZeroDust API 金鑰,透過環境變數 ZERODUST_API_KEY 提供;可用 ZERODUST_API_URL 覆寫預設 API 位址。需要連線到 ZeroDust API 及相關區塊鏈網路。
安裝前請注意
此伺服器會移動真實資金:清空操作會轉走錢包全部原生餘額且無法復原。會產生費用(清空金額的 1%,最低 0.05 美元、最高 0.50 美元;低於 1 美元的餘額收 5%),另加 gas 費與跨鏈橋費用。清空涉及 EIP-7702 委派與簽章意圖,README 說明合約未經外部稽核。API 金鑰屬於機密;代理相關套件被描述為已暫停並棄用。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Zerodust,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ZeroDust

Empty a wallet's native gas balance on an EVM chain to exactly 0.

A normal transfer cannot send a whole native balance, because paying for the transfer uses the token being sent. ZeroDust sends all of it, to any address on the same chain or bridged to another chain, and the wallet ends at exactly 0 wei. Live at zerodust.xyz, with an API at https://api.zerodust.xyz and developer docs at zerodust.xyz/docs.

This repository holds the contracts, the TypeScript SDK and the agent packages.

How it works

  • Sponsored chains (EIP-7702): the wallet signs a SweepIntent and two EIP-7702 authorizations (one delegating to the ZeroDust contract, one removing it afterwards). A ZeroDust sponsor executes the sweep and pays the gas, reimbursed from the swept balance. The contract runs as the wallet and reverts unless the balance ends at exactly 0.
  • MetaMask without a key: MetaMask's Advanced Permissions (ERC-7715) grant ZeroDustPermissionRouter a one-time allowance per chain; one EIP-712 signature covers every chain. The router redeems it, requires exactly 0, and settles like the contract. 16 chains.
  • Direct chains (no EIP-7702): the wallet sends its own legacy transactions, sized to the wei by the API's planner (22 chains). On OP-stack chains with an L1 data fee it goes through ZeroDustGuard; on ZK-stack chains a ZeroDust paymaster pays the gas.
  • What arrives: the destination's native gas, carried by Relay, Across (ETH to ETH), Stargate or Gas.zip, whichever delivers the most. A few chains whose coin no gas bridge carries deliver it as a token instead (Mitosis, Endurance, Intuition, Telos, 0G), said plainly in the quote. On request a sweep can also go into the chain's own bridge to Ethereum (to BNB Chain for opBNB), which the recipient proves and claims there later; Gravity's G and Fraxtal's FRAX arrive on Ethereum as the G and FXS tokens.

For AI agents (paused)

The agent packages (@zerodust/mcp-server, @zerodust/ai-sdk, @zerodust/langchain) are paused and deprecated on npm, and the hosted MCP endpoint and agent key signup are switched off. The local MCP server and the SDK still sweep through the public API with your own key; keys issued before keep their rate limits. To sweep, use zerodust.xyz.

PackageUse
@zerodust/sdkTypeScript client and agent (createAgentFromPrivateKey); the website uses it
@zerodust/mcp-serverMCP server, run locally (paused)
@zerodust/langchainLangChain tools (paused)
@zerodust/ai-sdkVercel AI SDK tools (paused)

Contracts

ContractAddress (same on every chain, CREATE2)Where
ZeroDustSweep (contracts/src/ZeroDustSweepMainnet.sol)0x3732398281d0606aCB7EC1D490dFB0591BE4c4f2the 55 sponsored chains below
ZeroDustPermissionRouter v2 (contracts/src/ZeroDustPermissionRouter.sol)0x369A97dd256F7eb37fF7116C4EcBd50318eBb28616 chains with MetaMask Advanced Permissions
ZeroDustGuard (contracts/src/ZeroDustGuard.yul)0x2f95e6ED90a7dD67fc3Fae5c5628647E6A83e48eBlast, Boba
ZeroDustPaymaster (contracts-zk/)0x986e4Bb55AEEE6a8c80c28Ca787b13E216fD25B8zkSync Era, Abstract, Lens

All are immutable: no admin functions, no upgrades, no pause (the paymaster's owner can only change its approver and withdraw its float). The sweep contract's sponsor address is fixed in its bytecode.

Supported chains

55 sponsored chains, generated from the live API (GET https://api.zerodust.xyz/chains):

ChainIDTokenChainIDToken
Ethereum1ETHArc5042USDC
Optimism10ETHKaia8217KAIA
BNB Chain56BNBBase8453ETH
Gnosis100xDAIPlasma9745XPL
Unichain130ETH0G166610G
Polygon137POLApechain33139APE
Sonic146SMode34443ETH
Manta Pacific169ETHMythos42018ETH
X Layer196OKBArbitrum42161ETH
Fraxtal252FRAXArbitrum Nova42170ETH
Shape360ETHCelo42220CELO
World Chain480ETHHemi43111ETH
Endurance648ACEZircuit48900ETH
Stable988gUSDTInk57073ETH
Intuition1155TRUSTLinea59144ETH
Sei1329SEIBOB60808ETH
DATA Network1514DATABerachain80094BERA
Pharos1672PROSCodex81224ETH
Reya1729ETHDoma97477ETH
Metal L21750ETHPlume98866PLUME
Soneium1868ETHMitosis124816MITO
Ronin2020RONTaiko167000ETH
Morph2818ETHHPP190415ETH
RISE4153ETHScroll534352ETH
MegaETH4326ETHGensyn685689ETH
Robinhood Chain4663ETHKatana747474ETH
Mantle5000MNTZora7777777ETH
Somnia5031SOMI

Regenerate or check this table with node scripts/generate-chain-docs.mjs (--check runs in CI); do not hand-edit it. The 20 direct chains are listed by GET https://api.zerodust.xyz/direct/chains: Flare, Cronos, Rootstock, Telos, XDC, Fuse, Monad, opBNB, Lens, Boba, zkSync Era, Flow EVM, HyperEVM, Metis, Vana, Abstract, Immutable zkEVM, Etherlink, Avalanche and Ethereal. Destinations are any EVM chain a bridge delivers native gas to (GET /destinations?fromChainId=), over 100 from Base.

Fees

1% of the swept value, at least $0.05 and at most $0.50; balances under $1 pay 5%, with no minimum. On top: the sweep's gas (and the L1 data fee on rollups) and, cross-chain, the bridge's fee. The signed maxTotalFeeWei caps what can be taken, so a gas spike cannot exceed what you agreed to.

Security

  • No custody: every sweep is one atomic transaction from the wallet itself.
  • The signed intent caps the fee and names the destination; for a bridge route routeHash (keccak256(callData)) binds the signature to that exact call.
  • Every sponsored transaction is simulated before it is sent.
  • ERC-7201 namespaced storage, so the contract's nonce never collides with another EIP-7702 app.
  • Internal security review, 7 rounds, 16 issues found and fixed; contract tests drive a real EIP-7702 delegation and are mutation-verified. Not externally audited, and no audit is currently funded. Details: contracts/SECURITY.md, contracts/SECURITY_REPORT.md.

Layout

contracts/      Foundry: ZeroDustSweepMainnet.sol, ZeroDustPermissionRouter.sol, ZeroDustGuard.yul,                tests, deploy scripts and broadcasts (README, SPECIFICATION, DEPLOYMENT, SECURITY)contracts-zk/   ZeroDustPaymaster for ZK-stack chains (Hardhat + zksolc)sdk/            @zerodust/sdkpackages/       @zerodust/mcp-server, @zerodust/ai-sdk, @zerodust/langchainskills/         an agent skill for ZeroDustscripts/        generate-chain-docs.mjs

License

MIT, see LICENSE.

來源:README.md,提交 1736e8a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分