-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathenv.example
More file actions
129 lines (104 loc) · 5.04 KB
/
Copy pathenv.example
File metadata and controls
129 lines (104 loc) · 5.04 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# ===========================================
# Gnars DAO Website - Environment Variables
# ===========================================
# Site Configuration
NEXT_PUBLIC_SITE_URL=https://www.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 recipients (Gnars split on Base, cross-chain wallet elsewhere)
# 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
# ===========================================
# KeepKey Dropship / Fulfillment (server-only — NEVER prefix NEXT_PUBLIC_)
# See docs/integrations/keepkey-fulfillment.md. Tokens are issued in the
# KeepKey affiliate portal (Dropship tab) and shown once. Set real values in
# Vercel env / .env.local — do not commit them.
# ===========================================
# NOTE: the fulfillment mode (test/live) is NOT an env var — it's set in code at
# src/lib/config.ts (`KEEPKEY_DROPSHIP_MODE`). Change it there to go live.
# Bearer tokens (kk_ds_live_… / kk_ds_test_…)
KEEPKEY_DROPSHIP_LIVE_TOKEN=
KEEPKEY_DROPSHIP_TEST_TOKEN=
# API base URL — confirm from the dropship API docs once published
KEEPKEY_DROPSHIP_BASE_URL=
# Secret KeepKey signs webhooks with (HMAC-SHA256, X-KeepKey-Signature header)
KEEPKEY_DROPSHIP_WEBHOOK_SECRET=
# Shared secret gating LIVE order creation via POST /api/store/orders (x-gnars-internal
# header). The /api/store/checkout payment gate does not need it. Not needed for sandbox.
KEEPKEY_DROPSHIP_INTERNAL_SECRET=
# Dedicated store checkout wallet — customers pay USDC on Base here; the server verifies
# the transfer before forwarding the order to KeepKey. Public (recipient address). Defaults
# to the Gnars store wallet hardcoded in src/lib/config.ts; set only to override per-deploy.
NEXT_PUBLIC_STORE_CHECKOUT_ADDRESS=
# ===========================================
# Transactional email (SMTP) — order receipts
# Gmail SMTP by default (mirrors SkateHive). EMAIL_USER/EMAIL_PASS gate sending: if unset,
# receipts are skipped (orders still succeed). Gmail needs an App Password, not the login.
# ===========================================
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
EMAIL_USER=
EMAIL_PASS=
# Optional From address; defaults to EMAIL_USER.
EMAIL_FROM=