Skip to content

feat(wallet): Arc as a third payment chain - #198

Merged
VickyXAI merged 3 commits into
mainfrom
feat/arc-payment-chain
Oct 28, 2026
Merged

VickyXAI merged 3 commits into
mainfrom
feat/arc-payment-chain

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

Adds Arc (Circle, eip155:5042) as a third wallet chain next to Base and Solana.

  • PaymentChain = base | solana | arc; action:"chain" chain:"arc"; Arc pays from the Base EVM key against arc.blockrun.ai.
  • @blockrun/llm ^3.15.1 → ^3.25.0 (Arc EIP-712 domain landed in 3.16).
  • Arc balance via arc.blockrun.ai/api/v1/balance (or ARC_RPC_URL); status shows all three.
  • Setup/QR/onramp/errors/tool descriptions/README/skills updated; context-cost card regenerated.
  • New test/arc-chain.test.ts (9). Full suite 1431/1433: the two failures are video-money-path timing tests that fail the same way on origin/main (control run, 15 min, different test each time).
  • Live: one paid chat on Arc from 0xCC8c, $0.002, Arc balance 24.25172 → 24.24972.

Not published; no version bump.

🤖 Generated with Claude Code

action:"chain" chain:"arc" pays from the Base key against
arc.blockrun.ai. The SDK (bumped to 3.25, which signs Arc's USDC domain)
picks Arc from the 402's network, so every client gets apiUrl and every
hand-built URL goes through getApiBase(). Status shows the Arc balance,
read from the Arc gateway (ARC_RPC_URL first when set; no public Arc RPC
answers and a keyed one cannot ship in a client). Setup, QR (EIP-681 on
chain 5042), onramp refusal and error texts name Arc.

Nothing autodetects Arc: an install that never chose it stays where it
was. Verified live: one chat paid $0.002 on Arc from 0xCC8c, balance
24.25172 -> 24.24972.
codex review: arc.blockrun.ai was missing from BLOCKRUN_HOSTS, so every
call on the Arc rail kept the SDK user agent.
codex review: the EVM submit path passed "base" to assertVideoQuoteSane,
so the Arc hint was unreachable and an Arc user was told to retry on
Solana, the rail that substitutes azure/sora-2.
@VickyXAI
VickyXAI merged commit 83dcd34 into main Oct 28, 2026
3 checks passed
@VickyXAI
VickyXAI deleted the feat/arc-payment-chain branch October 28, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant