Blackpool

cash.blackpool由 blackpool.cash 发布官方发布者v0.4.4更新于 Nov 6, 2026

Private payments for agents: shield, send, swap and bridge via ZK privacy pools on 4 EVM chains.

已验证Streamable HTTP可网页运行金融安全与监控

概览

AI 生成的概览

Blackpool 让助手查询 ZK 隐私池的只读信息,并可通过本地服务器执行屏蔽、转账、兑换和跨链桥接等私密支付操作。

可以做什么
  • 查询中继服务健康状态、已配置的池以及各链的中继 gas
  • 读取每个池的固定费用、费率、最低存入额和最低支出额
  • 列出跨链桥的目标资产与可用来源池,并获取指示性报价
  • 查看各链各池的屏蔽票据数量、近期屏蔽记录和确切中继费用
  • 阅读代理指南,了解如何用 CLI 或本地服务器进行私密支付
  • 使用本地服务器时,可在 Base、Robinhood Chain、Arbitrum 和 BSC 上屏蔽、转账、兑换和跨链桥接资金
适用场景
当助手只需查询池状态、费用、跨链资产和报价时,使用托管只读端点即可。当代理需要真正私密地转移资金时,应运行本地服务器,因为钱包私钥只留在本机。
运行要求
可使用托管只读端点,或通过 npx @blackpool/cli 在本地运行。本地服务器需要 Node.js,以及通过 BLACKPOOL_KEY 提供的专用代理钱包私钥(或交互式登录后保存的钱包)。可选 BLACKPOOL_MCP_READONLY 和 BLACKPOOL_MCP_TOOLS 用于限制暴露的工具。需要访问 Blackpool API 和各链 RPC 的网络连接,并会下载一次证明密钥。
安装前请注意
本地服务器会处理真实钱包私钥并可转移资金:屏蔽、转账、兑换和跨链桥接都会花钱,存入还需支付 gas。请使用专用代理钱包,绝不要用主钱包。私钥来自 BLACKPOOL_KEY 或保存在磁盘上,应放在密钥管理器中。可设置 BLACKPOOL_MCP_READONLY 或工具白名单以限制暴露范围。会产生协议费用,跨链桥接经由第三方求解器。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Blackpool,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/cash.blackpool%2Fblackpool/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "blackpool": {
      "type": "http",
      "url": "https://mcp.blackpool.cash/mcp"
    }
  }
}

README

@blackpool/cli

Private payments for onchain agents. One env var or one hidden prompt, then shield / send / swap / bridge with zero-knowledge privacy on Base, Robinhood Chain, Arbitrum, and BNB Smart Chain. Proofs are built on your machine, the same way the web app does it; the full agent guide is AGENTS.md.

Every command takes an optional --chain base|robinhood|arbitrum|bsc flag (default base). On Base and Arbitrum the stablecoin is USDC; on Robinhood it's USDG; on BSC the stablecoins are USDC and USDT (Binance-Peg, 18 decimals) and the native asset is BNB.

Install

bash
npm i -g @blackpool/cli# ornpx @blackpool/cli help

Setup

Two ways to provide your key, depending on who's running it.

Interactive (humans / local demo) - key never shown

bash
blackpool login#   private key: ●●●●●●●●●●   <- hidden input, like sudo password# ✓ wallet stored at ~/.blackpool/wallet.json (chmod 600)

The key is prompted with hidden input (no echo, never enters shell history), then stored locally at ~/.blackpool/wallet.json with chmod 600 (owner-only). It is never transmitted, and neither is the sign-in signature: keys and proofs are computed on your machine.

Env var (agents / CI) - no prompt

bash
export BLACKPOOL_KEY=0xyour_agent_private_keyblackpool login   # detects env var, skips the prompt, stores nothing to disk

Agents pull the key from their own secret manager / vault into BLACKPOOL_KEY. The CLI reads it directly and does not write it to disk.

Logout

bash
blackpool logout   # removes ~/.blackpool/wallet.json + config.json

Key resolution order: BLACKPOOL_KEY env var → ~/.blackpool/wallet.json → error.

Commands

bash
blackpool balance                            # private + public balances (both pools), Baseblackpool balance --chain robinhood          # balances on Robinhood (ETH + USDG)blackpool balance --chain arbitrum           # balances on Arbitrum (ETH + USDC)blackpool balance --chain bsc                # balances on BSC (BNB + USDC + USDT)blackpool balance --pool eth                 # just private ETHblackpool deposit 25 --pool usdc             # shield 25 USDC from public to private (Base)blackpool deposit 15 --pool usdg --chain robinhood  # shield 15 USDG on Robinhoodblackpool deposit 0.05 --pool bnb --chain bsc       # shield BNB (BSC native pool is 'bnb', not 'eth')blackpool send 0xRECIPIENT 2.5               # send 2.5 USDC privately (no gas from you)blackpool send 0xRECIPIENT 0.01 --pool eth   # send private ETHblackpool send 0xRECIPIENT 2.5 --chain robinhood    # send 2.5 USDG privately on Robinhoodblackpool send 0xRECIPIENT max --pool usdt --chain bsc  # send the whole private USDT balanceblackpool send 0xRECIPIENT max --chain all   # empty every private pool on every chain into one addressblackpool swap 0.001 --from eth              # private same-chain swap ETH -> USDC (Uniswap V3)blackpool swap 3 --from usdc                 # private same-chain swap USDC -> ETHblackpool swap max --from eth --chain arbitrum      # swap as much private ETH as one swap can moveblackpool bridge arb_usdc 0xRECIPIENT 2.5    # bridge cross-chain privately to Arbitrum (1Click)blackpool bridge bsc_usdt 0xRECIPIENT 5 --from bsc_usdc  # 1Click origin can be any shielded poolblackpool bridge base_eth 0xRECIPIENT max --from hood_eth  # bridge as much as one bridge can moveblackpool assets                             # list all supported bridge destinationsblackpool recover                            # sweep any stranded funds from one-time burnersblackpool recover --to 0xADDR                # sweep to a different destination

How it works

Each command follows the pattern AGENTS.md documents.

Login / balance / send / bridge - you sign once; the CLI scans your notes and builds the Groth16 proof locally (the 20 MB proving key is downloaded once to ~/.blackpool/zk/), then the relayer broadcasts it. You pay no gas. The relayer is compensated via the protocol fee (flat + 0.35% per withdraw / swap / bridge).

Deposit - your public wallet signs and broadcasts the shield tx (this is the only step where you pay gas, because the pool must see funds coming from a public address). For ERC-20 pools (USDC), an approve runs first; the CLI polls the on-chain allowance before broadcasting the deposit (same fix as the frontend for load-balanced RPC lag).

Swap same-chain - mirrors the frontend burner flow exactly:

  1. Create a fresh random burner wallet and register its key, encrypted with your signature, in the recovery registry before any funds move.
  2. Private withdraw from your pool → burner via /api/swap-private.
  3. For USDC origin: relayer tops up burner gas via /api/burner-gas.
  4. Burner approves + swaps on Uniswap V3 (SwapRouter02, 0.01% fee tier).
  5. WETH is unwrapped to ETH if ETH is the destination.
  6. Pre-flight eth_call simulation of the reshield (catches reverts cheap).
  7. Burner reshields the swapped output back to your private balance via /api/deposit/prepare.

If any step fails between (2) and (7), funds remain on the burner; its key is in the registry, encrypted so only your signature can read it. Run blackpool recover to sweep them home from any device.

Bridge cross-chain - private withdraw to a NEAR Intents 1Click solver via /api/swap, then poll /api/intent-status until SUCCESS (or REFUNDED, in which case the solver returns your funds automatically). No burner involved for bridges.

Recover - fetches every burner registered for your wallet, decrypts the keys locally, and sweeps stranded funds back to your public wallet (or --to <addr>). Handles the wallets swap may have left behind if a later step reverted. Uses Base-realistic gas params (0.05 gwei) so the burner's tiny ETH top-up is enough for the sweep tx.

