Settings

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

NEXT_PUBLIC_SUPABASE_URL
Supabase project URL for app state
NEXT_PUBLIC_SUPABASE_ANON_KEY
Supabase anon key for browser CRUD
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
Wallet onboarding
NEXT_PUBLIC_ARC_RPC_URL
Arc Testnet RPC override
NEXT_PUBLIC_ARC_AGENT_REGISTRY_ADDRESS
ERC-8004 identity registry
NEXT_PUBLIC_ARC_REPUTATION_REGISTRY_ADDRESS
ERC-8004 reputation registry
NEXT_PUBLIC_ARC_VALIDATION_REGISTRY_ADDRESS
ERC-8004 validation registry
NEXT_PUBLIC_ARC_JOB_MARKETPLACE_ADDRESS
ERC-8183 job and escrow contract
NEXT_PUBLIC_ARC_ESCROW_VAULT_ADDRESS
Unified Balance escrow recipient
NEXT_PUBLIC_ARC_USDC_ADDRESS
Arc Testnet USDC token
NEXT_PUBLIC_NANOPAYMENTS_SELLER_URL
x402 seller base URL for agent tool calls
SUPABASE_SERVICE_ROLE_KEY
Server-only key for Gateway webhook persistence and dedupe
NEXT_PUBLIC_ARC_MOCK_MODE
Demo/live mode switch
Arc Build / Integrate checklist

Production readiness

Arc Build docs
ReadyArc Testnet network

Chain ID 5042002, RPC, explorer, and USDC gas assumptions are configured.

ReadyERC-8004 identity

IdentityRegistry, ReputationRegistry, and ValidationRegistry addresses are mapped from Arc docs.

ReadyERC-8183 core flow

Job creation, provider budget setting, USDC approval/funding, submission, and completion are wired for live mode.

Readyx402 metered tools

Circle Gateway seller service is isolated under services/nanopayments-seller.

ReadyAgent spend policy

Job-linked caps, selected tools, simulated receipts, and activity events are modeled in demo mode.

ReadyGateway webhooks

POST /api/webhooks/circle-gateway can ingest Gateway notifications and write Activity Log events.

NextEvent monitors

Circle contract event webhooks or an indexer can sync live onchain events into Supabase.

NextReject/refund live actions

ERC-8183 reject() and claimRefund() should be wired before a broader public live beta.

NextCompliance/indexing

Wallet screening, monitoring, and indexed activity are optional production hardening layers.