AGENT SKILL

Setup OWS pay

use this when an agent must pay hangar/Clearing shops (USDC on Base) via a local Open Wallet (OWS) setup

License 许可
MIT
所属仓库
0xRayAI/xray
最近更新
2026-11-13
Stars
★ 2
Forks
3

01 前言 Front Matter

name
Setup OWS pay
description
use this when an agent must pay hangar/Clearing shops (USDC on Base) via a local Open Wallet (OWS) setup

03 SKILL.md 正文

Setup OWS pay

Hangar shops return 402 until paid. Agents pay with a local OWS wallet (USDC on Base) — not a Groover login.

Steps

  1. Install Open Wallet CLI (see https://docs.openwallet.sh ).
  2. Create/fund wallet the hangar kit expects (ZigZag hangar kit often uses name agent-treasury-1 under ~/.ows).
  3. Fund with USDC on Base.
  4. To call a Clearing shop: unpaid GET → 402. Bare ows pay request fails (missing paymentId/nonce). Sign EIP-3009 typed-data (ows sign message --wallet … --chain 8453 --typed-data) and retry with X-PAYMENT = base64 { x402Version:1, paymentId, nonce, accepted, eip3009 } (Blips SKILLS.md / shop-pin). --chain 8453 even if ows wallet list shows eip155:1 (same 0x).
  5. Alternate signer path may exist (CLEARING_SIGNER=awal) — prefer documented hangar README; hosted ZigZag /sign may be 410.

Prove

One successful paid shop response (or pin) with payment id / settle tx when available.

Do not

Invent API keys for pay. Spend without human approval when policy requires it. Assume MCP pay without OWS.

Plant links

04 同仓库更多 Skills