← 返回 Skills 市场
piprail

PipRail

作者 PipRail · GitHub ↗ · v1.0.7 · MIT-0
darwinlinuxwin32 ✓ 安全检测通过
55
总下载
1
收藏
0
当前安装
8
版本数
在 OpenClaw 中安装
/install piprail
功能描述
A self-custodial crypto payment wallet for your OpenClaw agent, with a hard spend cap it can't exceed. It autonomously pays x402 paywalls ('402 Payment Requi...
使用说明 (SKILL.md)

PipRail — Agent Payment Wallet 🛤️

Give your OpenClaw agent a self-custodial crypto payment wallet with a hard spend cap it can't exceed. It autonomously pays x402 "402 Payment Required" paywalls across every major chain — settling funds straight to the recipient's wallet, with no facilitator, no fee, no signup.

No API key. No account. No signup. PipRail is self-custodial — you bring a wallet you control. It even runs read-only with zero config: discover, quote, register, budget, and guide work the moment it starts, no key at all. Add your own wallet key (PIPRAIL_PRIVATE_KEY) only when the agent should actually pay — it's a wallet signing key you hold, never an API credential, and it never leaves your machine.

PipRail plugs into OpenClaw as a standard MCP server — the published @piprail/mcp (npx -y @piprail/mcp) over stdio — so the agent gets all 7 tools natively, capped by a budget it can't exceed.

Why PipRail (vs every other crypto skill)

Every other OpenClaw payment skill routes through a facilitator or custodian that holds keys and/or takes a cut. PipRail is different:

  • Backendless — no facilitator, no hosted service. Payments verify locally against your own RPC.
  • No fee — funds settle straight to the service provider's wallet. PipRail takes nothing.
  • Self-custodial — your key, your machine. PipRail hosts and holds nothing.
  • Every major chain — EVM (Base, Ethereum, Polygon, Arbitrum, Optimism, Avalanche, BNB…), Solana, TON, Tron, NEAR, Sui, Aptos, Algorand, Stellar, XRPL — one PIPRAIL_CHAIN param picks everything.
  • A hard spend cap the model can't crossPIPRAIL_MAX_TOTAL=5.00 and that's the ceiling, enforced in the SDK before any on-chain send. MIT open source.

The 7 tools your agent gets

Tool What it does Moves money?
piprail_discover Find payable x402 APIs on the open indexes no
piprail_quote_payment Get a URL's price without paying no
piprail_plan_payment Check you can afford it (balance + gas + recipient-ready) no
piprail_pay_request Pay the 402 and return the resource yes
piprail_register List your own x402 API so other agents find it no
piprail_budget Read remaining spend + time leash no
piprail_guide Read the agent contract (how to quote → plan → pay) no

Only piprail_pay_request moves funds. Five tools — discover, quote, register, budget, guide — work with no key at all; pay and plan (it reads your balance) need your wallet.

Install

Discover + install on ClawHub (either command works):

clawhub install piprail            # the ClawHub CLI
openclaw skills install piprail     # …or OpenClaw's native command

Then wire the MCP server into ~/.openclaw/openclaw.json — OpenClaw nests servers under mcp.servers. No key is needed — this is the whole config, and it starts the server read-only (discover / quote / register / budget / guide all work):

{ "mcp": { "servers": { "piprail": {
  "command": "npx", "args": ["-y", "@piprail/mcp"],
  "env": { "PIPRAIL_CHAIN": "base" }
} } } }

Want the agent to actually pay? Then — and only then — add your own self-custodial wallet key plus a budget cap (PIPRAIL_PRIVATE_KEY is a wallet signing key you hold, never an API key):

{ "mcp": { "servers": { "piprail": {
  "command": "npx", "args": ["-y", "@piprail/mcp"],
  "env": { "PIPRAIL_CHAIN": "base", "PIPRAIL_MAX_TOTAL": "5.00", "PIPRAIL_PRIVATE_KEY": "0xYOUR_KEY" }
} } } }

Restart OpenClaw (or run openclaw mcp set) and the piprail_* tools appear. See Configure below.

Configure

