omniclaw
omniclaw copied to clipboard
TypeScript client
Summary
Adds a publishable Node.js / TypeScript client under npm/omniclaw for OmniClaw-style payment workflows on top of Circle APIs: simulation before spend, wallet balance, payment intents, optional x402 / nanopayments via Circle Gateway, guardrails, trust hooks, in-memory ledger, webhook signature verification, and seller helpers with facilitator stubs.
What’s included
OmniClawclient — payments, routing (payWithRouting), intents, nanopayment key management, encrypted keystore option- Safety / ops — budget, rate limit, recipient, single-tx, and confirm guards; optional trust gate; strict settlement behavior in prod-like envs
- Seller surface —
createSeller,CircleGatewayFacilitator,createFacilitatorfor common facilitator IDs - Compat exports — snake_case helpers and shared error names where teams expect them from other bindings
npm run smoke:validate— offline integration smoke test with mocked HTTP (no live Circle calls)
How to verify
cd npm/omniclaw
npm install
npm run release:check
npm run smoke:validate