|
| 1 | +# 🍪 Cookie Jar Environment Configuration |
| 2 | +# Copy this file to .env.local and fill in your values |
| 3 | + |
| 4 | +# ============================================================================= |
| 5 | +# FRONTEND CONFIGURATION |
| 6 | +# ============================================================================= |
| 7 | + |
| 8 | +# WalletConnect Project ID (required for wallet connections) |
| 9 | +# Get one at: https://cloud.walletconnect.com/ |
| 10 | +NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID="" |
| 11 | + |
| 12 | +# Alchemy API Key (optional but recommended for better RPC performance) |
| 13 | +# Get one at: https://www.alchemy.com/ |
| 14 | +NEXT_PUBLIC_ALCHEMY_ID="" |
| 15 | + |
| 16 | +# ============================================================================= |
| 17 | +# CONTRACTS CONFIGURATION |
| 18 | +# ============================================================================= |
| 19 | + |
| 20 | +# Deployer private key (for testnet/mainnet deployments) |
| 21 | +# ⚠️ NEVER commit real private keys to version control! |
| 22 | +PRIVATE_KEY= |
| 23 | + |
| 24 | +# Anvil private key (hardcoded for local development - safe to commit) |
| 25 | +ANVIL_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 |
| 26 | + |
| 27 | +# Etherscan API key for contract verification |
| 28 | +ETHERSCAN_API_KEY=dummy |
| 29 | + |
| 30 | +# Deployment configuration |
| 31 | +DEPLOYER_SCRIPT=Deploy.s.sol:Deploy |
| 32 | +DEPLOYER_CHAIN_NAME=celo-alfajores |
| 33 | + |
| 34 | +# ============================================================================= |
| 35 | +# RPC ENDPOINTS |
| 36 | +# ============================================================================= |
| 37 | + |
| 38 | +# Celo Network |
| 39 | +CELO_URL="https://forno.celo.org" |
| 40 | +ALFAJORES_URL="https://alfajores-forno.celo-testnet.org" |
| 41 | + |
| 42 | +# Ethereum Network |
| 43 | +ETHEREUM_URL="https://eth.drpc.org" |
| 44 | +SEPOLIA_URL="https://sepolia.drpc.org" |
| 45 | + |
| 46 | +# Base Network |
| 47 | +BASE_URL="https://base.drpc.org" |
| 48 | +BASE_SEPOLIA_URL="https://sepolia.base.org" |
| 49 | + |
| 50 | +# Local development (Anvil) |
| 51 | +RPC_URL=http://127.0.0.1:8545 |
| 52 | + |
| 53 | +# ============================================================================= |
| 54 | +# CONTRACT VERIFICATION |
| 55 | +# ============================================================================= |
| 56 | + |
| 57 | +# Etherscan API keys for different networks |
| 58 | +ETHERSCAN_API_KEY= |
| 59 | +BASESCAN_API_KEY= |
| 60 | +CELOSCAN_API_KEY= |
| 61 | + |
| 62 | +# ============================================================================= |
| 63 | +# LOCAL DEVELOPMENT CONFIGURATION |
| 64 | +# ============================================================================= |
| 65 | + |
| 66 | +# Path to local deployment file (relative to contracts directory) |
| 67 | +LOCAL_DEPLOYMENT_FILE=../client/public/contracts/local-deployment.json |
0 commit comments