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...
Pay for AI services using USDC/USDT. Supports multiple chains. No gas needed.
| Command | Description |
|---|---|
moltspay init | Create wallet (works on all chains) |
moltspay status | Check balance on each chain |
moltspay config | Modify spending limits |
moltspay services <url> | List services from a provider or marketplace |
moltspay pay <url> <service> --chain <chain> | Pay for a service |
moltspay init creates one wallet that works on all supported chains:
| Chain | Tokens | Notes |
|---|---|---|
| Base | USDC, USDT | Recommended, lowest fees |
| Polygon | USDC | Alternative 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.
List all services on MoltsPay marketplace:
moltspay services https://moltspay.com
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:
| Service | Price | Chains |
|---|---|---|
| text-to-video | $0.99 USDC | Base, Polygon |
| image-to-video | $1.49 USDC | Base, Polygon |
Never show raw JSON to users - always format nicely.
When paying:
--chain| Chain | Tokens | Notes |
|---|---|---|
| Base | USDC, USDT | Default, lowest fees |
| Polygon | USDC | Alternative |
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
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
Users can configure:
Use moltspay config to modify limits.
Your wallet address works on ALL chains. Fund on whichever chain you'll use:
| Chain | Token | How to fund |
|---|---|---|
| Base | USDC | Send from Coinbase, MetaMask, etc. |
| Polygon | USDC | Send from any Polygon-compatible wallet |
⚠️ Important:
moltspay statusmoltspay status)moltspay initRun moltspay status and report:
Run moltspay services https://moltspay.com to list marketplace.
Format results as a clean table with service names, prices, and providers.
| Error | Solution |
|---|---|
| Insufficient balance | Fund wallet with USDC on the chain you want to use |
| Exceeds daily limit | Wait until tomorrow, or increase limit with moltspay config |
| Exceeds per-tx limit | Increase limit with moltspay config |
| Service not found | Verify service URL and ID |
| Chain mismatch | Server doesn't accept specified chain. Check supported chains. |
| Multi-chain required | Server accepts multiple chains. Specify --chain base or --chain polygon |
ZIP package — ready to use