Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Create Verify Base Usdc Payments

ASecurity

Use when an OpenClawBot needs to create or verify PayTrigo payments on Base/USDC without webhooks.

19 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsgonodeapi

Works with

cliapi

Security Analysis

A96/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add rondoflow/rondoflow --skill create-verify-base-usdc-payments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Verify Base Usdc Payments?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Create Verify Base Usdc Payments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-create-verify-base-usdc-payments/badge)](https://www.skillsdirectory.com/skills/rondoflow-create-verify-base-usdc-payments)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: create-verify-base-usdc-payments
description: "Use when an OpenClawBot needs to create or verify PayTrigo payments on Base/USDC without webhooks."
category: "Integrations"
author: community
version: "1.0.0"
icon: plug
---

# PayTrigo (OpenClawBot, Base/USDC)

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.

## Assumptions
- **Platform key** is used (**`recipientAddress` required**).
- Base/USDC is the only enabled chain/token for this key (from Platform Fee Configs).
- Bots can store `invoiceId` and `checkoutToken` returned from invoice creation.

## No environment variables required
The helper script ships with an embedded key, so OpenClawBots can use it immediately.

## Install
Requires Node.js 18+.

```
npm install
```

## Local wallet memory (recommended)
OpenClawBots can store a recipient address and an encrypted payer wallet locally (no external services needed).

### 1) Create a local wallet store
```
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`.

### If you already have a wallet
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
```

### 2) Run flows using the stored data
```
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
```

### 3) Optional: set a separate recipient address
```
node {baseDir}/scripts/moltbot-wallet-setup.mjs recipient --address 0xYourWallet
```

## Quickstart (CLI scripts)
Use the scenario scripts to test end-to-end flows without additional setup.

### Human-in-the-loop (user pays in browser)
```
node {baseDir}/scripts/moltbot-human-flow.mjs human --amount 0.001 --recipient 0xYourWallet...
```

### Bot pays directly (requires private key)
```
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.

## Core flow (Human-in-the-loop)
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`

## Core flow (Bot pays directly)
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`.

---

# API Usage (HTTP)

## 1) Create invoice
**Endpoint**: `POST /v1/invoices`

**Headers**:
- `Authorization: Bearer <platform_key>` (required if calling HTTP directly)
- `Content-Type: application/json`
- `Idempotency-Key: pay_attempt_<uuid>`

**Body (Base/USDC fixed, recipientAddress required)**
```json
{
  "amount": "49.99",
  "recipientAddress": "0xYourWallet...",
  "ttlSeconds": 900,
  "metadata": { "botId": "openclawbot_123", "purpose": "checkout" }
}
```

**Response** includes `invoiceId`, `payUrl`, `checkoutToken`, `expiresAt`.

## 2) Get intent (bot-pay)
**Endpoint**: `GET /v1/invoices/{invoiceId}/intent?chain=base&token=usdc`

**Headers** (preferred):
- `X-Checkout-Token: <checkoutToken>`

**Response** includes `steps.approve`, `steps.pay`, `routerAddress`, `grossAmountAtomic`.

## 3) Submit payment intent (txHash)
**Endpoint**: `POST /v1/invoices/{invoiceId}/payment-intents`

**Headers**:
- `X-Checkout-Token: <checkoutToken>`
- `Content-Type: application/json`

**Body**
```json
{ "txHash": "0x...", "payerAddress": "0x..." }
```

## 4) Poll invoice status
**Endpoint**: `GET /v1/invoices/{invoiceId}`

**Headers**:
- `X-Checkout-Token: <checkoutToken>`

**Stop when**: `status` is `confirmed | expired | invalid | refunded`.

---

# Polling policy (safe default)
- `submitted` right after tx: poll every **3-5s** for 2 minutes
- After 2 minutes: poll every **10-15s**
- Stop at `expiresAt + grace` (status will not change after that)
- If you receive **429**, backoff and retry later

---

# Common mistakes
- **Missing `recipientAddress` with platform key** (invalid)
- **Direct token transfer** instead of Router pay
- **Losing checkoutToken** (it is only returned on invoice creation)

Attribution

rondoflowrondoflow
View sourceMore from rondoflow →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693161 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →