Listed from the MCP registry; nobody on Odel publishes it.
Deprecated. Deprecated by the publisher: Moved to io.github.andresdefi/zerodust - same npm package (@zerodust/mcp-server), now v0.2.0 with sweep execution tools.
Sweep native gas tokens to exactly zero across 25+ EVM chains via AI agents.
Runs on your machine from its package; the steps are below.
Not assessed yet.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @zerodust/mcp-server
MCP client config
{
"mcpServers": {
"zerodust": {
"command": "npx",
"args": [
"-y",
"@zerodust/mcp-server"
]
}
}
}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.
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.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.ZeroDustGuard; on ZK-stack chains a ZeroDust paymaster pays the gas.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.
| Package | Use |
|---|---|
@zerodust/sdk | TypeScript client and agent (createAgentFromPrivateKey); the website uses it |
@zerodust/mcp-server | MCP server, run locally (paused) |
@zerodust/langchain | LangChain tools (paused) |
@zerodust/ai-sdk | Vercel AI SDK tools (paused) |
| Contract | Address (same on every chain, CREATE2) | Where |
|---|---|---|
ZeroDustSweep (contracts/src/ZeroDustSweepMainnet.sol) | 0x3732398281d0606aCB7EC1D490dFB0591BE4c4f2 | the 55 sponsored chains below |
ZeroDustPermissionRouter v2 (contracts/src/ZeroDustPermissionRouter.sol) | 0x369A97dd256F7eb37fF7116C4EcBd50318eBb286 | 16 chains with MetaMask Advanced Permissions |
ZeroDustGuard (contracts/src/ZeroDustGuard.yul) | 0x2f95e6ED90a7dD67fc3Fae5c5628647E6A83e48e | Blast, Boba |
ZeroDustPaymaster (contracts-zk/) | 0x986e4Bb55AEEE6a8c80c28Ca787b13E216fD25B8 | zkSync 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.
55 sponsored chains, generated from the live API (GET https://api.zerodust.xyz/chains):
| Chain | ID | Token | Chain | ID | Token |
|---|---|---|---|---|---|
| Ethereum | 1 | ETH | Arc | 5042 | USDC |
| Optimism | 10 | ETH | Kaia | 8217 | KAIA |
| BNB Chain | 56 | BNB | Base | 8453 | ETH |
| Gnosis | 100 | xDAI | Plasma | 9745 | XPL |
| Unichain | 130 | ETH | 0G | 16661 | 0G |
| Polygon | 137 | POL | Apechain | 33139 | APE |
| Sonic | 146 | S | Mode | 34443 | ETH |
| Manta Pacific | 169 | ETH | Mythos | 42018 | ETH |
| X Layer | 196 | OKB | Arbitrum | 42161 | ETH |
| Fraxtal | 252 | FRAX | Arbitrum Nova | 42170 | ETH |
| Shape | 360 | ETH | Celo | 42220 | CELO |
| World Chain | 480 | ETH | Hemi | 43111 | ETH |
| Endurance | 648 | ACE | Zircuit | 48900 | ETH |
| Stable | 988 | gUSDT | Ink | 57073 | ETH |
| Intuition | 1155 | TRUST | Linea | 59144 | ETH |
| Sei | 1329 | SEI | BOB | 60808 | ETH |
| DATA Network | 1514 | DATA | Berachain | 80094 | BERA |
| Pharos | 1672 | PROS | Codex | 81224 | ETH |
| Reya | 1729 | ETH | Doma | 97477 | ETH |
| Metal L2 | 1750 | ETH | Plume | 98866 | PLUME |
| Soneium | 1868 | ETH | Mitosis | 124816 | MITO |
| Ronin | 2020 | RON | Taiko | 167000 | ETH |
| Morph | 2818 | ETH | HPP | 190415 | ETH |
| RISE | 4153 | ETH | Scroll | 534352 | ETH |
| MegaETH | 4326 | ETH | Gensyn | 685689 | ETH |
| Robinhood Chain | 4663 | ETH | Katana | 747474 | ETH |
| Mantle | 5000 | MNT | Zora | 7777777 | ETH |
| Somnia | 5031 | SOMI |
Regenerate or check this table with node scripts/generate-chain-docs.mjs (--check runs in CI); do
not hand-edit it. The 19 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 and Avalanche. Destinations are
any EVM chain a bridge delivers native gas to (GET /destinations?fromChainId=), over 100 from Base.
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.
routeHash
(keccak256(callData)) binds the signature to that exact call.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/sdk
packages/ @zerodust/mcp-server, @zerodust/ai-sdk, @zerodust/langchain
skills/ an agent skill for ZeroDust
scripts/ generate-chain-docs.mjs
MIT, see LICENSE.