Claim this agent
Agent DossierGITHUB OPENCLEWSafety 89/100

Xpersona Agent

x402-layer

This skill should be used when the user asks to "create x402 endpoint", "deploy monetized API", "pay for API with USDC", "check x402 credits", "consume API credits", "list endpoint on marketplace", "buy API credits", "topup endpoint", "browse x402 marketplace", use "Coinbase Agentic Wallet (AWAL)", or manage x402 Singularity Layer operations on Base or Solana networks. --- name: x402-layer version: 1.1.3 description: | This skill should be used when the user asks to "create x402 endpoint", "deploy monetized API", "pay for API with USDC", "check x402 credits", "consume API credits", "list endpoint on marketplace", "buy API credits", "topup endpoint", "browse x402 marketplace", use "Coinbase Agentic Wallet (AWAL)", or manage x402 Singularity Layer operations on Base or Solana network

OpenClaw ยท self-declared
Trust evidence available
git clone https://github.com/ivaavimusic/x402-Layer-Clawhub-Skill.git

Overall rank

#30

Adoption

No public adoption signal

Trust

Unknown

Freshness

Feb 24, 2026

Freshness

Last checked Feb 24, 2026

Best For

x402-layer is best for be workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive Summary

This skill should be used when the user asks to "create x402 endpoint", "deploy monetized API", "pay for API with USDC", "check x402 credits", "consume API credits", "list endpoint on marketplace", "buy API credits", "topup endpoint", "browse x402 marketplace", use "Coinbase Agentic Wallet (AWAL)", or manage x402 Singularity Layer operations on Base or Solana networks. --- name: x402-layer version: 1.1.3 description: | This skill should be used when the user asks to "create x402 endpoint", "deploy monetized API", "pay for API with USDC", "check x402 credits", "consume API credits", "list endpoint on marketplace", "buy API credits", "topup endpoint", "browse x402 marketplace", use "Coinbase Agentic Wallet (AWAL)", or manage x402 Singularity Layer operations on Base or Solana network Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

No verified compatibility signals

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Feb 24, 2026

Vendor

X402layer

Artifacts

0

Benchmarks

0

Last release

Unpublished

Install & run

Setup Snapshot

git clone https://github.com/ivaavimusic/x402-Layer-Clawhub-Skill.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Public facts

Evidence Ledger

Vendor (1)

Vendor

X402layer

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance

Events

Release & Crawl Timeline

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredGITHUB OPENCLEW

Captured outputs

Artifacts Archive

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

pip install -r {baseDir}/requirements.txt

bash

# For Base (EVM)
export PRIVATE_KEY="0x..."
export WALLET_ADDRESS="0x..."

# For Solana (optional)
export SOLANA_SECRET_KEY="[1,2,3,...]"  # JSON array

bash

# First, install and set up AWAL (one-time setup)
npx skills add coinbase/agentic-wallet-skills

# Then enable AWAL mode for this skill
export X402_USE_AWAL=1

http

x-api-key: <YOUR_API_KEY>

text

User pays $0.01 โ†’ Your wallet receives payment โ†’ 1 credit deducted from your endpoint

bash

# Pay with Base (EVM) - 100% reliable
python {baseDir}/scripts/pay_base.py https://api.x402layer.cc/e/weather-data

# Pay with Solana - includes retry logic
python {baseDir}/scripts/pay_solana.py https://api.x402layer.cc/e/weather-data

# Pay with Coinbase Agentic Wallet (AWAL)
python {baseDir}/scripts/awal_cli.py pay-url https://api.x402layer.cc/e/weather-data

Editorial read

Docs & README

Docs source

GITHUB OPENCLEW

Editorial quality

ready

This skill should be used when the user asks to "create x402 endpoint", "deploy monetized API", "pay for API with USDC", "check x402 credits", "consume API credits", "list endpoint on marketplace", "buy API credits", "topup endpoint", "browse x402 marketplace", use "Coinbase Agentic Wallet (AWAL)", or manage x402 Singularity Layer operations on Base or Solana networks. --- name: x402-layer version: 1.1.3 description: | This skill should be used when the user asks to "create x402 endpoint", "deploy monetized API", "pay for API with USDC", "check x402 credits", "consume API credits", "list endpoint on marketplace", "buy API credits", "topup endpoint", "browse x402 marketplace", use "Coinbase Agentic Wallet (AWAL)", or manage x402 Singularity Layer operations on Base or Solana network

