独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
C

coriolislabs/WalletCap

Spend limits for AI agent wallets: a per-payment cap and rolling 24h USDC budget that holds across restarts,…

装之前:没有可直接复制的命令 · 许可证 Apache-2.0 · 链接可访问

第一步:npx walletcap-crash-test puts Coinbase's agent spend controls through four ordinary events (a

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
客户端配置(取自该仓库的安装命令)
{
  "mcpServers": {
    "coriolislabs-walletcap": {
      "command": "npx",
      "args": ["walletcap-crash-test"]
    }
  }
}

解析自我们于 2026-11-06 抓取的该仓库 README;我们未执行过。

command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
  "servers": {
    "coriolislabs-walletcap": {
      "command": "npx",
      "args": ["walletcap-crash-test"]
    }
  }
}
VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio coriolislabs-walletcap -- npx walletcap-crash-test
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
★ 数取值
0 ★ · coriolislabs/WalletCap · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-07 · 最近见到 2026-11-14 · 共见到 8 次 · 被 1 个来源列出
评分构成
综合分 103 · 1 个来源 · repo
安装
npx walletcap-crash-test
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 npx walletcap-crash-test。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 coriolislabs/WalletCap;我们收录于 2026-11-07;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# walletcap: spend limits for AI agent wallets

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Spend limits for AI agent wallets that pay in USDC: a per-payment cap and a rolling 24-hour
budget that holds across restarts, replicas and payment rails. walletcap plugs into x402
clients, Coinbase CDP's x402 spend controls, Coinbase AgentKit, the Coinbase Agentic Wallet CLI
and payments MCP server, and Coinbase Spend Permissions. By ShadowPath.
## Crash test: CDP's controls let $1,600–$1,700 past a $150 cap, walletcap lets $0
npx walletcap-crash-test puts Coinbase's agent spend controls through four ordinary events (a
restart, 10 replicas, 10 replicas on a shared store, and a payee who asks for EURC), then puts
walletcap through the same events. CDP's x402 controls are set as Coinbase's README shows, then
run again on walletcap's cdpStore as this README shows. Spend Permissions run Coinbase's
deployed contract code on a local EVM. Every agent is held to $50 a payment and $150 in any 24
hours, in USDC on Base. It runs offline in about 15 seconds and sends nothing.
console
$ npx walletcap-crash-test
| CDP x402 spend controls | CDP's controls | walletcap guard | walletcap cdpStore |
| restart, then pay again | $300 signed · $150 over | $150 signed · $0 over | $150 signed · $0 over |
| 10 replicas | $1,500 signed · $1,350 over | $150 signed · $0 over | $150 signed · $0 over |
| 10 replicas, shared store 1 ms away | $350 signed · $200 over | $150 signed · $0 over | $150 signed · $0 over |
| payee asks for EURC, not USDC | 1,000 EURC signed, counted as $0 | refused before signing | refused before signing |
| Spend Permissions | SpendPermissionManager | AccountCapSpender |
| a second permission | $300 pulled · $150 over | $150 pulled · $0 over |
| across a period boundary, 1 second apart | $300 pulled · $150 over | $150 pulled · $0 over |
Past the $150 cap: $1,700 and 1,000 EURC with CDP's controls, $300 with Spend Permissions; $0
with walletcap's guard, its cdpStore and AccountCapSpender. The shared-store row varies from
run to run: in eight runs on 6 November 2026 it was $100 over five times and $200 over three
times. Those runs used @coinbase/cdp-sdk 1.61.0, @x402/core 2.30.0, SpendPermissionManager
1.0.0 and walletcap 0.2.3.
Add --agentkit for Coinbase AgentKit's row: the agent approves a 1¢ offer, and AgentKit signs
the merchant's first-listed $1.00 on Base mainnet. walletcap, at 2¢ a payment, refuses it before
signing. The crash test's README
says exactly what runs.
## Install and use
console
$ npm install walletcap # Node 22.13+, no dependencies
$ pip install walletcap # Python 3.11+, no dependencies
The owner creates the budget once. Opening it never creates one; pass create: true only for a
demo or first-run setup:
console
$ npx walletcap set --wallet 0xYourAgentWallet --per-payment 50 --per-day 150
js
import { openBudget } from 'walletcap';
const budget = openBudget({ wallet: account.address, perPayment: '$50', perDay: '$150' });
await budget.pay('$12.50', () => sendUsdc(payee, '12.50')); // refused past $150 in any 24h, restarts included
python
from walletcap import openbudget
budget = openbudget(agentaddress, perpayment="$50", perday="$150")
with budget.pay("$12.50"):
sendusdc(payee, "12.50")
| Integration | Install | Use |
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/coriolislabs-walletcap/)
来源
github · https://github.com/coriolislabs/WalletCap
按领域浏览
开源项目
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引