-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
99 lines (80 loc) · 4.13 KB
/
.env.example
File metadata and controls
99 lines (80 loc) · 4.13 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
# DeCleanup Rewards - Environment Variables Example
# Copy this file to .env.local and fill in your values
# ============================================
# Network Configuration
# ============================================
# Chain ID: 8453 = Base Mainnet (default), 84532 = Base Sepolia (testnet)
NEXT_PUBLIC_CHAIN_ID=8453
# RPC URLs (used based on chain ID):
# - Mainnet (8453): NEXT_PUBLIC_RPC_URL
# - Base Sepolia (84532): NEXT_PUBLIC_TESTNET_RPC_URL
# For production, use a dedicated RPC to avoid 429 rate limits. Replace YOUR_ACTUAL_KEY with a real key!
# Alchemy: https://dashboard.alchemy.com → create app → Base Mainnet → copy HTTPS URL (contains your key)
# Example: NEXT_PUBLIC_RPC_URL=https://base-mainnet.g.alchemy.com/v2/YOUR_ACTUAL_KEY
NEXT_PUBLIC_RPC_URL=https://mainnet.base.org
NEXT_PUBLIC_TESTNET_RPC_URL=https://sepolia.base.org
# Block explorer (optional; app auto-uses basescan.org for 8453, sepolia.basescan.org for 84532)
NEXT_PUBLIC_BLOCK_EXPLORER_URL=https://basescan.org
# ============================================
# Base Sepolia (testnet) – when NEXT_PUBLIC_CHAIN_ID=84532
# ============================================
# 1. Set NEXT_PUBLIC_CHAIN_ID=84532
# 2. Deploy: cd contracts && npm run deploy:baseSepolia
# 3. Copy proxy addresses from deploy output into the four vars below. For bDCU use the
# testnet token from deploy log (or TESTNET_BDCU in deployUpgradeable.js).
# 4. RPC: NEXT_PUBLIC_TESTNET_RPC_URL is used (default https://sepolia.base.org). Override
# if you need a different RPC (e.g. Alchemy).
# ============================================
# Smart Contract Addresses (Base Mainnet)
# ============================================
# Impact Product NFT contract address
NEXT_PUBLIC_IMPACT_PRODUCT_NFT_ADDRESS=0x0B3A52260d62268BE75A7EfA12f16E83Ef218656
# Verification Contract address
NEXT_PUBLIC_VERIFICATION_CONTRACT_ADDRESS=0x7fC07dbE598827E619459390674C028BADdD75F5
# Points Reward Distributor (DCU points → claim bDCU)
NEXT_PUBLIC_POINTS_REWARD_DISTRIBUTOR_ADDRESS=0x9F42cf21fB3d5855E2c0B6FCDf5F4A2Cbc1332ba
# $bDCU Token contract address (ERC20). Mainnet: 0x3017…2b07. Base Sepolia: from deploy output.
NEXT_PUBLIC_BDCU_TOKEN_ADDRESS=0x30171b7014c02229497cde6745dd3ad821f12b07
# ============================================
# IPFS / Pinata Configuration
# ============================================
# ⚠️ IMPORTANT: These MUST be server-side only (NOT NEXT_PUBLIC_*)
# These keys are used by the /api/ipfs/upload route to proxy uploads securely
# Never expose these in client-side code!
PINATA_API_KEY=
PINATA_SECRET_KEY=
# IPFS Gateway URL (optional, defaults to Pinata gateway)
NEXT_PUBLIC_IPFS_GATEWAY=https://gateway.pinata.cloud/ipfs/
# ============================================
# Telegram (optional) – notifications for new cleanup submissions
# ============================================
# See TELEGRAM_NOTIFICATIONS.md for setup. Keep server-side only (NOT NEXT_PUBLIC_*).
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
# Invite link for verifiers (Channel or Group). Server-only: returned by /api/verifier-telegram-invite
# only to on-chain verifiers. Create a private Channel (or Group), add the bot, get an invite link (t.me/+...).
VERIFIER_TELEGRAM_INVITE_URL=
# Impact Product metadata CID (optional fallback)
NEXT_PUBLIC_IMPACT_METADATA_CID=
# Impact Product images CID (optional fallback)
NEXT_PUBLIC_IMPACT_IMAGES_CID=
# ============================================
# Farcaster Configuration
# ============================================
# Farcaster Neynar API key (for user context)
NEXT_PUBLIC_FARCASTER_NEYNAR_KEY=
# Base App ID (from Base Build)
NEXT_PUBLIC_BASE_APP_ID=
# ============================================
# WalletConnect Configuration
# ============================================
# WalletConnect Project ID (required)
# Get your Project ID at https://cloud.reown.com
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=
# ============================================
# Application URLs
# ============================================
# Main app URL (used for sharing, redirects, etc.)
NEXT_PUBLIC_MINIAPP_URL=https://miniapp.decleanup.net
# App icon URL (optional, defaults to IPFS)
NEXT_PUBLIC_MINIAPP_ICON_URL=