-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrailway.json
More file actions
64 lines (64 loc) · 1.81 KB
/
railway.json
File metadata and controls
64 lines (64 loc) · 1.81 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
{
"$schema": "https://railway.app/railway.schema.json",
"projectId": "2077acd9-f81f-47ba-b8c7-8bf6905f45fc",
"name": "gxq-studio-solana-arbitrage",
"description": "Advanced Solana DeFi platform with flash loan arbitrage, sniper bot, and token launchpad",
"build": {
"builder": "NIXPACKS",
"buildCommand": "npm install && npm run build"
},
"deploy": {
"startCommand": "npm run start:server",
"restartPolicyType": "ALWAYS",
"restartPolicyMaxRetries": 10,
"healthcheckPath": "/api/health",
"healthcheckTimeout": 30,
"healthcheckInterval": 60,
"healthcheckMaxRetries": 5,
"numReplicas": 1,
"sleepApplication": false,
"region": "us-west1"
},
"environmentVariables": {
"SOLANA_RPC_URL": {
"description": "Solana RPC URL (Helius, QuickNode, or Triton recommended)",
"required": true
},
"WALLET_PRIVATE_KEY": {
"description": "Wallet private key in base58 format",
"required": true
},
"MINIMUM_PROFIT_SOL": {
"description": "Minimum profit threshold in SOL",
"default": "0.01"
},
"ADMIN_USERNAME": {
"description": "Admin panel username",
"required": true
},
"ADMIN_PASSWORD": {
"description": "Admin panel password",
"required": true
},
"JWT_SECRET": {
"description": "JWT secret for authentication",
"required": true
},
"LOG_LEVEL": {
"description": "Log level (debug, info, warn, error)",
"default": "info"
},
"MAX_SLIPPAGE": {
"description": "Maximum slippage tolerance (0.01 = 1%)",
"default": "0.01"
},
"DEV_FEE_ENABLED": {
"description": "Enable dev fee (true/false)",
"default": "true"
},
"DEV_FEE_PERCENTAGE": {
"description": "Dev fee percentage (0.10 = 10%)",
"default": "0.10"
}
}
}