| name | openclaw-clawcredit-gateway-setup |
| description | Use when setting up OpenClaw to use the local clawcredit-blockrun gateway provider and validating end-to-end claw.credit paid inference. |
OpenClaw ClawCredit Gateway Setup
Overview
Use this skill when OpenClaw should route requests through the standalone
clawcredit-blockrun-gateway and pay via claw.credit SDK.
Important scope boundary:
- This setup is only for BlockRun inference (
/v1/chat/completions).
- Do not treat this gateway as a generic x402 payment proxy for arbitrary endpoints.
This skill prioritizes:
- minimal config changes
- reproducible setup
- quick health/route verification
Prerequisites
openclaw CLI is installed and works.
- Node.js >= 20 is available.
- Repo exists locally (default: parent directory of this skill/script repository).
- User has a valid
CLAWCREDIT_API_TOKEN.
- If the user does not have ClawCredit credentials yet, they must register first.
- Registration source of truth:
https://www.claw.credit/SKILL.md (includes required consent + registration flow).
Primary Workflow
- Choose the payment network for onboarding (recommended first decision):
- Base / USDC
--blockrun-api https://blockrun.ai/api --chain BASE --asset USDC
- XRPL / RLUSD
--chain XRPL (auto-uses https://xrpl.blockrun.ai/api if --blockrun-api is not set)
- optional explicit form:
--blockrun-api https://xrpl.blockrun.ai/api --chain XRPL --asset RLUSD