Full README

name: x402-layer version: 1.1.3 description: | This skill should be used when the user asks to "create x402 endpoint", "deploy monetized API", "pay for API with USDC", "check x402 credits", "consume API credits", "list endpoint on marketplace", "buy API credits", "topup endpoint", "browse x402 marketplace", use "Coinbase Agentic Wallet (AWAL)", or manage x402 Singularity Layer operations on Base or Solana networks. homepage: https://studio.x402layer.cc/docs/agentic-access/openclaw-skill metadata: clawdbot: emoji: "โšก" homepage: https://studio.x402layer.cc os: - linux - darwin requires: bins: - python3 env: # Core credentials (required for payments) - WALLET_ADDRESS - PRIVATE_KEY # Solana payments (required for Solana network) - SOLANA_SECRET_KEY # Provider operations (required for endpoint management) - X_API_KEY - API_KEY # AWAL mode (optional - for Coinbase Agentic Wallet) - X402_USE_AWAL - X402_AUTH_MODE - X402_PREFER_NETWORK - AWAL_PACKAGE - AWAL_BIN - AWAL_FORCE_NPX allowed-tools:

  • Read
  • Write
  • Edit
  • Bash
  • WebFetch

x402 Singularity Layer

x402 is a Web3 payment layer enabling AI agents to:

  • ๐Ÿ’ฐ Pay for API access using USDC
  • ๐Ÿš€ Deploy monetized endpoints
  • ๐Ÿ” Discover services via marketplace
  • ๐Ÿ“Š Manage endpoints and credits

Networks: Base (EVM) โ€ข Solana
Currency: USDC
Protocol: HTTP 402 Payment Required


Quick Start

1. Install Dependencies

pip install -r {baseDir}/requirements.txt

2. Set Up Wallet (Choose One Mode)

Option A: Private Keys (existing mode)

# For Base (EVM)
export PRIVATE_KEY="0x..."
export WALLET_ADDRESS="0x..."

# For Solana (optional)
export SOLANA_SECRET_KEY="[1,2,3,...]"  # JSON array

Option B: Coinbase Agentic Wallet (AWAL)

For Base payments without exposing private keys, use Coinbase Agentic Wallet:

# First, install and set up AWAL (one-time setup)
npx skills add coinbase/agentic-wallet-skills

# Then enable AWAL mode for this skill
export X402_USE_AWAL=1

Note: See Coinbase AWAL docs for full setup instructions. You'll need to authenticate and fund your AWAL wallet with USDC on Base.

Once AWAL is configured, all Base payment scripts will automatically use it instead of PRIVATE_KEY.


โš ๏ธ Security Notice

IMPORTANT: This skill handles private keys for signing blockchain transactions.

  • Never use your primary custody wallet - Create a dedicated wallet with limited funds
  • Private keys are used locally only - They sign transactions locally and are never transmitted
  • Signed payloads are sent to api.x402layer.cc - Payment signatures and wallet addresses are transmitted to settle payments
  • For testing: Use a throwaway wallet with minimal USDC ($1-5 is enough for testing)
  • API Keys: When you create an endpoint, store the returned API key securely
  • Review the code: All scripts are auditable in the scripts/ directory

Scripts Overview

๐Ÿ›’ CONSUMER MODE (Buying Services)

| Script | Purpose | |--------|---------| | pay_base.py | Pay for endpoint on Base network | | pay_solana.py | Pay for endpoint on Solana network | | consume_credits.py | Use pre-purchased credits (fast) | | consume_product.py | Purchase digital products (files) | | awal_cli.py | Run Coinbase Agentic Wallet CLI commands (auth, bazaar, pay, discover) | | check_credits.py | Check your credit balance | | recharge_credits.py | Buy credit packs for an endpoint | | discover_marketplace.py | Browse available services |

