What if your AI agent could pay for services on its own? Not through your credit card, not via API keys with usage limits โ but with its own wallet, its own spending limits, and complete autonomy.
Today we're releasing moltspay-eliza-plugin, a plugin that brings gasless crypto payments to ElizaOS agents.
What is ElizaOS?
ElizaOS is an open-source framework for building autonomous AI agents. Think of it as the operating system for AI personalities โ agents that can chat, remember context, and take actions.
But until now, these agents couldn't pay for things.
What is MoltsPay?
MoltsPay is payment infrastructure for AI agents using the x402 protocol. The key innovation: completely gasless payments. Your agent signs transactions, but never pays gas fees. A facilitator handles the on-chain execution.
The Plugin: 8 Actions, Fully Bilingual ๐บ๐ธ๐จ๐ณ
bun add moltspay-eliza-plugin
Add to your character:
plugins: [
'@elizaos/plugin-sql',
'moltspay-eliza-plugin',
],
That's it. Your agent now has a wallet.
Actions
| Action | What it does |
|---|---|
๐ MOLTSPAY_INIT
|
Create a new wallet |
๐ฐ MOLTSPAY_STATUS
|
Check balance |
โ๏ธ MOLTSPAY_CONFIG
|
Set spending limits |
๐ต MOLTSPAY_FUND
|
Fund via Coinbase Pay |
๐ฐ MOLTSPAY_FAUCET
|
Get testnet USDC |
๐ MOLTSPAY_SERVICES
|
Browse marketplace |
๐ณ MOLTSPAY_PAY
|
Pay for a service |
๐ MOLTSPAY_LIST
|
Transaction history |
Natural Language, Both Languages
User: Generate a video of a cat dancing in the rain
Agent: ๐ Finding video service...
๐ณ Paying $0.99 USDC...
โ
Done! Here's your video: https://...
User: ๅธฎๆไนฐไธชๆๅญ่ฝฌ่ง้ข๏ผ็ๆไธๅช็ซๅจ่ทณ่
Agent: ๐ ๆ็ดขๆๅกไธญ...
๐ณ ๆฏไป $0.99 USDC...
โ
ๅฎๆ๏ผ่ง้ข้พๆฅ๏ผhttps://...
Why Gasless Matters
Traditional crypto payments require:
- ETH/MATIC for gas
- Complex transaction signing
- Failed transactions = lost gas
With MoltsPay x402:
- Zero gas โ facilitator pays
- Pay-for-success โ payment only settles if service delivers
- Simple signing โ agent just signs, doesn't broadcast
Safety: Built-in Spending Limits
Giving an AI a wallet sounds scary. That's why every wallet has:
- Per-transaction limit (default: $2)
- Daily limit (default: $10)
- Local key storage (never exposed in env/logs)
User: Set my daily limit to $50
Agent: โ
Daily limit updated to $50
Try It: Testnet in 30 Seconds
User: Get testnet USDC
Agent: ๐ฐ Requesting from faucet...
โ
Received 1 USDC on Base Sepolia!
User: What services are available?
Agent: ๐ Popular Services:
1. Text to Video - $0.99 | Zen7
2. Image to Video - $1.49 | Zen7
User: Pay for Text to Video, a sunset over the ocean
Agent: ๐ณ Processing... โ
Payment successful!
๐ฌ https://juai8.com/zen7/videos/xxx.mp4
Links
- GitHub: github.com/Yaqing2023/moltspay-eliza-plugin
- npm: npmjs.com/package/moltspay-eliza-plugin
- MoltsPay: moltspay.com
- Discord: discord.gg/QwCJgVBxVK
What's Next?
We're working on:
- More service providers on the marketplace
- Multi-agent transactions (Agent A pays Agent B)
- PR to ElizaOS official repo
Want to contribute? The plugin is open source. PRs welcome!
Built for the agentic commerce era. ๐ค๐ฐ
Top comments (0)