CryptoSLIP PocketSlip
Latest: v0.1.2
Fix T09 cross-asset payout budget guard, pin exact @cryptoslip/mcp@1.0.2 version, and ship clean 2-file skill bundle.
CryptoSLIP PocketSlip Skill (@cryptoslip/mcp)
Give any autonomous agent bounded pocket funds on Base Mainnet (8453) using a single CryptoSLIP # URL — zero master wallet private key required.
Why PocketSlip Exists
- Zero Master Key Exposure (
V-01Boot Auto-Keep): Provision the MCP server withCRYPTOSLIP_URL="<YOUR_SLIP_URL>"(for example, a$5.00 USDCslip). On startup (bootAndRotate()), if the slip is unrotated (nonces == 0),PocketSlipVaultimmediately executes an on-chainKeep(0%protocol fee), rotatingclaimSignerto a fresh local key stored with0600file permissions. The original.envlink becomes invalid on-chain in under a second, capping worst-case prompt-injection exposure strictly to that single slip. - Deterministic Out-of-Context Firewall (
V-02BoundedAgentPolicy): Every signature passes throughBoundedAgentPolicyinside the Node.js signer boundary before signing:- Per-call spend cap (
maxPerCallUsdMicro, default$0.50in micro-API mode) - Sliding-window rate limits (
maxSpendsPerMinute,maxDailyUsdMicro) - Protocol & token contract destination denylist (
assertSafeDestination— blocks zero/burn addresses, token contracts, vaults, routers, and public test keys) - Optional recipient & domain allowlists (
allowedRecipients,allowedDomains) - Recursive output secret scrubber (
redactSecretsFromToolOutput) so raw claim secrets never enter LLM telemetry logs - Canonical Uniswap V4
NARALiquidityHookV5(0x07d8F2Dfd121B10dE3176DeAb6A8C0eaa2646aCC) enforcement for allNARAswaps
- Per-call spend cap (
- Serialized Spend Queue & Sub-Minimum Guard (
V-03): Concurrent spends serialize through per-slipSlipMutexwith pre-flight$0.10 USDC(100 satscbBTC /0.000001ETH or NARA) remainder checks onCryptoSlipVaultV32(v33:0x3f80aa68Fb4834d6E119EE1cf932C14419Cf63EB). - Self-Funded USDC Network Fees (
V-04): Headless agent calls default to CircleTokenPaymasterV08(0x0578cFB241215b77442a541325d6A4E6dFE700Ec) +Simple7702Account(0xe6Cae83BdE06E4c305530e199D7217f42808555B) so bots never consume human mobile relay quotas.
Quick Setup (Claude Code / OpenClaw / Cursor)
Create a $5.00 USDC slip at https://slip.naraprotocol.io (or https://cryptoslip.eth.limo) and pass it to the MCP server environment:
{
"mcpServers": {
"cryptoslip": {
"command": "npx",
"args": ["@cryptoslip/mcp@1.0.2"],
"env": {
"CRYPTOSLIP_URL": "<YOUR_SLIP_URL>",
"CRYPTOSLIP_MAX_PER_CALL_USD": "0.50",
"CRYPTOSLIP_MAX_DAILY_USD": "5.00",
"CRYPTOSLIP_MAX_SPENDS_PER_MIN": "3"
}
}
}
}
Or via Claude Code CLI (pinned to the Sigstore-verified 1.0.2 release):
claude mcp add cryptoslip -e CRYPTOSLIP_URL="<YOUR_SLIP_URL>" -- npx @cryptoslip/mcp@1.0.2
Available MCP Tools (7 Tools)
1. cryptoslip_status
Returns the active PocketSlipVault summary: slip ID, vault (v33 0x3f80aa68Fb4834d6E119EE1cf932C14419Cf63EB), asset, available balance, boot-rotation state, and active BoundedAgentPolicy limits. Zero secret keys or #k fragments are ever returned.
2. cryptoslip_pay_human
Creates or splits a 1-tap #startapp=slip_... payout link (or 12-char XXXX-XXXX-XXXX off-grid scrypt code) to pay a human contributor over Telegram (@cryptoslip_bot/SLIP), X DM, Discord, or SMS:
- Supports
noTakeBack: true(9_999_999_999timestamp) for instant irrevocable delivery, or revocable mode (noTakeBack: false) so the agent can reclaim funds viacryptoslip_reclaim_unclaimedif the recipient never claims. - Only emits an outbound
#link whenallowOutboundSlipLinkpolicy permits human payouts, and instructs the agent to deliver it strictly via private DM.
3. cryptoslip_batch_payout
Packs 1..500 partner or bounty payouts (USDC / cbBTC via offline EIP-3009 ReceiveWithAuthorization + MintPermit) into 1 Multicall3 transaction on Base (8453) with Base Builder Code bc_ea68lz8s, returning structured JSON or CSV # links while preserving creator = partnerWallet for 0.25% lifetime referral attribution.
4. cryptoslip_pay_x402_or_merchant
Pays an HTTP 402 API endpoint, withCryptoSlip() tollbooth, or merchant wallet (0x... or #startapp=pos_<address>) from the active PocketSlip via splitAndPay:
- Enforces
BoundedAgentPolicyspend cap, sliding-window rate limit, andassertSafeDestination. - Retains remaining change inside a rotated
1:1shielded child slip so the agent's balance stays private.
5. cryptoslip_verify_or_export_receipt
Verifies an inbound PaymentReceiptBundleV1 on Base Mainnet in a single RPC check (verifyPaymentReceiptOnChain), or exports a signed receipt bundle (JSON, CSV, or self-contained printable HTML) proving exact settlement.
6. cryptoslip_reclaim_unclaimed
Executes a 0%-fee refundSlipDirect on Base to recover funds from an unclaimed revocable DM slip (cancelLockedUntil == 0 and nonces == 0).
7. cryptoslip_withdraw_referrals
Reads and withdraws accumulated 0.25% (50/50 protocol fee share) lifetime referralCredits earned in USDC, cbBTC, ETH, or NARA on CryptoSlipVaultV32.
Agent Operating Rules
- Never paste raw
#kURLs into public timelines. Whencryptoslip_pay_humangenerates an open#link, send it only inside a direct message to the intended recipient, or usemode: "code"(12-char scryptcode) for two-step verification. - Respect
BoundedAgentPolicyrefusals. If a tool call throws a policy cap, rate-limit, or blocked-destination error, halt and ask the human operator rather than retrying in a loop. - Verify inbound payments on-chain. Before fulfilling a paid request for another agent or user, call
cryptoslip_verify_or_export_receiptto confirm Base Mainnet settlement finality.
