Skip to main content
Glama

Blackpool

Pay anyone. Show no one. Zero-knowledge privacy pools on four chains, no custody, relayer pays the gas.

blackpool.cash · X @intheblackpool

IMPORTANT

Our only X account is@intheblackpool. The only Blackpool token contract is 0xB6F2e3D5f9F1BFb0363f3aECEC26B5B9bdbeEdC1 on Robinhood Chain: blackpool.cash/token.

build npm License: MIT chains contracts app MCP server

Shield an asset once. Send, swap and bridge it privately after that, from a web app, a CLI or an MCP server for AI agents, with no account, no custody and no trail back to your wallet.

Blackpool is a set of zero-knowledge privacy pools on EVM chains. Every pool is a Poseidon Merkle tree of encrypted notes; spending a note means proving in zero knowledge (Groth16) that you own a leaf without saying which one. A relayer submits the transaction and pays the gas, so your wallet never appears on-chain again after the deposit.

  wallet ──sign once──► account keys (derived from the signature)
                              │
                              ▼
         ┌────────────── private balance (notes in a pool) ──────────────┐
         │                        │                        │             │
    private send            same-chain swap          private bridge    recover
  (any EVM address)     (ETH ⇄ stablecoin via DEX)   (NEAR Intents)   (from signature)
         │                        │                        │
         └──────────── relayer submits, pays gas ──────────┘

The relayer sees a proof and an encrypted payload. It cannot link a withdrawal to a deposit, cannot spend notes and cannot decrypt anything: the AES key for recovery data is keccak256(signature) and the backend only ever learns a one-way derived identifier.

Networks

Chain

Pools

Status

Robinhood Chain (4663)

ETH · USDG

live

Base (8453)

ETH · USDC

live

Arbitrum One (42161)

ETH · USDC

live

BNB Smart Chain (56)

BNB · USDC · USDT

live

Pool proxies (UUPS; the admin can upgrade and pause, nothing else). Admin on every chain: the 2-of-3 Safe 0x401027251176A8AFec701fE37412edeC45ec6FdB:

Admin on every chain: 0xB1aCad20c0D0F6dA98841b09369eFAe46FdD8126. Several addresses repeat across chains (same deployer, same nonce) while being different contracts: always read an address with its chain.

Implementations, verifiers, hashers and deploy blocks for every chain are in deploy/ADDRESSES.md. The running API reports the pools it serves at GET https://api.blackpool.cash/api/health.

Related MCP server: Zcash MCP Server

Using it

Web app. blackpool.cash/app: connect a wallet, sign once, shield. blackpool.cash/recover recovers anything that got stuck mid-flow from the same signature, on any device.

CLI. @blackpool/cli drives the same API from a terminal, for scripts and agents:

npm i -g @blackpool/cli                           # or: npx @blackpool/cli help
blackpool login                                   # key via hidden prompt (or BLACKPOOL_KEY for agents/CI)
blackpool balance --chain robinhood
blackpool deposit 0.5 --chain robinhood           # shield
blackpool send 0x… 0.1 --chain robinhood          # private send, no gas from you
blackpool send 0x… max --chain all                # send every private balance to one address
blackpool bridge sol_usdc <solana address> 0.1 --from hood_eth
blackpool recover --chain all                     # sweep anything stranded, idempotent

The CLI keeps the key you give it and the cached sign-in signature in ~/.blackpool/ (mode 600). BLACKPOOL_KEY skips the interactive login for agents and CI.

MCP server

Blackpool ships a Model Context Protocol server, so AI agents in any MCP client (Cursor, VS Code, desktop chat apps and more) can shield, send, swap and bridge privately as tool calls. It is listed in the official MCP Registry as cash.blackpool/blackpool.

blackpool MCP server – quality and maintenance score on Glama

Local server (stdio), implemented in cli/bin/mcp.js. Proofs are built on the machine that runs it and the key never leaves it:

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

Tool

What it does

blackpool_address

Address of the agent wallet

read-only

blackpool_balance

Private and public balances, per pool or every chain

read-only

blackpool_deposit

Shield funds from the agent wallet into a private pool

writes

blackpool_send

Pay any EVM address privately (max sends the whole balance)

writes

blackpool_swap

Private same-chain swap between the native coin and the stablecoin

writes

blackpool_bridge

Private cross-chain transfer via NEAR Intents

