ArcHive integration map
Demo mode is automatic when secrets or contract addresses are missing. Live mode plugs into the isolated files under src/lib/arc.
Environment variables
Production readiness
Chain ID 5042002, RPC, explorer, and USDC gas assumptions are configured.
IdentityRegistry, ReputationRegistry, and ValidationRegistry addresses are mapped from Arc docs.
Job creation, provider budget setting, USDC approval/funding, submission, and completion are wired for live mode.
Circle Gateway seller service is isolated under services/nanopayments-seller.
Job-linked caps, selected tools, simulated receipts, and activity events are modeled in demo mode.
POST /api/webhooks/circle-gateway can ingest Gateway notifications and write Activity Log events.
Circle contract event webhooks or an indexer can sync live onchain events into Supabase.
ERC-8183 reject() and claimRefund() should be wired before a broader public live beta.
Wallet screening, monitoring, and indexed activity are optional production hardening layers.