-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy path.env.example
More file actions
39 lines (31 loc) · 1.62 KB
/
.env.example
File metadata and controls
39 lines (31 loc) · 1.62 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
# Anthropic API (primary) — required for AI summaries, news matching, sentiment
AI_BASE_URL=https://api.anthropic.com
AI_API_KEY=sk-ant-xxx
# Anthropic API (fallback) — optional, used if primary fails
AI_FALLBACK_BASE_URL=
AI_FALLBACK_API_KEY=
# Runtime data directory / SQLite DB path
# Keep this outside repo/ to avoid Next dev watcher pressure.
DATA_DIR=./data
DB_PATH=./data/polyworld.db
# Server-only Polygon RPC list, comma-separated (used by sync loops, balance API).
POLYGON_RPC_URLS=https://api.zan.top/polygon-mainnet
# Client-side Polygon RPC — optional, used by wagmi for on-chain reads (balance, approvals).
# Falls back to public RPCs (polygon-rpc.com, ankr, llamarpc, 1rpc) if not set.
# NEXT_PUBLIC_ prefix is required because this is used in the browser bundle.
NEXT_PUBLIC_POLYGON_RPC_URL=
# UCDP API token — free, request at https://ucdp.uu.se/apidocs/
# Used for conflicts + military overlay layers (real georeferenced event data)
# Without this, falls back to GDELT news-based data
UCDP_TOKEN=
# Ticketmaster Discovery API key — free 5000 req/day, register at https://developer.ticketmaster.com/
# Used for live sports events overlay layer
TICKETMASTER_KEY=
# Cloudflare Radar API token — free, create at https://dash.cloudflare.com/profile/api-tokens
# Used for internet outages overlay layer (select "Radar read" permission)
CLOUDFLARE_TOKEN=
# ACLED API credentials — free research tier, register at https://acleddata.com/register/
# Used for protests/unrest overlay layer (falls back to GDELT without these)
# Uses OAuth: POST to https://acleddata.com/oauth/token with email+password
ACLED_EMAIL=
ACLED_PASSWORD=