๐Ÿญ PROVIDER MODE (Selling Services)

| Script | Purpose | |--------|---------| | create_endpoint.py | Deploy new monetized endpoint ($1) | | manage_endpoint.py | View/update your endpoints | | topup_endpoint.py | Recharge YOUR endpoint with credits | | list_on_marketplace.py | Update marketplace listing |


Security: API Key Verification

[!IMPORTANT] When you create an endpoint, x402 acts as a proxy to your origin server. You MUST verify that requests are coming from x402.

  1. Get your API Key: Returned when you run create_endpoint.py.
  2. Verify Headers: Your origin server MUST check for this header in every request:
    x-api-key: <YOUR_API_KEY>
    
    If the header is missing or incorrect, reject the request (401 Unauthorized).

Credit System: How It Works

[!WARNING] Credits are NOT test credits! They are consumed with every API request.

Flow

User pays $0.01 โ†’ Your wallet receives payment โ†’ 1 credit deducted from your endpoint

Economics

| Item | Value | |------|-------| | Creation cost | $1 (one-time) | | Starting credits | 4,000 credits | | Recharge rate | 500 credits per $1 | | Consumption | 1 credit per API request | | Your earnings | Whatever price you set per call |

Example

  1. Create endpoint: Pay $1, get 4,000 credits
  2. Set price: $0.01 per call
  3. User calls your API 1,000 times: You earn $10, 1,000 credits deducted
  4. Remaining: 19,000 credits + $10 profit
  5. Credits run low? Recharge with topup_endpoint.py

What Happens When Credits = 0?

Your endpoint stops working and returns an error. Users cannot access it until you recharge.


Consumer Flows

A. Pay-Per-Request (Recommended)

# Pay with Base (EVM) - 100% reliable
python {baseDir}/scripts/pay_base.py https://api.x402layer.cc/e/weather-data

# Pay with Solana - includes retry logic
python {baseDir}/scripts/pay_solana.py https://api.x402layer.cc/e/weather-data

# Pay with Coinbase Agentic Wallet (AWAL)
python {baseDir}/scripts/awal_cli.py pay-url https://api.x402layer.cc/e/weather-data

B. Credit-Based Access (Fastest)

Pre-purchase credits for instant access without blockchain latency:

# Check your balance
python {baseDir}/scripts/check_credits.py weather-data

# Buy credits (consumer purchasing credits)
python {baseDir}/scripts/recharge_credits.py weather-data pack_100

# Use credits for instant access
python {baseDir}/scripts/consume_credits.py https://api.x402layer.cc/e/weather-data

C. Discover Services

# Browse all services
python {baseDir}/scripts/discover_marketplace.py

# Search by keyword
python {baseDir}/scripts/discover_marketplace.py search weather

# AWAL bazaar discovery
python {baseDir}/scripts/awal_cli.py run bazaar list

Provider Flows

A. Create Endpoint ($1 one-time)

Deploy your own monetized API:

Basic (not listed on marketplace):

python {baseDir}/scripts/create_endpoint.py my-api "My AI Service" https://api.example.com 0.01 --no-list

With marketplace listing (recommended):

python {baseDir}/scripts/create_endpoint.py my-api "My AI Service" https://api.example.com 0.01 \
    --category ai \
    --description "AI-powered data analysis API" \
    --logo https://example.com/logo.png \
    --banner https://example.com/banner.jpg

Available categories: ai, data, finance, utility, social, gaming

Note: Save the API Key from the output and use it to secure your origin server.

โš ๏ธ IMPORTANT - How Credits Work:

  • Cost: $1 one-time, includes 4,000 credits (NOT test credits!)
  • Consumption: 1 credit is deducted for each API request to your endpoint
  • When credits reach 0: Your endpoint stops working until you recharge
  • Recharge: Use topup_endpoint.py to add more credits ($1 = 500 credits)
  • Users pay YOU: Each user payment goes to your wallet, then 1 credit is used

Includes 4,000 starting credits.

B. Manage Your Endpoint

# List your endpoints
python {baseDir}/scripts/manage_endpoint.py list

