Skip to content

feat: add claw credit payment mode integration with setup tooling#35

Open
tsubasakong wants to merge 4 commits intoBlockRunAI:mainfrom
tsubasakong:split/clawcredit-integration
Open

feat: add claw credit payment mode integration with setup tooling#35
tsubasakong wants to merge 4 commits intoBlockRunAI:mainfrom
tsubasakong:split/clawcredit-integration

Conversation

@tsubasakong
Copy link

Summary

  • add paymentMode: clawcredit flow for BlockRun inference without local wallet signing
  • switch claw.credit pay path to official @t54-labs/clawcredit-sdk
  • add OpenClaw setup helper script: scripts/setup-clawcredit.sh
  • include bash-safety fixes for the setup script

Test Plan

  • npx -y tsx test/clawcredit-mode.ts
  • npm run typecheck
  • bun run build
…ence

Add a claw.credit-backed payment path for OpenClaw BlockRun proxy requests, including payment mode selection, env/config wiring, health/reporting updates, and integration coverage.
Replace custom claw.credit payload construction with @t54-labs/clawcredit-sdk pay() integration, add SDK dependency/types, and tighten integration tests to assert official sdk_meta identity and richer audit context capture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant