forked from Wasaysarwar/axiom-copy-trading-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
67 lines (53 loc) · 1.83 KB
/
Copy path.env.example
File metadata and controls
67 lines (53 loc) · 1.83 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
# --- Defaults (PublicNode) if unset ---
# RPC_URL=https://solana-rpc.publicnode.com
# GRPC_ENDPOINT=solana-yellowstone-grpc.publicnode.com:443
# GRPC_TLS=1
# Wallet to copy (whale / Axiom user pubkey)
TARGET_WALLET=
# `npm start`: BIP39 mnemonic (12/15/18/21/24 words) OR base58 Solana secret (same as CLI PRIVATE_KEY)
AXIOM_RECOVERY_KEY=
# Mnemonic only: derive first N accounts on m/44'/501'/i'/0' (Phantom-style). Base58 mode always uses 1 address.
AXIOM_DERIVED_WALLET_COUNT=10
# Which derived account signs copy-buys and TP/SL (0 = first)
AXIOM_TRADING_WALLET_INDEX=0
# Optional alias for target
# COPY_TARGET_WALLET=
# Detection: grpc | ws | auto (auto uses gRPC first, WebSocket fallback on gRPC errors)
DETECT_MODE=auto
# Required for PublicNode Yellowstone gRPC — https://solana.publicnode.com/?yellowstone (token from PublicNode / Allnodes)
# GRPC_X_TOKEN=
# PUBLICNODE_GRPC_TOKEN=
# Copy size: fixed SOL per buy, or ratio of target’s visible SOL spend (lamports)
COPY_SOL_AMOUNT=0.01
# COPY_SOL_RATIO=0.1
MIN_COPY_LAMPORTS=1000
MAX_COPY_LAMPORTS=5000000000
# Exits (basis points): TP +20% = 2000, SL -15% = 1500
TAKE_PROFIT_BPS=2000
STOP_LOSS_BPS=1500
EXIT_POLL_MS=5000
# Optional comma-separated mints to never copy
# COPY_IGNORE_MINTS=
# Safety
DRY_RUN=0
BOT_SIMULATE_ONLY=0
# Optional: commentary only (TP/SL still rule exits)
# OPENAI_API_KEY=
AI_ADVISOR=0
# --- Manual CLI: `npm run balance` uses AXIOM_RECOVERY_KEY + AXIOM_DERIVED_WALLET_COUNT (above) ---
# --- Manual buy/sell (`npm run buy` / `sell`) ---
# PRIVATE_KEY=
# MINT=
# CREATOR=
# SOL_AMOUNT=0.01
# SLIPPAGE_BPS=1000
# CREATE_ATA_IF_NEEDED=1
# COMPUTE_UNIT_LIMIT=400000
# COMPUTE_UNIT_PRICE_MICRO_LAMPORTS=50000
# SKIP_PREFLIGHT=0
# ADDRESS_LOOKUP_TABLES=
# SELL_CLOSE_ATA=1
# USE_PUMP_SDK_BUY=0
# USE_AXIOM_E1W=0
# SKIP_PUMP_FALLBACK=0
# SIMULATE_REPLACE_RECENT_BLOCKHASH=0