writes

blackpool_bridges

Every bridge of this account with its status

read-only

blackpool_assets

Bridge destinations and valid origins

read-only

blackpool_recover

Sweep anything stranded on one-time burners back into the private balance

idempotent

BLACKPOOL_MCP_TOOLS=balance,send limits the tools, BLACKPOOL_MCP_READONLY=1 exposes only the read-only ones. The server starts and answers initialize and tools/list without a key; tools that move funds need BLACKPOOL_KEY.

Hosted server (Streamable HTTP), read-only, no key: https://mcp.blackpool.cash/mcp, with blackpool_assets, blackpool_bridge_quote, blackpool_fees, blackpool_analytics, blackpool_status and blackpool_guide.

Full agent guide: AGENTS.md.

How it works

  • Sign-in. The wallet signs one fixed message. keccak256(sig) becomes the encryption key, its hash the UTXO spending key; the same wallet reproduces the same account anywhere. Keys, note scanning and Groth16 proofs are computed on the user's device (web worker in the app, Node in the CLI, cli/lib/zk.js); the relayer API receives finished proofs only and never the signature.

  • Shield. A deposit inserts a commitment Poseidon(amount, pubkey, blinding) into the pool's tree. The amount is free-form: no fixed denominations.

  • Spend. A 2-in / 2-out Groth16 circuit (circuits/) proves ownership of the inputs, correctness of the outputs and that the nullifiers are fresh. The relayer verifies the proof on-chain through Verifier2.

  • Swap. Same-chain swaps withdraw to a one-time burner wallet, swap on the chain's DEX, and re-shield. Burner keys are registered encrypted (client-side AES-GCM) so a stalled swap is recoverable from any device.

  • Bridge. Cross-chain transfers withdraw privately to a NEAR Intents (1Click) solver deposit address; the solver delivers on the destination chain. Refunds go back to the burner, which recovery re-shields.

The protocol reference lives at blackpool.cash/docs; the roadmap in ROADMAP.md.

Repository

circuits/     circom circuit (transaction2) + build artifacts
contracts/    EtherPool / ERCPool, MerkleTreeWithHistory, Verifier2, per-chain variants
src/          keypair, UTXO, proving, encryption, registry-auth derivation
scripts/      deploy + upgrade scripts, hasher/verifier generation
cli/          @blackpool/cli
frontend/     Next.js static app (blackpool.cash)
deploy/       the address book (ADDRESSES.md)
test/         hardhat test-suite (149 tests)

Development

npm ci && npm ci --prefix cli
npm run compile          # Hardhat 3 build + Poseidon hasher bytecode
npm run validate:upgrades # OpenZeppelin upgrade-safety checks on every pool contract
npm test                 # 150 tests, ~2 min (proves real Groth16 proofs)
node scripts/zkParity.js # client-side prover (cli/lib/zk.js) against the reference implementation

Contracts build with Hardhat 3 (hardhat.config.ts, solc 0.8.24, optimizer 200, EVM paris); the runtime bytecode is identical to the deployed implementations. Deploy a pool with scripts/deployPool.mjs and prepare an upgrade with scripts/prepareUpgrade.mjs (both npx hardhat run --network <chain> …, DEPLOYER_KEY in the environment). Pools are administered by a Safe: an upgrade deploys the new implementation and writes a Safe Transaction Builder file under deploy/safe/ with the upgradeToAndCall, which the Safe owners sign.

The relayer API and indexer are operated by Blackpool and are not part of this repository; the frontend and CLI talk to https://api.blackpool.cash. The frontend is a static export: cd frontend && npm run build.

Security

Non-custodial by construction: no server ever holds a key that can spend a note or decrypt recovery data. The relayer refuses anything that is not a fee-paying withdraw with a known root and unspent nullifiers, and simulates every transaction before broadcasting it.

Found something? Please read SECURITY.md and write to hello@blackpool.cash rather than opening a public issue.

Contributing

Issues and pull requests are welcome; see CONTRIBUTING.md. The cryptographic core (circuit, tree, note format, sign-in message) is frozen — changes there need a migration plan, not a PR.

License

MIT. See LICENSE.

Available Tools

9 tools
blackpool_addressWallet addressA
Read-onlyIdempotent
Inspect

Address of the agent wallet. Fund it with the asset to shield plus a little native gas for deposits.

Inputs: no named parameters.

