82 lines
2.8 KiB
Bash
82 lines
2.8 KiB
Bash
# =============================================================================
|
|
# Meridian — Polymarket 15m crypto desk (environment)
|
|
# =============================================================================
|
|
# Copy this file to .env and fill in your values:
|
|
# cp .env.example .env
|
|
#
|
|
# NEVER commit .env with real keys to git!
|
|
# =============================================================================
|
|
|
|
# =============================================================================
|
|
# WALLET CREDENTIALS (REQUIRED)
|
|
# =============================================================================
|
|
|
|
# Your Polygon wallet private key
|
|
# Format: 64 hex characters with 0x prefix (66 characters total)
|
|
#
|
|
# How to get:
|
|
# - MetaMask: Settings -> Security & Privacy -> Export Private Key
|
|
# - Polymarket: polymarket.com/settings -> Export Private Key
|
|
#
|
|
# WARNING: Never share this key or commit it to git!
|
|
PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
|
|
|
|
# =============================================================================
|
|
# POLYGON NETWORK (REQUIRED)
|
|
# =============================================================================
|
|
|
|
# Polygon RPC endpoint
|
|
# Free options:
|
|
# - https://polygon-rpc.com (public, rate limited)
|
|
# - https://rpc.ankr.com/polygon (public, rate limited)
|
|
#
|
|
# Recommended (private RPC):
|
|
# - Alchemy: https://polygon-mainnet.g.alchemy.com/v2/YOUR_API_KEY
|
|
# - Infura: https://polygon-mainnet.infura.io/v3/YOUR_PROJECT_ID
|
|
# - QuickNode: https://your-endpoint.quiknode.pro/YOUR_KEY/
|
|
#
|
|
# Get free API key:
|
|
# - Alchemy: https://www.alchemy.com/
|
|
# - Ankr: https://www.ankr.com/rpc/
|
|
RPC_URL=https://polygon-rpc.com
|
|
|
|
# Polygon chain ID (do not change)
|
|
CHAIN_ID=137
|
|
|
|
# =============================================================================
|
|
# POLYMARKET API (REQUIRED)
|
|
# =============================================================================
|
|
|
|
# Polymarket CLOB API host (do not change)
|
|
CLOB_HOST=https://clob.polymarket.com
|
|
|
|
# API Credentials
|
|
# How to get:
|
|
# 1. Go to polymarket.com/settings
|
|
# 2. Connect your wallet
|
|
# 3. Generate API credentials
|
|
# 4. Copy the values here
|
|
#
|
|
# Or generate programmatically using py-clob-client library
|
|
POLYMARKET_API_KEY=your_api_key_here
|
|
POLYMARKET_API_SECRET=your_api_secret_here
|
|
POLYMARKET_API_PASSPHRASE=your_api_passphrase_here
|
|
|
|
# =============================================================================
|
|
# TELEGRAM NOTIFICATIONS (OPTIONAL)
|
|
# =============================================================================
|
|
|
|
# Telegram Bot Token
|
|
# How to get:
|
|
# 1. Open Telegram and search for @BotFather
|
|
# 2. Send /newbot and follow instructions
|
|
# 3. Copy the token here
|
|
TELEGRAM_BOT_TOKEN=
|
|
|
|
# Telegram Chat ID
|
|
# How to get:
|
|
# 1. Open Telegram and search for @userinfobot
|
|
# 2. Send /start
|
|
# 3. Copy your numeric ID here
|
|
TELEGRAM_CHAT_ID=
|