-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
65 lines (58 loc) · 2.98 KB
/
Copy path.env.example
File metadata and controls
65 lines (58 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# =============================================================================
# seabw (DefiPilot) — Environment Variables
# =============================================================================
# Copy this file to `.env.local` (gitignored) and fill in values.
# Variables prefixed with NEXT_PUBLIC_ are exposed to the browser.
# -----------------------------------------------------------------------------
# HypurrQuant (HQ) backend
# -----------------------------------------------------------------------------
# Origin used by the agent runtime and chat session API.
NEXT_PUBLIC_HQ_ORIGIN=http://localhost:3003
# Base URL (origin + /api/v1) used by lib/hq-api.ts.
NEXT_PUBLIC_HQ_BASE_URL=http://localhost:3003/api/v1
# -----------------------------------------------------------------------------
# Wallet
# -----------------------------------------------------------------------------
# WalletConnect Cloud project ID. Required for WalletConnect connector.
# Get one at https://cloud.walletconnect.com/.
WALLETCONNECT_PROJECT_ID=
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=
# -----------------------------------------------------------------------------
# Chain / RPC
# -----------------------------------------------------------------------------
# Default chain id surfaced to wagmi.
# DEV/DEMO: any supported (8453 Base, 84532 baseSepolia, 999 HyperEVM).
# PROD: MUST be 999 (HyperEVM) — enforced by apps/web/next.config.ts.
NEXT_PUBLIC_DEFAULT_CHAIN_ID=8453
# Per-chain RPC overrides. Empty = use public default.
BASE_RPC_URL=https://mainnet.base.org
BASE_SEPOLIA_RPC_URL=https://sepolia.base.org
# REQUIRED in prod. next.config.ts throws if empty when env=prod.
HYPEREVM_RPC_URL=
# -----------------------------------------------------------------------------
# DefiPilot runtime flags
# -----------------------------------------------------------------------------
# Server-side env label.
# DEV/DEMO: "demo". PROD: "prod" (enforced).
DEFIPILOT_ENV=demo
# Client-side env label. MUST match DEFIPILOT_ENV.
# Used by DemoBanner and next.config.ts prod validation.
NEXT_PUBLIC_DEFIPILOT_ENV=demo
# Show the yellow "DEMO — funds are fake" banner.
# PROD: MUST be "false" — enforced by next.config.ts.
DEFIPILOT_DEMO_BANNER=true
# Disable on-chain execution path (testing only).
DEFIPILOT_DISABLE_EXEC=false
# -----------------------------------------------------------------------------
# LLM (for tools that call Anthropic directly, if any)
# -----------------------------------------------------------------------------
ANTHROPIC_API_KEY=
# =============================================================================
# Production checklist (must hold when NEXT_PUBLIC_DEFIPILOT_ENV=prod):
# - NEXT_PUBLIC_DEFIPILOT_ENV=prod
# - DEFIPILOT_ENV=prod
# - DEFIPILOT_DEMO_BANNER=false
# - NEXT_PUBLIC_DEFAULT_CHAIN_ID=999
# - HYPEREVM_RPC_URL set to a non-empty production RPC
# Build will fail (throw) if any of the above are violated.
# =============================================================================