Get started with Peek-a-boo
Private payments on any EVM chain in under 5 minutes. Follow along step-by-step — from install to your first shielded transaction.
One command installs the entire protocol — SDK, chain adapters, x402 payments, MCP agent tools, and ZK cryptography. Everything you need.
SDK & Core, Bittensor adapter (chain 964), Railgun adapter (Ethereum, BSC, Polygon, Arbitrum), x402 shielded payments, MCP agent tools, Poseidon hashing & Groth16 proofs.
Create a privacy backend and initialize the SDK client. The adapter handles RPC connection, contract discovery, and Merkle tree synchronization.
Deposit tokens into the shielded pool. A Poseidon commitment is inserted into the on-chain Merkle tree. Your identity stays off-chain — only you hold the nullifier and secret needed to withdraw.
Your TAO enters the ShieldedPool contract. A commitment = Poseidon(nullifier, secret) is inserted into the Merkle tree. The deposit event is emitted, but nothing links it to your future withdrawal.
Transfer tokens to a recipient using a stealth address. The recipient gets a one-time ERC-5564 address — no public linkability between sender and receiver.
Check your balance inside the shielded pool. This is computed locally from your UTXO notes — never exposed on-chain.
When you're ready to exit the shielded pool, generate a Groth16 ZK proof and withdraw. The proof demonstrates you own funds in the pool without revealing which deposit was yours.
For AI Agents
Peek-a-boo exposes all privacy operations as MCP tools. Any MCP-compatible agent can call shield, transfer, and prove as native tool calls.
| Tool | Description |
|---|---|
pas_pay |
Send a shielded payment |
pas_receive |
Generate a stealth receive address |
pas_get_balance |
Query shielded balance |
pas_shield_funds |
Deposit into shielded pool |
pas_unshield_funds |
Withdraw from shielded pool |
pas_prove |
Generate a ZK proof |
HTTP-Native Payments with x402
Peek-a-boo supports the x402 payment protocol — private payments triggered by HTTP 402 responses. Your agent automatically handles payment negotiation.
API Keys for Agents
Your agents need an API key to interact with Peek-a-boo programmatically. API keys are tied to your wallet address and use Bearer authentication.
Go to app.peekaboo.finance and connect with MetaMask, Rabby, or any EVM wallet. Sign the SIWE message to authenticate.
Navigate to API Keys in the sidebar. Click Generate. Your key starts with pab_ — save it immediately, it won't be shown again.
GET /api/balance — Shielded balance
GET /api/transactions — Transaction history
POST /api/shield — Build shield transaction
POST /api/unshield — Build unshield transaction
POST /api/transfer — Build private transfer
All endpoints require Authorization: Bearer pab_...
You can generate multiple API keys (one per agent or environment). Revoke compromised keys instantly from the dashboard. Revoked keys stop working immediately.