Environment

  • BLACKPOOL_KEY - agent private key (0x-hex). Optional if you've run blackpool login.
  • BLACKPOOL_API - API base URL (default https://api.blackpool.cash).
  • BLACKPOOL_RPC / BLACKPOOL_BASE_RPC - Base RPC endpoint (default https://mainnet.base.org). Set to your own Alchemy / QuickNode URL for faster + more reliable gas estimation on the burner-heavy swap flow.
  • BLACKPOOL_ROBINHOOD_RPC - Robinhood Chain RPC endpoint (default https://rpc.mainnet.chain.robinhood.com), used when --chain robinhood.

Config files

  • ~/.blackpool/wallet.json - stored private key (chmod 600, only if you used blackpool login interactively).
  • ~/.blackpool/config.json - cached BLACKPOOL signatures per wallet (chmod 600).
  • ~/.blackpool/zk/ - public proving key files, verified against the published SHA-256.

Verified live on Base mainnet

Every command in this CLI has been exercised end-to-end against api.blackpool.cash with real on-chain transactions:

  • deposit → 0x7ae2dde7… (3 USDC shielded)
  • send → 0x2108ae58… (1.49125 USDC delivered privately, fee 1.00875)
  • swap → 0x1bd8d68d… (0.001 ETH → 1.170797 USDC private, full reshield)
  • bridge → 0xdfc495fa… (2.5 USDC Base → 1.484306 USDC delivered to Arbitrum)
  • recover → 1.9895 USDC swept back from a stranded burner

Cross-chain destinations

Run blackpool assets for the full live list. Currently: Base, Ethereum, BSC, Arbitrum - ETH / WETH / USDC / USDT / cbBTC / ARB / BNB depending on the chain.

Roadmap

  • @blackpool/sdk - TypeScript SDK for programmatic use inside an agent.
  • Mandate limits - human-signed spend cap per window (aligns with the "supervised agent" pattern).
  • Optional wallet encryption at rest - passphrase-protected wallet.json.

Support

Docs: docs.blackpool.cash/agents · Site: blackpool.cash

Agents

Run any command with --json (or BLACKPOOL_JSON=1) to get one JSON object on stdout and progress on stderr; exit codes are 0 ok, 1 failed, 2 usage. AGENTS.md (also at https://blackpool.cash/AGENTS.md) documents every command's fields, minimums, retry rules and security notes.

MCP

blackpool mcp runs a Model Context Protocol server over stdio, so agent apps can call Blackpool as tools:

json
{ "mcpServers": { "blackpool": { "command": "npx", "args": ["-y", "@blackpool/cli@latest", "mcp"], "env": { "BLACKPOOL_KEY": "0x..." } } } }

BLACKPOOL_MCP_TOOLS=balance,send limits the tools, BLACKPOOL_MCP_READONLY=1 exposes read-only ones. A hosted read-only server (status, fees, assets, quotes, analytics, guide) runs at https://mcp.blackpool.cash/mcp. Details: AGENTS.md §9.

来源:cli/README.md,提交 3d11a23

工具

6

blackpool_status

Service status

Relayer API health, configured pools and relayer gas per chain.

无需输入参数。

blackpool_fees

Fees and minimums

Flat fee, rate, minimum deposit and minimum spend for every pool.

无需输入参数。

blackpool_assets

Bridge assets

Bridge destination assets and valid origins.

无需输入参数。

blackpool_bridge_quote

Bridge quote

Indicative quote for a private bridge. from = origin pool (base_eth, base_usdc, hood_eth, hood_usdg, arb_eth, arb_usdc, bsc_bnb, bsc_usdc, bsc_usdt), to = destination asset (see blackpool_assets).

输入参数to必填from必填amount必填

blackpool_analytics

Protocol analytics

Shielded notes per chain and pool, recent shields and exact relayer fees (all public on-chain data).

无需输入参数。

blackpool_guide

Agent guide

AGENTS.md: how an agent makes private payments with the Blackpool CLI or the local MCP server. Optional section number or title, e.g. "4" or "Recipes".

输入参数section

版本历史

5
  1. v0.4.4最新Nov 6, 2026
  2. v0.4.3Nov 4, 2026
  3. v0.4.2Nov 3, 2026
  4. v0.4.1Nov 3, 2026
  5. v0.4.0Nov 3, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分