x402 v2 · USDG · CHAIN 4663

x402 payment rails
for agents

Gate any API. Agents pay in USDG on Robinhood Chain. Credentials stay in the vault, never the model. Open source, MIT, zero telemetry.

FOR AGENT DEVELOPERS

Install the skill into Claude Code or any agent. Discover paid APIs, inspect 402 challenges, and settle USDG on approval.

FOR OPERATORS / VERIFIERS

Open the console to see live gate hits, on-chain settlements, vault calls, and a real 402 challenge in the Playground — no wallet needed.

CA:

DISCOVER → 402 → AUTHORIZE → SETTLE → RECEIPT

FOR AGENTS

Install once.
Agent pays on demand.

Drop the skill into any Claude Code project. The agent reads it, discovers the paid API catalog, and receives a real 402 challenge — all without a wallet or payment. When the user approves, the agent signs a USDG PaymentIntent and the gateway settles on-chain.

  • Works with Claude Code, Cursor, Hermes, any skill-aware agent
  • Discovery is read-only — no wallet or key required
  • Payment only on explicit user approval
  • On-chain receipt, verifiable on explorer
terminal# install into Claude Code
git clone https://github.com/covenantx402/covenant.git
cd covenant && mkdir -p .claude/skills/covenant-x402
cp skill/SKILL.md .claude/skills/covenant-x402/SKILL.md

# agent discovers paid API — no wallet needed
export TOLLY_GATEWAY=https://gateway.covenantx402.com
curl -si "$TOLLY_GATEWAY/x402/premium"
# ← HTTP 402 · USDG · Robinhood Chain 4663
MECHANISM

x402 in. USDG settles.
Agents stay stateless.

01DISCOVER

agent inspects a paid route, receives a 402 challenge

02AUTHORIZE

user approves a bounded USDG PaymentIntent

03SETTLE

facilitator verifies and executes transferFrom on-chain

04RECEIPT

replay X-PAYMENT to unlock the paid response

x402 FLOW

One paid call → fully measured

THE x402 PAYMENT · every call, ~100 ms
01
Client
GET /premium-api
02
402 Payment Required
price · network
03
Sign PaymentIntent
EIP-712 · USDG domain
04
Facilitator Settles
verify + execute
05
Resource Delivered
200 OK · ~100 ms
every settlement lands in the route's analytics
THE MEASUREMENT · every event, in the console
06
Route Registered
path + USDG price
07
Gate Enforced
402 until paid
08
Settlement Recorded
USDG in · counted
09
Visible in Console
charts · top routes · audit
payment gate settlement & USDG client side
LIVE GATEWAY TELEMETRY · RUNNING

The rails are real. Counters start at zero.

This is the actual Tolly gateway on this server — paid-API registry, x402 gate, and the agent credential vault — reporting live. Fresh counters are honest counters: every number here maps to a real event you can trigger in the Console.

5paid APIs registered
76402 payment gates hit
12 + 16vault secrets + brokered calls
402/href0.01 USDG2m
402/premium0.01 USDG2m
402/market-analytics0.05 USDG2m
402/premium0.01 USDG2m

proxy = covenant-proxy.service · Robinhood 4663 · read-only RPC whitelist · vault = AES-256-GCM

FOR OPERATORS

The console is
a live evidence board.

Every counter in the console maps to a real on-chain event or gateway call. No staged data. The Playground lets anyone send a real unpaid request and watch the 402 protocol respond live — no wallet, no setup.

  • Real-time gate hits, settlements, vault calls
  • Playground: send a real 402 request, zero cost
  • Paid APIs tab: connect wallet, PAY, read the response
  • On-chain settlement history verifiable by tx hash
terminal# verify the gateway is real — no login needed
curl -si https://gateway.covenantx402.com/x402/premium
# ← HTTP 402 · exact scheme · 0.01 USDG

curl -s https://gateway.covenantx402.com/x402/stats
# ← live: gate hits · USDG settled · vault calls

# or open the console and hit PLAYGROUND →
WHY IT EXISTS

Infrastructure first.

x402 is a payment standard, not a product pitch. This is the rails — for anyone serving agents.

Payments, not promises

Every call is metered and paid — per-request USDG or one settlement for a whole session. No credits, no subscriptions.

Model-proof vault

Agent credentials never enter a prompt. The vault substitutes and scrubs server-side; the model only ever sees [REDACTED].

Identity with receipts

Per-agent wallets, API keys, and a reputation score built from settled payments — every point anchored to a verifiable tx hash.

Open source, MIT

Gateway, kit, tests, and the agent skill are fully public. Fork it, self-host it, point your agents at it.

OFFICIAL TOKEN

$TOLLY is live.

The official Tolly token contract is deployed on Robinhood Chain. Verify the exact address on-chain before interacting.

Tolly TOKEN · CHAIN 4663official contract address
view on explorer ↗

Build for agents.
Prove it is real.

Install the skill and let an agent discover, pay, and verify — or open the console and watch it happen live.