Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
51 lines (50 loc) · 1.79 KB
/
Copy path.env.example
File metadata and controls
51 lines (50 loc) · 1.79 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
NODE_ENV=development
BOT_MODE=polling
LOG_LEVEL=debug
BOT_TOKEN=123:ABCABCD
BOT_NAME=cube_worlds_bot
MONGO=mongodb://localhost:27017/nft-bot?retryWrites=true&w=majority
BOT_WEBHOOK=https://www.example.com/telegram/webhook
# 16-256 chars, [A-Za-z0-9_-]. Required when BOT_MODE=webhook.
# Generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
BOT_WEBHOOK_SECRET=
BOT_SERVER_HOST=localhost
BOT_SERVER_PORT=3000
BOT_ADMINS=[1]
WEB_APP_URL=https://cubeworlds.club
# Optional extra CORS origins in production (JSON array). WEB_APP_URL is always allowed.
ALLOWED_ORIGINS=[]
# Number of reverse-proxy hops in front of Node. Defaults: 1 (prod), 0 (dev).
# Set to your actual hop count: 1 for nginx/Cloudflare alone, 2 if stacked.
TRUSTED_PROXY_HOPS=1
# Boot API-only: no Telegram engagement (webhook/polling) and no on-chain tx
# loop. Used by `npm run smoke:api`; the deployed staging bot runs with it off.
STAGING=false
COLLECTION_ADDRESS=EQ...
COLLECTION_OWNER=EQ...
MNEMONICS=word1 word2 word3 ...
PINATA_API_KEY=
PINATA_API_SECRET=
PINATA_GATEWAY=https://tan-above-limpet-111.mypinata.cloud
PINATA_GATEWAY_KEY=
TONCENTER_API_KEY=
TESTNET=true
STABILITY_API_KEY=
OPENAI_API_KEY=
TELEMETREE_API_KEY=
TELEMETREE_PROJECT_ID=
UMAMI_WEBSITE_ID=
# --- v3 economy (all optional, defaults shown) --------------------------------
# Price of one NFT-image generation try, in $CUBE.
GENERATION_TRY_COST_VOTES=100
# $CUBE credited per 1 Telegram Star on top-up.
STARS_TOPUP_VOTES_PER_STAR=10
# $CUBE credited to the referrer when an invited user's pass is minted. 0 = off.
REFERRAL_MINT_REWARD_VOTES=200
# Community chats: JSON array of chat ids, e.g. [-1001234567890,-1009876543210]. Empty = off.
COMMUNITY_CHAT_IDS=[]
TIP_VOTES=50
TIP_BASE_PER_DAY=3
TIP_REP_PER_EXTRA=100
TIP_EMOJI=🧊
INVITE_LOGIN_REWARD_VOTES=20