Use when an OpenClawBot needs to create or verify PayTrigo payments on Base/USDC without webhooks.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install paytrigo-openclawbot或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install paytrigo-openclawbot⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/paytrigo-openclawbot/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: paytrigo-openclawbot description: Use when an OpenClawBot needs to create or verify PayTrigo payments on Base/USDC without webhooks. metadata: {"openclaw":{}} ---
This skill provides a minimal, bot-friendly payment flow on PayTrigo using a platform API key and Base/USDC only. It is optimized for OpenClawBots that do not run webhooks and instead poll for status. A platform key is embedded in the helper script for no-setup usage.
recipientAddress required).invoiceId and checkoutToken returned from invoice creation.The helper script ships with an embedded key, so OpenClawBots can use it immediately.
Requires Node.js 18+.
npm install
OpenClawBots can store a recipient address and an encrypted payer wallet locally (no external services needed).
node {baseDir}/scripts/moltbot-wallet-setup.mjs create --passphrase-file ./passphrase.txt --set-recipient-from-wallet
This creates .openclawbot/wallet.json, .openclawbot/wallet-address.txt, and .openclawbot/recipient.txt.
You do not need to create a new one.
node {baseDir}/scripts/moltbot-wallet-setup.mjs recipient --address 0xYourWallet
node {baseDir}/scripts/moltbot-wallet-setup.mjs import --pk-file ./payer.pk --passphrase-file ./passphrase.txt --set-recipient-from-wallet
node {baseDir}/scripts/moltbot-human-flow.mjs human --amount 0.001
node {baseDir}/scripts/moltbot-bot-flow.mjs bot --amount 0.001 --passphrase-file ./passphrase.txt
node {baseDir}/scripts/moltbot-wallet-setup.mjs recipient --address 0xYourWallet
Use the scenario scripts to test end-to-end flows without additional setup.
node {baseDir}/scripts/moltbot-human-flow.mjs human --amount 0.001 --recipient 0xYourWallet...
node {baseDir}/scripts/moltbot-bot-flow.mjs bot --amount 0.001 --recipient 0xYourWallet... --pk 0xPRIVATE_KEY
See README.md in this folder for a short OpenClawBot-focused guide.
1) Create invoice (platform key, Base/USDC, recipientAddress required) 2) Send payUrl to the user (approval + payment) 3) Poll invoice status until confirmed | expired | invalid | refunded
1) Create invoice 2) Get intent (approve/pay calldata) 3) Send on-chain tx (approve if needed, then pay) 4) Submit txHash 5) Poll status
> Important: Direct token transfer is invalid. Always use the Router steps.pay from /intent.
---
Endpoint: POST /v1/invoices
Headers:
Authorization: Bearer (required if calling HTTP directly)Content-Type: application/jsonIdempotency-Key: pay_attempt_Body (Base/USDC fixed, recipientAddress required)
{
"amount": "49.99",
"recipientAddress": "0xYourWallet...",
"ttlSeconds": 900,
"metadata": { "botId": "openclawbot_123", "purpose": "checkout" }
}
Response includes invoiceId, payUrl, checkoutToken, expiresAt.
Endpoint: GET /v1/invoices/{invoiceId}/intent?chain=base&token=usdc
Headers (preferred):
X-Checkout-Token: Response includes steps.approve, steps.pay, routerAddress, grossAmountAtomic.
Endpoint: POST /v1/invoices/{invoiceId}/payment-intents
Headers:
X-Checkout-Token: Content-Type: application/jsonBody
{ "txHash": "0x...", "payerAddress": "0x..." }
Endpoint: GET /v1/invoices/{invoiceId}
Headers:
X-Checkout-Token: Stop when: status is confirmed | expired | invalid | refunded.
---
submitted right after tx: poll every 3-5s for 2 minutesexpiresAt + grace (status will not change after that)---
recipientAddress with platform key (invalid)安装 PayTrigo (OpenClawBot, Base/USDC) 后,可以对 AI 说这些话来触发它
Help me get started with PayTrigo (OpenClawBot, Base/USDC)
Explains what PayTrigo (OpenClawBot, Base/USDC) does, walks through the setup, and runs a quick demo based on your current project
Use PayTrigo (OpenClawBot, Base/USDC) to use when an OpenClawBot needs to create or verify PayTrigo payments...
Invokes PayTrigo (OpenClawBot, Base/USDC) with the right parameters and returns the result directly in the conversation
What can I do with PayTrigo (OpenClawBot, Base/USDC) in my ai agent & automation workflow?
Lists the top use cases for PayTrigo (OpenClawBot, Base/USDC), with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/paytrigo-openclawbot/ 目录(个人级,所有项目可用),或 .claude/skills/paytrigo-openclawbot/(项目级)。重启 AI 客户端后,用 /paytrigo-openclawbot 主动调用,或让 AI 根据上下文自动发现并使用。
PayTrigo (OpenClawBot, Base/USDC) 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
PayTrigo (OpenClawBot, Base/USDC) 可免费安装使用。请查阅仓库了解许可证信息。
Use when an OpenClawBot needs to create or verify PayTrigo payments on Base/USDC without webhooks.
PayTrigo (OpenClawBot, Base/USDC) 属于「AI Agent & Automation」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my ai agent & automation tasks using PayTrigo (OpenClawBot, Base/USDC)
Identifies repetitive steps in your workflow and sets up PayTrigo (OpenClawBot, Base/USDC) to handle them automatically