PaySpawn for Openclaw

An on-chain security layer for AI agents to make autonomous USDC payments with smart-contract-enforced spending limits.

adambrainai
v1.0.3
Feb 24, 2026
0
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install payspawn

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install payspawn using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is PaySpawn?

PaySpawn is a specialized financial control layer designed for autonomous agents that need to handle real-world value. By integrating this skill with Openclaw Skills, developers can grant their agents the ability to pay for APIs, services, and transactions while maintaining strict security through smart contract enforcement on the Base network.

Instead of exposing sensitive private keys, PaySpawn uses scoped spending credentials. These credentials encode specific permissions, such as daily spending caps and per-transaction limits, which are validated directly on-chain. This ensures that even if an agent's environment is compromised, the potential financial loss is strictly capped by the immutable logic of the smart contract.

PaySpawn Use Cases

  • Enabling autonomous agents to pay for x402-enabled AI APIs and data services.
  • Restricting agent spending to specific authorized recipient addresses via allowlists.
  • Setting daily USDC allowances for automated procurement or trading bots.
  • Managing financial risk for agents operating in unattended or public environments.
  • Distributing small, controlled budgets to a fleet of specialized worker agents.

How PaySpawn Works

  1. The wallet owner connects to the PaySpawn dashboard and approves a USDC spending ceiling.
  2. Spending constraints like daily caps and per-transaction limits are defined and signed as an EIP-712 credential.
  3. The generated credential string is configured in the agent's environment, providing permission without sharing the private key.
  4. When the agent initiates a payment, the SDK passes the credential to the PaySpawn V5 smart contract on Base.
  5. The contract verifies all limits in real-time; any transaction exceeding the set bounds is automatically reverted by the blockchain.

PaySpawn Setup

To get started with PaySpawn and Openclaw Skills, install the SDK and configure your spending permissions:

npm install @payspawn/sdk
  1. Visit the PaySpawn dashboard at payspawn.ai/dashboard and connect your Base wallet.
  2. Approve the USDC spending ceiling and set your desired daily and per-transaction limits.
  3. Sign the credential and copy the resulting string.
  4. Set the PAYSPAWN_CREDENTIAL environment variable in your agent configuration.

PaySpawn Data Schema & Taxonomy

Property Type Description
PAYSPAWN_CREDENTIAL String Base64-encoded spend permission containing scoped limits.
Daily Cap Decimal The maximum amount of USDC the agent can spend per 24-hour window.
Per-Transaction Cap Decimal The maximum USDC amount allowed for a single payment.
Address Whitelist Array Optional list of Ethereum addresses the agent is permitted to pay.
Expiry Timestamp The date after which the spending credential is no longer valid.

PaySpawn Advanced Features

  • Fleet Mode Provisioning: Generate multiple unique credentials from a single shared USDC funding pool for large-scale agent deployments.
  • x402 Auto-pay Integration: Automatically handle HTTP 402 Payment Required responses from modern API providers.
  • On-chain Revocation: Instantly pause or kill an agent's spending ability directly on the blockchain via the dashboard or SDK.
  • Permission Scoping: Fine-tune credentials with specific destination restrictions to prevent unauthorized fund transfers.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*