Search

PythonReactSEOPDF
OpenClaw

x402-payment-demo

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

hades-ye0 source installs☆ 0 Repository starsv1.0.2

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install hades-ye/x402-payment-demo

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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.

Source information

Source
github
Repository
openclaw/skills
Path
skills/hades-ye/x402-payment-demo
Version
1.0.2
Commit
f6307d7c423efadedc43022181d7779f81243623
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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.

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.