ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 5/5

payspawn

Give any AI agent on-chain spending limits without sharing a private key. Use when: (1) agent needs to pay for x402 APIs (web scraping, search, AI services), (2) setting daily/per-tx USDC caps on an agent wallet, (3) whitelisting which contracts an agent can pay, (4) pausing a rogue agent's spending instantly, (5) provisioning credentials for agent fleets. Works on Base mainnet with USDC. NOT for: fiat payments, non-Base chains (yet), or custody of funds.

Why use this skill?

Safely manage AI agent spending on Base with PaySpawn. Implement daily USDC caps, whitelists, and kill switches without raw private keys.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/adambrainai/payspawn-sdk
Or

What This Skill Does

PaySpawn is a security-focused orchestration layer for AI agents that replaces raw private keys with scoped, smart-contract-enforced credentials. It enables agents to operate on the Base mainnet using USDC without the catastrophic risk of total wallet drainage. By offloading security to the protocol level, PaySpawn acts as a firewall between your agent and the blockchain. It allows you to define rigid spending parameters—such as daily USDC caps, per-transaction limits, and strict address whitelists—that are enforced by code rather than by the agent's internal logic. This ensures that even if an agent is compromised via prompt injection or a leaked environment file, the attacker's ability to extract funds is strictly limited by the pre-set budget.

Installation

To integrate PaySpawn into your OpenClaw environment, use the ClawKit installation command:

clawhub install openclaw/skills/skills/adambrainai/payspawn-sdk

Once installed, visit payspawn.ai/dashboard to register your agent instance and generate your credential string. Save this as an environment variable PAYSPAWN_CREDENTIAL in your project configuration. The SDK will automatically handle the authentication and session management required to interact with the PaySpawn smart contracts.

Use Cases

  1. x402 Automation: Seamlessly pay for high-value AI APIs (like scrapers or search services) that utilize the x402 payment flow.
  2. Agent Fleet Management: Provision credentials for dozens of agents from a single master pool, ensuring all budget distribution is governed by smart contracts.
  3. Production Security: Deploy agents in high-risk environments without the fear of unlimited spending, thanks to immediate kill-switch capabilities.
  4. Restricted Commerce: Limit agent spending to a specific set of verified contract addresses for professional enterprise workflows.

Example Prompts

  1. "Use my PaySpawn credential to fetch the search results for the latest Ethereum developer updates and handle the x402 payment automatically."
  2. "Check the current remaining balance in my agent's PaySpawn pool and report back if we have enough for the next 24 hours of API operations."
  3. "Emergency: I suspect a prompt injection attempt, please trigger the PaySpawn pause command immediately to stop all outgoing transactions."

Tips & Limitations

  • Safety: Always set the lowest reasonable daily cap for your agents to minimize the blast radius of any security incidents.
  • Limitations: PaySpawn currently supports only the Base mainnet and USDC. It is not designed for non-Base chains or fiat currency settlements.
  • Revocability: Treat your PaySpawn credentials as sensitive, but remember that the smart contract provides a layer of defense even if the credential is leaked. Always test your whitelist settings in a staging environment before giving your agent full production access.

Metadata

Stars1601
Views3
Updated2026-02-27
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-adambrainai-payspawn-sdk": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#blockchain#security#fintech#usdc#base
Safety Score: 5/5

Flags: external-api