-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy path.env.example
More file actions
81 lines (70 loc) · 2.8 KB
/
Copy path.env.example
File metadata and controls
81 lines (70 loc) · 2.8 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
# =============================================================================
# 4-Coin Trading Bot Configuration
# =============================================================================
# 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=