Skip to content
Back to skills

X402 Payment Demo

ASecurity

Demo of x402 payment protocol by fetching a protected image. Triggers: 'demo x402-payment'

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
tools

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add johnalbertini14-glitch/openclaw-skills --skill x402-payment-demo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of X402 Payment Demo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for X402 Payment Demo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnalbertini14-glitch-x402-payment-demo/badge)](https://www.skillsdirectory.com/skills/johnalbertini14-glitch-x402-payment-demo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: x402-payment-demo
description: "Demo of x402 payment protocol by fetching a protected image. Triggers: 'demo x402-payment'"
version: 1.0.2
author: open-aibank
metadata: {"clawdbot":{"emoji":"🖼️","triggers":["demo x402-payment", "show me x402 demo"]}}
tags: [x402, demo, payment, tron, image]
arguments:
  network:
    description: "TRON network to use (nile, shasta, mainnet). Default: nile"
    required: false
---

# x402 Payment Demo Skill

This skill demonstrates the x402 payment protocol on the TRON network.

## Usage

Simply tell the Agent:
- "demo x402-payment"

## Workflow

1.  **Request Resource**: When triggered, follow the instructions provided by the `x402-payment-tron` skill to fetch the protected resource. **Use Tron Nile by default**:
    - **Tron Nile (Default)**: `https://x402-tron-demo.aibank.io/protected-nile`
    - **Tron Shasta**: `https://x402-tron-demo.aibank.io/protected-shasta`
    - **Tron Mainnet**: `https://x402-tron-demo.aibank.io/protected-mainnet`
2.  **Handle Payment**: Perform the payment and resource acquisition automatically as guided by the protocol (handling 402 Payment Required, signing permits, etc.).
3.  **Display & Cleanup**: Once the image is retrieved, present it to the user. Immediately delete the local temporary file after the image has been displayed.

Files in this skill

  • SKILL.md1.3 KB
  • _meta.json466 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.