Good news for developers building AI agent payments! 🎉
MoltsPay now supports Base Sepolia testnet in both Node.js and Python SDKs. Build and test your x402 payment integrations without spending real money.
What's New
- Free testnet USDC via faucet API
- Base Sepolia support (testnet for Base L2)
- Available in
moltspay(npm) andmoltspay(PyPI)
Quick Start (Node.js)
npm install moltspay@latest
# Get testnet USDC
npx moltspay faucet
# Test payment
npx moltspay pay https://moltspay.com/a/yaqing text-to-video --chain base_sepolia --prompt "a cat dancing"
Quick Start (Python)
from moltspay import MoltsPay
client = MoltsPay(chain="base_sepolia")
client.faucet()
result = client.pay(
"https://moltspay.com/a/yaqing",
"text-to-video",
prompt="a cat dancing"
)
Check out more examples in the demos/ directory:
Links
- npm: https://www.npmjs.com/package/moltspay
- PyPI: https://pypi.org/project/moltspay/
- GitHub (Node): https://github.com/Yaqing2023/moltspay
- GitHub (Python): https://github.com/Yaqing2023/moltspay-python
Happy building! 🚀
Top comments (0)