-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
37 lines (28 loc) · 1.16 KB
/
.env.example
File metadata and controls
37 lines (28 loc) · 1.16 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
# Pool type: "sanctum" or "native"
POOL_TYPE=sanctum
# Solana RPC endpoint (use devnet for testing)
RPC_URL=https://api.devnet.solana.com
# Admin wallet private key (base58 encoded)
# NEVER commit the actual .env file!
ADMIN_PRIVATE_KEY=your_base58_private_key_here
# Pool reserve address (where SOL is sent)
POOL_RESERVE_ADDRESS=reserve_pubkey_here
# For native pools, also need the stake pool address
POOL_ADDRESS=stake_pool_pubkey_here
# Amount to send per crank (in lamports)
# 0.1 SOL = 100000000 lamports (good for testing)
CRANK_AMOUNT=100000000
# Epoch poll interval - how often to check for new epochs (examples: "1m", "5m", "10m")
# The crank will only run once per epoch, this just controls how often we check
# Default: 5m (5 minutes)
EPOCH_POLL_INTERVAL=5m
# Epoch storage type: "memory" or "file"
# - memory: epoch state is lost on restart (will crank again on first new epoch)
# - file: epoch state persists across restarts (won't double-crank same epoch)
# Default: memory
EPOCH_STORAGE_TYPE=file
# File path for epoch state (only used when EPOCH_STORAGE_TYPE=file)
# Default: .epoch_state
EPOCH_STATE_FILE=.epoch_state
# Logging level
RUST_LOG=fluence=info