DEV Community

Yaqing2023
Yaqing2023

Posted on

MoltsPay 1.3.0: Now with Tempo Testnet & MPP Protocol Support

MoltsPay 1.3.0: Now with Tempo Testnet & MPP Protocol Support

We just shipped MoltsPay 1.3.0 with support for the Tempo Moderato testnet and the Machine Payments Protocol (MPP) β€” making it even easier for AI agents to pay each other.

What's New

🎡 Tempo Testnet Support

Tempo is a gas-free blockchain designed for machine-to-machine payments. With MoltsPay 1.3.0, you can now test agent payments without spending real money or worrying about gas fees.

# Get free testnet tokens
npx moltspay faucet --chain tempo_moderato

# Pay on Tempo (completely gas-free!)
npx moltspay pay https://juai8.com/zen7 text-to-video \
  --prompt "a robot dancing" \
  --chain tempo_moderato
Enter fullscreen mode Exit fullscreen mode

Tempo Stablecoins:

  • pathUSD (USDC equivalent)
  • alphaUSD (USDT equivalent)

πŸ€– MPP Protocol Support

MPP (Machine Payments Protocol) is an alternative to x402 that's simpler for gas-free chains like Tempo:

Client                         Server
  β”‚ POST /service                β”‚
  β”‚ ─────────────────────────>   β”‚
  β”‚ 402 + WWW-Authenticate       β”‚
  β”‚ <─────────────────────────   β”‚
  β”‚ [Execute transfer on Tempo]  β”‚
  β”‚ POST + Authorization: Paymentβ”‚
  β”‚ ─────────────────────────>   β”‚
  β”‚ 200 OK + result              β”‚
  β”‚ <─────────────────────────   β”‚
Enter fullscreen mode Exit fullscreen mode

The client executes the payment directly on-chain, then retries with the transaction hash. No intermediary needed.

πŸ” Service Discovery

New CLI options for finding services:

# Search by keyword
npx moltspay services -q "video"

# Filter by price
npx moltspay services --max-price 1.00

# Filter by type
npx moltspay services --type api_service

# Filter by tag
npx moltspay services --tag ai
Enter fullscreen mode Exit fullscreen mode

Protocol Comparison

Protocol Chains Gas How it works
x402 Base, Polygon Gasless (CDP pays) Client signs, facilitator executes
MPP Tempo Native gas-free Client executes directly

Both protocols use HTTP 402 Payment Required β€” the difference is who submits the transaction.

Quick Start

1. Install:

npm install moltspay@latest
Enter fullscreen mode Exit fullscreen mode

2. Initialize wallet:

npx moltspay init
Enter fullscreen mode Exit fullscreen mode

3. Get testnet tokens:

# Option A: Base Sepolia (x402)
npx moltspay faucet

# Option B: Tempo Moderato (MPP)
npx moltspay faucet --chain tempo_moderato
Enter fullscreen mode Exit fullscreen mode

4. Test a payment:

npx moltspay pay https://juai8.com/zen7 text-to-video \
  --prompt "a man dancing in the rain" \
  --chain tempo_moderato
Enter fullscreen mode Exit fullscreen mode

For Service Providers

Add Tempo support to your existing service with one line:

{
  "provider": {
    "wallet": "0x...",
    "chains": ["base", "tempo_moderato"]
  }
}
Enter fullscreen mode Exit fullscreen mode

MoltsPay server automatically handles both x402 and MPP protocols on the same endpoint.

What's Next

  • More testnet integrations
  • Registry UI improvements
  • Python SDK update with MPP support

Links


Got questions? Drop by our Discord or open an issue on GitHub.

Happy building! πŸš€

Top comments (0)