-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
36 lines (30 loc) · 1.04 KB
/
.env.example
File metadata and controls
36 lines (30 loc) · 1.04 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
# Telegram Bot配置
TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_BOT_USERNAME=your_bot_username
# 数据库配置
DB_HOST=localhost
DB_PORT=3306
DB_USER=your_mysql_username
DB_PASSWORD=your_mysql_password
DB_NAME=luckypack_db
# TON区块链配置
TON_NETWORK=testnet # testnet 或 mainnet
TON_BOT_WALLET_ADDRESS=your_bot_wallet_address
TON_BOT_WALLET_PRIVATE_KEY=your_bot_wallet_private_key
# 应用配置
APP_ENV=development # development 或 production
LOG_LEVEL=INFO
DEBUG=True
# 红包配置
MIN_RED_PACKET_AMOUNT=0.01 # 最小红包金额 (TON)
MAX_RED_PACKET_AMOUNT=1000 # 最大红包金额 (TON)
MIN_PACKET_COUNT=1 # 最小红包个数
MAX_PACKET_COUNT=100 # 最大红包个数
RED_PACKET_EXPIRE_HOURS=24 # 红包过期时间 (小时)
# 手续费配置
WITHDRAW_BASE_FEE=0.01 # 提现基础手续费 (TON)
WITHDRAW_PERCENT_FEE=0.001 # 提现比例手续费 (0.1%)
# 安全配置
DAILY_SEND_LIMIT=100 # 用户每日发红包限额 (TON)
DAILY_WITHDRAW_LIMIT=50 # 用户每日提现限额 (TON)
MAX_BALANCE=1000 # 用户最大余额 (TON)