Files
B.Tech-Project-III/negot8/.env.example
2026-04-05 00:43:23 +05:30

55 lines
3.9 KiB
Plaintext

# ─────────────────────────────────────────────────────────────────────────────
# negoT8 — Environment Variables Template
# Copy this file to .env and fill in your values:
# cp .env.example .env
#
# ⚠️ NEVER commit .env to Git — it is listed in .gitignore
# ─────────────────────────────────────────────────────────────────────────────
# ── AI ────────────────────────────────────────────────────────────────────────
# Get from: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key_here
# ── Telegram Bots ─────────────────────────────────────────────────────────────
# Get from: https://t.me/BotFather → /newbot
# Bot A = the initiator (User A's bot)
TELEGRAM_BOT_TOKEN_A=your_bot_a_token_here
# Bot B = the counterparty (User B's bot)
TELEGRAM_BOT_TOKEN_B=your_bot_b_token_here
# Bot C = optional third agent
TELEGRAM_BOT_TOKEN_C=your_bot_c_token_here
# ── Search ────────────────────────────────────────────────────────────────────
# Get from: https://tavily.com
TAVILY_API_KEY=your_tavily_api_key_here
# ── Voice ─────────────────────────────────────────────────────────────────────
# Get from: https://elevenlabs.io → Profile → API Key
ELEVENLABS_API_KEY=your_elevenlabs_api_key_here
# ── Frontend ──────────────────────────────────────────────────────────────────
NEXT_PUBLIC_API_URL=http://localhost:8000
# ── Database ──────────────────────────────────────────────────────────────────
# Path relative to the backend/ directory (default is fine)
DATABASE_PATH=negot8.db
# ── Google Calendar OAuth ─────────────────────────────────────────────────────
# Get from: https://console.cloud.google.com → APIs & Services → Credentials
GOOGLE_CLIENT_ID=your_google_client_id_here
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
GOOGLE_REDIRECT_URI=http://localhost:8000/api/auth/google/callback
# ── Blockchain (Polygon Amoy testnet) ────────────────────────────────────────
# RPC from: https://rpc.ankr.com/polygon_amoy (free, no account needed)
POLYGON_RPC_URL=https://rpc.ankr.com/polygon_amoy
# Private key of a funded Amoy wallet (get test MATIC from https://faucet.polygon.technology)
POLYGON_PRIVATE_KEY=your_wallet_private_key_here
# Deployed contract address (from your deployment)
AGREEMENT_CONTRACT_ADDRESS=your_contract_address_here
# ── Mock Mode ─────────────────────────────────────────────────────────────────
# Set to "true" to bypass Gemini API calls and use hardcoded mock responses
# Set to "false" (or remove) to use real AI
MOCK_MODE=true