Variable Required Default Purpose
PIPRAIL_PRIVATE_KEY (only to pay) Your self-custodial wallet key/seed. Omit it for read-only (discover/quote/register/budget/guide); set it only to let the agent pay. Not an API key; never sent anywhere.
PIPRAIL_CHAIN base Which chain to pay on
PIPRAIL_MAX_AMOUNT 0.10 Max per payment
PIPRAIL_MAX_TOTAL 10.00 Lifetime budget per token
PIPRAIL_TOKENS chain stables Allowed tokens
PIPRAIL_SCHEMES onchain-proof Add exact to also pay standard x402 servers
PIPRAIL_RPC_URL chain default Custom RPC endpoint (recommended in production; fold any API key into the URL)

Defaults are deliberately small and safe (0.10 per payment, 10.00 lifetime, USDC on Base). Start there, raise as you trust it.

The agent workflow

discover → quote → plan → pay. A typical session:

User:  Find me a crypto price API I can pay for.
Agent: [piprail_discover("crypto price")]  → cheapest is 0.001 USDC/call on Base.
User:  Can I afford it?
Agent: [piprail_plan_payment(url)]  → yes; 4.82 USDC left of 5.00, recipient ready, gas ~$0.05.
User:  Get me the ETH price.
Agent: [piprail_pay_request(url)]  → paid 0.001 USDC (tx 0x…). ETH: $3,247.18. 4.819 USDC left.

Learn more

安全使用建议
Before installing, check which MCP server is being added and only use it in projects where you expect that server's tools to be available. The current signals are clean, but the manifest could be clearer about when the server should be invoked.
能力标签
cryptorequires-walletrequires-paid-servicerequires-sensitive-credentials
能力评估
Purpose & Capability
The available evidence describes a manifest/config whose purpose is to explain adding an MCP server; that capability is coherent with the stated purpose.
Instruction Scope
The manifest description is somewhat broad and does not spell out exact activation boundaries, but this is a documentation limitation rather than evidence of unsafe behavior.
Install Mechanism
No artifact-backed evidence indicates deceptive install steps, bundled payloads, package installs, or unexpected mutation during installation.
Credentials
Configuring an MCP server is proportionate to the described purpose; no evidence shows unrelated local file access, credential handling, indexing, or external data transfer.
Persistence & Privilege
No evidence indicates background persistence, privilege escalation, automatic execution, or use of local auth/session stores beyond normal MCP configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install piprail
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /piprail 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.7
Read-only is the default config (no key); a wallet key is a separate opt-in only for paying. Make it unmistakable: PipRail needs no API key.
v1.0.6
Read-only by default: runs with NO key (discover/quote/register/budget/guide); the self-custodial wallet key is needed only to pay. No API key, ever.
v1.0.5
Simplify the slug to 'piprail' — install is now 'clawhub install piprail' (old slug redirects).
v1.0.4
Payment-forward description (it's a crypto payment wallet, not a data/API skill); drop API/key phrasing.
v1.0.3
Move to the @piprail org publisher (shows the PipRail identity, not a personal handle); drop the misleading 'API key required' badge — the wallet key is documented in the body, not declared as a service credential.
v1.0.2
Rename to piprail-openclaw-skill (distinguishes the OpenClaw integration from upcoming Vercel/ElizaOS); correct install instructions.
v1.0.1
Correct the install slug to 'piprail' (clawhub install piprail); align the folder to the skill name.
v1.0.0
Initial release — budget-bound x402 payment wallet for OpenClaw agents across every major chain (EVM, Solana, TON, Tron, NEAR, Sui, Aptos, Algorand, Stellar, XRPL). No facilitator, no fee, self-custodial; a hard spend cap the model cannot exceed.
元数据
Slug piprail
版本 1.0.7
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 8
常见问题

PipRail 是什么?

A self-custodial crypto payment wallet for your OpenClaw agent, with a hard spend cap it can't exceed. It autonomously pays x402 paywalls ('402 Payment Requi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 55 次。

如何安装 PipRail?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install piprail」即可一键安装,无需额外配置。

PipRail 是免费的吗?

是的,PipRail 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

PipRail 支持哪些平台?

PipRail 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。

谁开发了 PipRail?

由 PipRail(@piprail)开发并维护,当前版本 v1.0.7。

💬 留言讨论