# View stats
python {baseDir}/scripts/manage_endpoint.py stats my-api

# Update price
python {baseDir}/scripts/manage_endpoint.py update my-api --price 0.02

C. Recharge Your Endpoint (Required to Keep It Working)

Your endpoint consumes 1 credit per request. When credits run out, it stops working. Recharge to keep it active:

# Add $10 worth of credits (5,000 credits at 500 credits/$1)
python {baseDir}/scripts/topup_endpoint.py my-api 10

# Check remaining credits first
python {baseDir}/scripts/manage_endpoint.py stats my-api

โš ๏ธ Remember: topup_endpoint.py is for providers to recharge THEIR endpoint. recharge_credits.py is for consumers to buy credits at someone else's endpoint.

D. Marketplace Listing Management

Marketplace listing can be done during creation OR separately afterward:

Option 1: During Creation (Recommended)

python {baseDir}/scripts/create_endpoint.py my-api "My API" https://api.example.com 0.01 \
    --category ai \
    --description "AI-powered analysis" \
    --logo https://example.com/logo.png \
    --banner https://example.com/banner.jpg

Option 2: After Creation (Update or List Later)

# List or update marketplace listing
python {baseDir}/scripts/list_on_marketplace.py my-api \
    --category ai \
    --description "AI-powered analysis" \
    --logo https://example.com/logo.png \
    --banner https://example.com/banner.jpg

# Unlist from marketplace
python {baseDir}/scripts/list_on_marketplace.py my-api --unlist

Tip: Use list_on_marketplace.py to update your listing anytime - change category, description, or images without recreating the endpoint.


Payment Technical Details

Base (EVM) - EIP-712 Signatures

Uses USDC TransferWithAuthorization (EIP-3009):

  • Gasless for payer
  • Facilitator settles on-chain
  • 100% reliable

Solana - Versioned Transactions

Uses VersionedTransaction with MessageV0:

  • Facilitator pays gas (from extra.feePayer)
  • SPL Token TransferChecked instruction
  • ~75% success rate (retry logic included)

Environment Reference

| Variable | Required For | Description | |----------|--------------|-------------| | PRIVATE_KEY | Base payments (private-key mode) | EVM private key (0x...) | | WALLET_ADDRESS | All operations | Your wallet address | | SOLANA_SECRET_KEY | Solana payments | JSON array of bytes | | X402_USE_AWAL | AWAL mode | Set 1 to enable Coinbase Agentic Wallet for Base | | X402_AUTH_MODE | Auth selection (optional) | auto, private-key, or awal (default: auto) | | X402_PREFER_NETWORK | Network selection (optional) | base or solana (default: base) | | AWAL_PACKAGE | AWAL mode (optional) | NPM package/version for AWAL CLI (default: awal@1.0.0) | | AWAL_BIN | AWAL mode (optional) | Preinstalled awal binary path/name | | AWAL_FORCE_NPX | AWAL mode (optional) | Set 1 to force npx even when awal binary exists |


API Base URL

  • Endpoints: https://api.x402layer.cc/e/{slug}
  • Marketplace: https://api.x402layer.cc/api/marketplace
  • Credits: https://api.x402layer.cc/api/credits/*
  • Agent API: https://api.x402layer.cc/agent/*

Resources


Known Issues

โš ๏ธ Solana payments have ~75% success rate due to facilitator-side fee payer infrastructure issue. Retry logic is included in pay_solana.py. Base (EVM) payments are 100% reliable and recommended for production.

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Machine interfaces

Contract & API

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/snapshot"
curl -s "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/contract"
curl -s "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

MissingGITHUB OPENCLEW

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-17T00:00:30.366Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "be",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:be|supported|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "X402layer",
    "href": "https://studio.x402layer.cc/docs/agentic-access/openclaw-skill",
    "sourceUrl": "https://studio.x402layer.cc/docs/agentic-access/openclaw-skill",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:21:22.124Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:21:22.124Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/ivaavimusic-x402-layer-clawhub-skill/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[]

Sponsored

Ads related to x402-layer and adjacent AI workflows.