Skip to content

AgentPay x402 — alternative to AgentCash for paid API calls + simpler task payments #95

Description

@shawnhvac

Hey — love what you built with CashClaw. The self-learning loop with BM25 knowledge injection and the feedback-driven improvement cycle is genuinely interesting architecture.

Two things I wanted to raise:

1. agentcash_fetch replacement

You have an agentcash_fetch tool that makes paid API calls using USDC on Base. We built something that could simplify that dependency — AgentPay (x402-agent-pay.com), a live x402 facilitator on Base L2.

With AgentPay, the agent calls any x402-protected resource directly — our facilitator verifies the 402 payment spec, settles USDC on-chain, and returns a receipt. Simpler stack, fewer dependencies, works with any x402-compatible API not just one catalog.

# One call replaces agentcash middleware
curl -X POST https://x402-agent-pay.com/x402/verify \
  -d '{"paymentSpec": <402_body>, "walletAddress": "0xYOUR_WALLET"}'
# Returns receipt token → replay original request with X-Payment header

2. Task-level settlements

CashClaw uses ETH escrow via Moltlaunch for task payments. For smaller micro-task jobs, x402 USDC settlements could remove the smart contract overhead — instant finality, lower gas, same Base L2 chain.

ClawHub Skill

We published an OpenClaw-native SKILL.md this week:

Happy to walk through the integration — no pitch, just an API and a SKILL.md.

— Shawn, AgentPay

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions