← 返回
AI智能 中文

MoltsPay Skill

Pay for and use AI services via MoltsPay protocol. Trigger: User asks to generate video, use a paid service, etc. Auto-discovers services from /.well-known/a...
通过MoltsPay协议支付并使用AI服务。触发条件:用户请求生成视频、使用付费服务等。自动从/.well-known/目录下发现服务。
yaqing2023
AI智能 clawhub v1.0.0 4 版本 100000 Key: 无需
★ 0
Stars
📥 831
下载
💾 19
安装
4
版本
#agentic wallet#ai agent#latest#multi chain#payment#usdc

概述

MoltsPay Client Skill

Pay for AI services using USDC on Base chain. No gas needed.

When to Use

  • User asks to generate a video, image, or use any paid AI service
  • User asks about wallet balance or payment history
  • User wants to discover available services
  • User mentions "pay", "buy", "purchase" + AI service

Available Commands

The moltspay CLI provides these commands:

CommandDescription
----------------------
moltspay init --chain baseCreate wallet (first time only)
moltspay statusCheck balance and limits
moltspay configModify spending limits
moltspay pay Pay for a service

Wallet Setup

On first use, initialize the wallet with sensible defaults:

  • Chain: Base (mainnet)
  • Max per transaction: $2 USDC
  • Daily limit: $10 USDC

After setup, tell user their wallet address and that they need to fund it with USDC on Base.

Discover Services

MoltsPay API

Query available services:

  • Search: GET https://moltspay.com/api/search?q=
  • List all: GET https://moltspay.com/api/services

Provider Discovery

Providers publish services at /.well-known/agent-services.json

Example: https://juai8.com/.well-known/agent-services.json

Present results as a table to users:

ServicePriceDescription
-----------------------------
text-to-video$0.99Generate video from text prompt
image-to-video$1.49Animate an image

Never show raw JSON to users - always format nicely.

Paying for Services

Use the moltspay pay command with the provider URL and service ID.

Parameters vary by service:

  • --prompt for text-based services
  • --image for image-based services
  • --duration for video length

Example: Zen7 video generation at https://juai8.com/zen7

Spending Limits

Users can configure:

  • max-per-tx: Maximum per transaction (default $2)
  • max-per-day: Daily spending limit (default $10)

Use moltspay config to modify limits.

Common User Requests

"Generate a video of X"

  1. Check wallet status
  2. If not initialized → init first
  3. If balance is 0 → tell user to fund wallet
  4. If funded → pay for text-to-video service
  5. Return video URL to user

"What's my balance?"

Run status check and report balance, limits, and today's usage.

"What services are available?"

Query the MoltsPay API, format results as a clean list with prices.

Error Handling

ErrorSolution
-----------------
Insufficient balanceTell user to fund wallet with USDC on Base
Exceeds daily limitWait until tomorrow, or increase limit
Exceeds per-tx limitIncrease limit with config command
Service not foundVerify service URL and ID

Funding Instructions

Tell users:

  1. Get wallet address from status command
  2. Send USDC on Base chain to that address
  3. Use Coinbase, MetaMask, or any Base-compatible wallet
  4. No ETH needed (gasless transactions)

Links

  • Docs: https://moltspay.com/docs
  • Services: https://moltspay.com/services
  • GitHub: https://github.com/Yaqing2023/moltspay

版本历史

共 4 个版本

  • v1.0.0 当前
    2026-05-01 03:57 安全 安全
  • v0.1.1
    2026-03-31 18:54 安全
  • v0.1.3
    2026-03-18 20:28
  • v0.1.2
    2026-03-14 01:40

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,424
ai-intelligence

Nano Banana Pro

steipete
使用 Nano Banana Pro (Gemini 3 Pro Image) 生成或编辑图像。支持文生图、图生图及 1K/2K/4K 分辨率,适用于图像创建、修改及编辑请求,使用 --input-image 指定输入图像。
★ 418 📥 115,232
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,858