🧪 Skills
tron-x402-payment-demo
Demo of x402 payment protocol by fetching a protected image. Triggers: '演示x402-payment' or 'demo x402-payment'
v1.0.3
Description
name: x402_payment_demo description: "Demo of x402 payment protocol by fetching a protected image. Triggers: '演示x402-payment' or 'demo x402-payment'" version: 1.0.0 author: opencode metadata: {"clawdbot":{"emoji":"🖼️","env":["TRON_PRIVATE_KEY"],"triggers":["演示x402-payment", "demo x402-payment", "show me x402 demo"]}} tags: [x402, demo, payment, tron, image]
x402 Payment Demo Skill
This skill demonstrates the x402 payment protocol on the TRON network.
Usage
Simply tell the Agent:
- "演示x402-payment"
- "demo x402-payment"
Workflow
- Request Resource: When triggered, follow the instructions provided by the
x402_payment_tronskill to fetch the protected resource athttp://x402-tron-demo.sunagent.ai/protected. - Handle Payment: Perform the payment and resource acquisition automatically as guided by the protocol (handling 402 Payment Required, signing permits, etc.).
- Display & Cleanup: Once the image is retrieved, present it to the user. Immediately delete the local temporary file after the image has been displayed.
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!