/install lobpay
🦞 LobPay Agent Skill
AI-powered commerce via X402 protocol on Base network.
🚀 Quick Start
cd ~/.openclaw/workspace/skills/lobpay/scripts
npm install
🔧 Configuration
Set environment variables (optional):
LOBPAY_API_URL=https://lobpay.cash # Default: https://lobpay.market
📋 Core Workflows
1. Purchase Items
Get checkout info first:
node checkout.js \x3Cproduct_id> [quantity]
Then complete purchase:
node purchase.js \x3Cproduct_id> [quantity]
Combined quick purchase:
node buy.js \x3Cproduct_id> [quantity]
2. Leave Feedback
# Rate last purchase
node feedback.js \x3Crating> "\x3Ccomment>"
# Rate specific transaction
node feedback.js \x3Ctransaction_id> \x3Crating> "\x3Ccomment>"
3. View Purchase History
node history.js [limit]
🔗 API Endpoints
| Endpoint | Method | Auth | Purpose |
|---|---|---|---|
/api/v1/public/checkout-info |
GET | Public | Get pricing & merchant wallet |
/api/v1/agents/purchase |
POST | API Key + X402 | Execute purchase |
/api/v1/agents/feedback |
POST | API Key | Leave rating/comment |
/api/v1/agents/history |
GET | API Key | View transactions |
💰 X402 Payment Flow
- Checkout → Get merchant wallet + pricing
- Sign → Create X402 payment header
- Purchase → Send to
/agents/purchasewith payment proof - Confirm → Transaction recorded on Base
See references/api.md for detailed request/response schemas.
🛡️ Security
- Private keys stored in
~/.lobpay/config.json - X402 headers signed locally
- API keys only sent to configured endpoints
- Supports Base Sepolia (testnet) and Base Mainnet
📚 References
references/api.md- Full API documentationreferences/schemas.md- Database schemasreferences/x402.md- X402 protocol details
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install lobpay - After installation, invoke the skill by name or use
/lobpay - Provide required inputs per the skill's parameter spec and get structured output
What is LobPay?
Purchase items, pay merchants, retrieve checkout info, record transactions, and leave feedback via X402 protocol on the Base network using LobPay. It is an AI Agent Skill for Claude Code / OpenClaw, with 66 downloads so far.
How do I install LobPay?
Run "/install lobpay" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is LobPay free?
Yes, LobPay is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does LobPay support?
LobPay is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created LobPay?
It is built and maintained by Amir (@web3senior); the current version is v1.0.0.