forked from neamm/auto.fun
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.defaults
More file actions
55 lines (47 loc) · 2.03 KB
/
.env.defaults
File metadata and controls
55 lines (47 loc) · 2.03 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
JWT_SECRET=i_love_eliza
# === Solana Configuration ===
NETWORK=devnet # 'mainnet' or 'devnet'
WEBHOOK_URL=http://localhost:8787/api/webhook # URL for receiving webhooks (e.g., Helius)
CODEX_WEBHOOK_AUTH_TOKEN=changeme
# === Server Configuration ===
PORT=8787
NODE_ENV=development
API_URL=http://localhost:8787
CRON_URL= # URL to trigger cron jobs if applicable
CRON_SECRET= # Secret for securing cron job triggers
# === Database Configuration (Local Docker Default) ===
DATABASE_URL=postgresql://autofun_owner:npg_2PDZgJfEtrh6@localhost:5432/autofun
# === Redis Configuration (Local Docker Default) ===
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=MDikUKnhRHlURlnORexvVztDTrNCUBze
REDIS_URL=redis://default:MDikUKnhRHlURlnORexvVztDTrNCUBze@localhost:6379
# === S3 Configuration (Defaults to Local MinIO via code if not set) ===
# The s3Client.ts will use MinIO defaults matching docker-compose.yml
# if S3_STORAGE_ENDPOINT/access keys or MINIO_ENDPOINT are not set.
# Setting the bucket name here ensures it's used by the fallback.
S3_BUCKET_NAME=autofun
# === Token Defaults ===
VIRTUAL_RESERVES=28000000000
TOKEN_SUPPLY=1000000000000000
DECIMALS=6
CURVE_LIMIT=113000000000 # Default based on example, adjust if needed for devnet
PREGENERATED_TOKENS_COUNT=3
PRIMARY_LOCK_PERCENTAGE=90
SECONDARY_LOCK_PERCENTAGE=10
FIXED_FEE=6 # Default based on example, adjust if needed for devnet
# === Frontend Configuration (Local Defaults) ===
# These often point to the local dev server
MAINNET_FRONTEND_URL=http://localhost:3000
DEVNET_FRONTEND_URL=http://localhost:3000
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:3001
# === Client Environment Variables (Prefixed with VITE_) ===
# Provide defaults for local client operation
VITE_API_URL=http://localhost:8787
VITE_DEV_API_URL=http://localhost:8787
VITE_SOLANA_NETWORK=devnet
VITE_DECIMALS=6
VITE_VIRTUAL_RESERVES=28000000000
VITE_TOKEN_SUPPLY=1000000000000000
VITE_S3_PUBLIC_URL=http://localhost:9000/autofun # Matches MinIO default public URL
VITE_FEE_TOKEN_ACCOUNT=DxkyyA3Gwt7RpgupCHEZX2y653Mg2byEMTm1ikxaTDR