Skip to content
Worix
BrowsePublish
Log inSign Up

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...

49 downloads
Free
Reviewed
AI Agent
Agentic Wallet
Multi Chain
Payment
USDC

MoltsPay Client Skill

Pay for AI services using USDC/USDT. Supports multiple chains. 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

CommandDescription
moltspay initCreate wallet (works on all chains)
moltspay statusCheck balance on each chain
moltspay configModify spending limits
moltspay services <url>List services from a provider or marketplace
moltspay pay <url> <service> --chain <chain>Pay for a service

Wallet Setup

moltspay init creates one wallet that works on all supported chains:

ChainTokensNotes
BaseUSDC, USDTRecommended, lowest fees
PolygonUSDCAlternative option

Same address, same private key — works everywhere.

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

Discover Services

Marketplace Discovery

List all services on MoltsPay marketplace:

moltspay services https://moltspay.com

Single Provider Discovery

List services from a specific provider:

moltspay services https://juai8.com/zen7

Shows provider name, wallet, supported chains, and all services with prices.

Present results as a table to users:

ServicePriceChains
text-to-video$0.99 USDCBase, Polygon
image-to-video$1.49 USDCBase, Polygon

Never show raw JSON to users - always format nicely.

Chain Selection (Pay Only)

When paying:

  • If server accepts only one chain → auto-selected
  • If server accepts multiple chains → specify with --chain
ChainTokensNotes
BaseUSDC, USDTDefault, lowest fees
PolygonUSDCAlternative

Examples:

moltspay pay https://juai8.com/zen7 text-to-video --prompt "a cat dancing" --chain base
moltspay pay https://juai8.com/zen7 text-to-video --prompt "a cat dancing" --chain polygon

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
  • --chain to specify which chain to pay on
  • --token to specify token (USDC or USDT, default USDC)

Example: Zen7 video generation

moltspay pay https://juai8.com/zen7 text-to-video --prompt "sunset over ocean" --chain base

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.

Funding Your Wallet

Your wallet address works on ALL chains. Fund on whichever chain you'll use:

ChainTokenHow to fund
BaseUSDCSend from Coinbase, MetaMask, etc.
PolygonUSDCSend from any Polygon-compatible wallet

⚠️ Important:

  • Balance on Base ≠ Balance on Polygon (they're separate!)
  • Check balance per chain with moltspay status
  • No ETH/MATIC needed (gasless transactions via x402)

Common User Requests

"Generate a video of X"

  1. Check wallet status (moltspay status)
  2. If not initialized → run moltspay init
  3. If balance is 0 → tell user to fund wallet
  4. If funded → pay for text-to-video service with appropriate chain
  5. Return video URL to user

"What's my balance?"

Run moltspay status and report:

  • Wallet address
  • Balance on each chain (Base, Polygon)
  • Spending limits
  • Today's usage

"What services are available?"

Run moltspay services https://moltspay.com to list marketplace. Format results as a clean table with service names, prices, and providers.

Error Handling

ErrorSolution
Insufficient balanceFund wallet with USDC on the chain you want to use
Exceeds daily limitWait until tomorrow, or increase limit with moltspay config
Exceeds per-tx limitIncrease limit with moltspay config
Service not foundVerify service URL and ID
Chain mismatchServer doesn't accept specified chain. Check supported chains.
Multi-chain requiredServer accepts multiple chains. Specify --chain base or --chain polygon

Links

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

Download

ZIP package — ready to use

Skill Info

Creator
Yaqing2023
Downloads
49
Published
Mar 15, 2026
Updated
Mar 16, 2026