
MoltsPay: Every OpenClaw Agent Gets a Wallet
Gasless, multi-chain agent payments — from npm to Python SDK to LangChain to OpenClaw Skill

The Agent Economy is Here. We're Building the Rails.
How AI agents will become economic actors — and why payment infrastructure matters more than you think.

Your AI Agent Just Got a Bank Account (Sort Of)
MoltsPay now supports fiat onramp. Users can fund their agent's wallet with a debit card. No crypto experience required.

MoltsPay: Every OpenClaw Agent Gets a Wallet
Gasless, multi-chain agent payments — from npm to Python SDK to LangChain to OpenClaw Skill

The Agent Economy is Here. We're Building the Rails.
How AI agents will become economic actors — and why payment infrastructure matters more than you think.

Your AI Agent Just Got a Bank Account (Sort Of)
MoltsPay now supports fiat onramp. Users can fund their agent's wallet with a debit card. No crypto experience required.
Share Dialog
Share Dialog
Subscribe to 0xD94D
Subscribe to 0xD94D
<100 subscribers
<100 subscribers
当我们构建 AI Agent 时,一个核心问题浮现:Agent 如何为服务付费?
想象一下:你的 Agent 需要调用一个视频生成 API,费用是 $0.99。传统方案是:
用户预存余额
Agent 用 API Key 调用
服务商从余额扣费
这套流程需要人工介入——注册账号、绑卡、充值。对于 Agent-to-Agent 的自动化场景,这完全不可行。
MoltsPay 是一个基于 x402 协议的开源支付基础设施,让 AI Agent 能够:
🔐 自主管理钱包 - 无需人工干预
💸 即时 USDC 支付 - Base 链上,秒级确认
🔍 自动发现服务 - 通过 .well-known/agent-services.json
⛽ 完全无 Gas - CDP Facilitator 代付 gas
Node.js:
npm install moltspay
npx moltspay init --chain base
npx moltspay pay https://juai8.com/zen7 text-to-video --prompt "一只猫在跳舞"Python:
pip install moltspay
moltspay init --chain base
moltspay pay https://juai8.com/zen7 text-to-video --prompt "一只猫在跳舞"两个 SDK 的 CLI 命令完全一致!
JavaScript:
import { MoltsPay } from "moltspay";
const client = new MoltsPay();
const result = await client.pay({
service: "https://juai8.com/zen7",
serviceId: "text-to-video",
params: { prompt: "未来城市的日落" }
});
console.log(result.videoUrl);Python:
from moltspay import MoltsPay
client = MoltsPay()
result = client.pay(
service="https://juai8.com/zen7",
service_id="text-to-video",
params={"prompt": "未来城市的日落"}
)
print(result.video_url)如果你想把自己的 AI 服务变成可被 Agent 发现和购买的商品,只需添加一个 JSON 文件,然后启动服务:
npx moltspay start ./my-skill --port 8402你的服务现在可以被任何 Agent 发现和购买了!
MoltsPay 基于 x402 协议,这是一个 HTTP 原生的支付标准:
Client 请求资源
Server 返回 402 Payment Required + 价格信息
Client 签名支付
Server 验证后返回资源
整个流程在一次 HTTP 请求中完成,无需额外的支付网关。
我们运营的 Zen7 是第一个基于 MoltsPay 的商业服务:
文字生成视频: $0.99/次
图片动画化: $1.49/次
日均交易: 50+ 笔
GitHub (Node): github.com/Yaqing2023/moltspay
GitHub (Python): github.com/Yaqing2023/moltspay-python
Discord: discord.gg/QwCJgVBxVK
有问题?欢迎加入 Discord!MoltsPay 是开源项目,让我们一起构建 Agent 经济的支付基础设施!
当我们构建 AI Agent 时,一个核心问题浮现:Agent 如何为服务付费?
想象一下:你的 Agent 需要调用一个视频生成 API,费用是 $0.99。传统方案是:
用户预存余额
Agent 用 API Key 调用
服务商从余额扣费
这套流程需要人工介入——注册账号、绑卡、充值。对于 Agent-to-Agent 的自动化场景,这完全不可行。
MoltsPay 是一个基于 x402 协议的开源支付基础设施,让 AI Agent 能够:
🔐 自主管理钱包 - 无需人工干预
💸 即时 USDC 支付 - Base 链上,秒级确认
🔍 自动发现服务 - 通过 .well-known/agent-services.json
⛽ 完全无 Gas - CDP Facilitator 代付 gas
Node.js:
npm install moltspay
npx moltspay init --chain base
npx moltspay pay https://juai8.com/zen7 text-to-video --prompt "一只猫在跳舞"Python:
pip install moltspay
moltspay init --chain base
moltspay pay https://juai8.com/zen7 text-to-video --prompt "一只猫在跳舞"两个 SDK 的 CLI 命令完全一致!
JavaScript:
import { MoltsPay } from "moltspay";
const client = new MoltsPay();
const result = await client.pay({
service: "https://juai8.com/zen7",
serviceId: "text-to-video",
params: { prompt: "未来城市的日落" }
});
console.log(result.videoUrl);Python:
from moltspay import MoltsPay
client = MoltsPay()
result = client.pay(
service="https://juai8.com/zen7",
service_id="text-to-video",
params={"prompt": "未来城市的日落"}
)
print(result.video_url)如果你想把自己的 AI 服务变成可被 Agent 发现和购买的商品,只需添加一个 JSON 文件,然后启动服务:
npx moltspay start ./my-skill --port 8402你的服务现在可以被任何 Agent 发现和购买了!
MoltsPay 基于 x402 协议,这是一个 HTTP 原生的支付标准:
Client 请求资源
Server 返回 402 Payment Required + 价格信息
Client 签名支付
Server 验证后返回资源
整个流程在一次 HTTP 请求中完成,无需额外的支付网关。
我们运营的 Zen7 是第一个基于 MoltsPay 的商业服务:
文字生成视频: $0.99/次
图片动画化: $1.49/次
日均交易: 50+ 笔
GitHub (Node): github.com/Yaqing2023/moltspay
GitHub (Python): github.com/Yaqing2023/moltspay-python
Discord: discord.gg/QwCJgVBxVK
有问题?欢迎加入 Discord!MoltsPay 是开源项目,让我们一起构建 Agent 经济的支付基础设施!
No activity yet