# ========================================
# PezkuwiChain - Configuration Template
# ========================================
# Copy this file to .env and update with your actual values
# WARNING: Never commit .env file to git!

# ========================================
# NETWORK CONFIGURATION
# ========================================
VITE_NETWORK=local
# Options: mainnet, staging, testnet, beta, development, local

# Network Endpoints (WebSocket)
VITE_MAINNET_WS=wss://mainnet.pezkuwichain.io
VITE_STAGING_WS=wss://staging.pezkuwichain.io
VITE_TESTNET_WS=wss://testnet.pezkuwichain.io
VITE_BETA_WS=wss://beta.pezkuwichain.io
VITE_DEVELOPMENT_WS=ws://127.0.0.1:9944
VITE_LOCAL_WS=ws://127.0.0.1:9945

# Default active endpoint
VITE_CHAIN_ENDPOINT=ws://127.0.0.1:9944

# ========================================
# AUTHENTICATION & SECURITY
# ========================================
# IMPORTANT: These credentials are for DEMO/TESTING ONLY
# DO NOT use in production! DO NOT commit actual passwords!

# Demo founder account (leave empty for production)
VITE_DEMO_FOUNDER_EMAIL=
VITE_DEMO_FOUNDER_PASSWORD=
VITE_DEMO_FOUNDER_ID=founder-001

# Enable demo mode (false in production)
VITE_ENABLE_DEMO_MODE=true

# ========================================
# SUPABASE CONFIGURATION
# ========================================
# Get these from: https://supabase.com/dashboard/project/vbhftvdayqfmcgmzdxfv/settings/api
# 1. Project URL: Copy from "Project URL" section
# 2. Anon key: Copy from "Project API keys" → "anon" → "public"

VITE_SUPABASE_URL=https://vbhftvdayqfmcgmzdxfv.supabase.co
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key_here

# ========================================
# SUBSTRATE ASSET IDs
# ========================================
# These correspond to assets in the Assets pallet

VITE_ASSET_PEZ=1
VITE_ASSET_HEZ=2
VITE_ASSET_USDT=3
VITE_ASSET_BTC=4
VITE_ASSET_ETH=5
VITE_ASSET_DOT=6

# ========================================
# CHAIN SPECIFICATIONS
# ========================================
VITE_CHAIN_NAME=PezkuwiChain
VITE_CHAIN_TOKEN_SYMBOL=PEZ
VITE_CHAIN_TOKEN_DECIMALS=12
VITE_CHAIN_SS58_FORMAT=42

# Chain IDs (generated from genesis hash)
VITE_MAINNET_CHAIN_ID=0x1234abcd
VITE_STAGING_CHAIN_ID=0x5678efgh
VITE_TESTNET_CHAIN_ID=0x9abcijkl
VITE_BETA_CHAIN_ID=0xdef0mnop
VITE_DEV_CHAIN_ID=0xlocaldev
VITE_LOCAL_CHAIN_ID=0xlocaltest

# ========================================
# EXPLORER & EXTERNAL SERVICES
# ========================================

# Polkadot.js Apps (default explorer)
VITE_EXPLORER_URL=https://polkadot.js.org/apps/?rpc=

# Custom block explorer (when available)
VITE_CUSTOM_EXPLORER_URL=https://explorer.pezkuwichain.io

# WebSocket for real-time updates
VITE_WS_URL=wss://ws.pezkuwichain.io

# ========================================
# FEATURE FLAGS
# ========================================
VITE_ENABLE_KYC=false
VITE_ENABLE_P2P_MARKET=true
VITE_ENABLE_GOVERNANCE=true
VITE_ENABLE_STAKING=true

# ========================================
# DEVELOPMENT & DEBUGGING
# ========================================
VITE_DEBUG_MODE=false
VITE_LOG_LEVEL=info
VITE_API_TIMEOUT=30000
