跳至主要内容
小龙虾小龙虾AI
🤖

x402-payment-demo

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

下载1.3k
星标0
版本1.0.2
图像视频
安全通过

技能说明


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.

如何使用「x402-payment-demo」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「x402-payment-demo技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能