blackpool_assetsBridge assetsA
Read-onlyIdempotent
Inspect

List what the private bridge can deliver and which private pools can fund a bridge. Returns {assets: {KEY: {chain, symbol, decimals, isNative}}, origins: [...]} where origins are pool keys such as base_eth, hood_usdg or bsc_usdt. Use an assets KEY as dest_asset and an origins entry as from in blackpool_bridge. Read-only; needs no key and no gas.

Inputs: no named parameters.

blackpool_balanceBalancesA
Read-onlyIdempotent
Inspect

Read the agent wallet's private (shielded) and public balances. Without pool: both pools of the chain (native coin and stablecoin) with their note (UTXO) counts; chain "all" covers every chain. With pool: that one private pool only. Read-only; needs BLACKPOOL_KEY. Use wait=true right after a deposit or send, when the private balance may still read 0. Returns {balances: [{chain, address, private: {SYMBOL: {balance, utxos}}, public: {SYMBOL: balance}}]}, or with pool {chain, pool, balance, symbol, utxos}.

Inputs: pool, wait, chain.

blackpool_bridgePrivate bridgeA
Destructive
Inspect

Private cross-chain transfer via NEAR Intents. from = origin private pool (base_eth, base_usdc, hood_eth, hood_usdg, arb_eth, arb_usdc, bsc_bnb, bsc_usdc, bsc_usdt); dest_asset from blackpool_assets; recipient is EVM 0x… or a Solana address for sol_*. Returns once submitted unless wait=true.

Inputs: from (required), amount (required), recipient (required), dest_asset (required), +1 more.

blackpool_bridgesBridge historyA
Read-onlyIdempotent
Inspect

Every bridge of this account with status (PENDING_DEPOSIT, PROCESSING, SUCCESS, REFUNDED, FAILED) and refund address.

Inputs: no named parameters.

blackpool_depositShield (deposit)A
Destructive
Inspect

Shield public funds from the agent wallet into the private pool. Signs and pays gas from the agent wallet. Takes 30-90 s. Do not retry after a timeout without checking blackpool_balance.

Inputs: amount (required), pool, chain.

blackpool_recoverRecoverA
Idempotent
Inspect

Find the one-time burner wallets from earlier private swaps and bridges that still hold funds (for example after an interrupted swap) and sweep them to the agent wallet, or to the address in to. Idempotent and safe to run any time: empty burners are skipped and amounts too small to cover gas are reported as dust. Needs BLACKPOOL_KEY. Returns {recovered: [{chain, to, swept, dust, errors}]}.

Inputs: to, chain.

blackpool_sendPrivate sendA
Destructive
Inspect

Pay any EVM address privately from the private balance. The relayer pays gas; the recipient receives amount minus the fee (flat + 0.35%). amount "max" sends the whole balance of the pool (or of every pool when pool is omitted), splitting across several sends when needed and leaving dust untouched. Takes 30-90 s per send. Never retry after a timeout without checking blackpool_balance.

Inputs: amount (required), recipient (required), pool, chain.

blackpool_swapPrivate swapA
Destructive
Inspect

Private same-chain swap between the native pool and the stablecoin pool; output is re-shielded. If it stops half-way, run blackpool_recover.

Inputs: from (required), amount (required), chain, slippage_bps.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 9 tools

    Disambiguation4/5

    Each tool maps to a distinct operation: address, balance, assets, deposit, send, swap, bridge, bridges, recover. The only mild overlap is blackpool_bridge (single action) vs blackpool_bridges (listing history), which the plural/singular distinction makes reasonably clear.

    Naming Consistency4/5

    All tools use a consistent blackpool_ prefix with a short lowercase noun/verb (deposit, send, swap, bridge, balance, assets, recover, address). The one weak spot is the singular/plural pair bridge/bridges, which is subtle but still predictable.

    Tool Count5/5

    Nine tools is well scoped for a private-bridge wallet: one per lifecycle step (address, assets, balance, deposit, send, swap, bridge, bridge history, recover) with no filler tools.

    Completeness4/5

    The surface covers the full private-transfer lifecycle from funding the wallet through shielding, sending, swapping, bridging, and recovering stranded burner funds, plus read-only state via balance and assets. Minor gaps: no explicit withdrawal/unshield back to public, no bridge status lookup for a single bridge ID, and no key/configuration management.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers