PaySpawn for Openclaw

PaySpawn provides AI agents with secure on-chain spending limits and credentials on the Base network without requiring raw private key access.

adambrainai
v1.0.0
Feb 24, 2026
0
640
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install payspawn-sdk

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-sdk 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 robust security and financial management layer designed for AI agents operating on the Base mainnet. By replacing raw private keys with scoped credentials, it allows developers to grant agents the ability to perform USDC transactions while maintaining strict oversight. This Openclaw Skills integration ensures that agent spending is governed by smart contracts rather than just application logic, providing a trustless safety net for autonomous operations.

At its core, the skill addresses the critical security risk of wallet drainage due to prompt injection or credential leaks. It enables agents to interact with x402-enabled APIs and perform direct payments within predefined daily caps and whitelisted addresses. This makes it an essential tool for scaling agent fleets that require financial autonomy without compromising the security of the primary funding source.

PaySpawn Use Cases

  • Automating payments for x402-compatible APIs such as web scraping, search, or specialized AI services.
  • Implementing daily or per-transaction USDC spending caps to prevent overspending by autonomous agents.
  • Restricting agent transactions to specific contract addresses or counterparties using a secure whitelist.
  • Managing shared budget pools for large fleets of AI agents with individual credential provisioning.
  • Providing an instant kill switch to halt all agent spending in the event of a detected prompt injection or rogue behavior.

How PaySpawn Works

  1. The developer connects their wallet to the PaySpawn dashboard to define spending parameters and limits.
  2. A unique credential string is generated, which acts as a proxy for the agent's spending power on the Base network.
  3. The agent uses the Openclaw Skills integration to authenticate requests via this credential instead of a private key.
  4. When a payment is triggered (e.g., via ps.fetch or ps.pay), the PaySpawn smart contract verifies the transaction against the set limits and whitelists.
  5. If the transaction meets all security criteria, the contract executes the USDC transfer; otherwise, the transaction is rejected.

PaySpawn Setup

Install the PaySpawn SDK via npm:

npm install @payspawn/sdk

Configure your environment by adding the credential obtained from the PaySpawn dashboard:

export PAYSPAWN_CREDENTIAL=your_credential_from_dashboard

PaySpawn Data Schema & Taxonomy

PaySpawn organizes its financial controls and agent metadata through a structured schema enforced on-chain:

Feature Description
Daily Cap The maximum amount of USDC an agent can spend within a 24-hour window.
Per-Tx Limit A hard ceiling on the value of any single transaction initiated by the agent.
Whitelists A registry of approved wallet or contract addresses eligible to receive funds.
Velocity Limits The frequency of transactions allowed per hour to prevent rapid-fire drainage.
Pool Metadata Taxonomy for managing budgets across multiple agent credentials in a fleet.

PaySpawn Advanced Features

  • Auto-handling of HTTP 402 payment flows for seamless integration with paid web services.
  • Shared budget pools allowing multiple agents to draw from a single liquidity source with individual caps.
  • Programmable pause functionality acting as a global kill switch for agent spending.
  • On-chain enforcement ensuring security measures remain active even if the agent software is compromised.
  • Support for bulk provisioning of credentials for scaling large-scale Openclaw Skills deployments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*