-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathenv.example
More file actions
90 lines (69 loc) · 3.21 KB
/
Copy pathenv.example
File metadata and controls
90 lines (69 loc) · 3.21 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# ===========================================
# Gnars DAO Website - Environment Variables
# ===========================================
# Site Configuration
NEXT_PUBLIC_SITE_URL=https://gnars.com
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# ===========================================
# Blockchain & RPC
# ===========================================
# Alchemy API Key (required for treasury, token data, and RPC)
# Get your key from https://dashboard.alchemy.com/
ALCHEMY_API_KEY=your_alchemy_api_key_here
NEXT_PUBLIC_ALCHEMY_API_KEY=your_alchemy_api_key_here
# Base RPC URL (optional - falls back to public RPC)
NEXT_PUBLIC_BASE_RPC_URL=https://base-mainnet.g.alchemy.com/v2/your_key
BASE_RPC=https://mainnet.base.org
# Basescan API Key (for treasury performance data)
# Get your key from https://basescan.org/apis
BASESCAN_API_KEY=your_basescan_api_key_here
# ===========================================
# Web3 & Wallet
# ===========================================
# thirdweb Client ID (required for login + onchain writes)
# Get your ID from https://thirdweb.com/dashboard
NEXT_PUBLIC_THIRDWEB_CLIENT_ID=your_thirdweb_client_id_here
# WalletConnect Project ID (required for wallet connections)
# Get your ID from https://cloud.walletconnect.com/
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_walletconnect_project_id_here
# ===========================================
# Subgraph & Data
# ===========================================
# Goldsky Project ID (optional - has default)
NEXT_PUBLIC_GOLDSKY_PROJECT_ID=project_cm33ek8kjx6pz010i2c3w8z25
# Zora Coins Subgraph URL (optional)
NEXT_PUBLIC_ZORA_COINS_SUBGRAPH_URL=
# ===========================================
# External APIs
# ===========================================
# Zora API Key (for coins and NFT data)
# Get your key from https://docs.zora.co/
NEXT_PUBLIC_ZORA_API_KEY=your_zora_api_key_here
# CoinGecko API Key (for price data)
# Get your key from https://www.coingecko.com/api/pricing
COINGECKO_API_KEY=your_coingecko_api_key_here
# Pinata API Configuration (for IPFS uploads)
# Get your JWT from https://app.pinata.cloud/developers/api-keys
PINATA_JWT=your_pinata_jwt_here
# Neynar API Key (for Farcaster integration)
# Get your key from https://neynar.com/
NEYNAR_API_KEY=your_neynar_api_key_here
# 0x Swap API Key (server-only — used by /api/0x/* proxy routes for the /swap page)
# Get your key from https://dashboard.0x.org/
# The affiliate fee recipient (DAO treasury) and rate (SWAP_FEE_BPS) live in
# src/lib/config.ts; only the API key is read from the environment.
ZEROX_API_KEY=your_0x_api_key_here
# ===========================================
# Rounds (community contests) — Postgres
# ===========================================
# Connection string for the Rounds feature datastore. Checked in priority
# order: ROUNDS_DATABASE_URL → DATABASE_PUBLIC_URL → DATABASE_URL.
# When none is set, the Rounds tab renders but submissions/voting are disabled.
ROUNDS_DATABASE_URL=postgres://user:password@host:5432/dbname
# DATABASE_PUBLIC_URL=
# DATABASE_URL=
# ===========================================
# Optional / Advanced
# ===========================================
# USDC Contract Address on Base (optional - has default)
USDC_BASE=0x833589fCD6EDb6E08f4c7C32D4f71b54bdA02913