Configuration
Environment variables and defaults.
Database and wallet vault
| Variable | Default / alias | Meaning |
|---|---|---|
SLRD_DB_PATH | ~/.solard/solard.sqlite | Shared SDK/CLI SQLite database. SOLARD_DB_PATH is accepted as an alias. |
SLRD_MASTER_KEY | unset | Explicit wallet-encryption/signing key for CI or automation. The CLI otherwise prompts for an ephemeral wallet password on signing commands and does not persist that password. |
RPC and indexed history
| Variable | Default | Meaning |
|---|---|---|
RPC_ENDPOINT | — | Primary Solana JSON-RPC endpoint for chain operations. |
HELIUS_RPC_URL | — | Helius RPC endpoint used by ordinary Helius-RPC execution paths and as an available chain endpoint. |
HELIUS_API_KEY | — | Helius API key used by integrations that construct Helius endpoints from a key. |
SLRD_RPC_MAX_RPS | 5 | Global maximum Solard JSON-RPC request rate. Increase only when the provider permits it. |
SLRD_RPC_NETWORK_RETRIES | 4 | Retries for fetch-level failures such as connection resets or socket closure. |
SOLSCAN_API_KEY | unset | Optional indexed provider for authoritative historical transfer reconstruction. |
SLRD_JUPITER_MAX_RPS | keyless 0.5 req/s; keyed path defaults to 1 req/s | Maximum request rate for Jupiter fallback/quote traffic. |
SOLARD_EXTERNAL_HTTP_TIMEOUT_MS | 10000 in the example environment | Timeout used by optional external HTTP intelligence/data integrations. |
Guarded live-trading switch
SOLARD_ENABLE_LIVE_TRADES=1
# Legacy aliases accepted by parts of the runtime:
# SOLWAL_ENABLE_LIVE_TRADES=1
# SLRD_ENABLE_LIVE_TRADES=1Required by guarded flows such as Meteora and Raydium. It is not a universal gate: buy, sell, and transfer use their own execution semantics.
Sender lanes
HELIUS_SENDER_URL=...
HELIUS_TIP_ACCOUNT=...
HELIUS_TIP_LAMPORTS=...
HELIUS_PRIORITY_MICRO_LAMPORTS=...
JITO_BLOCK_ENGINE_URL=https://mainnet.block-engine.jito.wtfSender ids include rpc, helius, and jito. Configure only the lane you use.
Web console API
SOLARD_WEB_TOKEN=your-local-api-token
# Legacy alias:
# SOLWAL_WEB_TOKEN=your-local-api-token
# Explicitly disable token auth only when intended:
# SOLARD_ALLOW_OPEN_WEB=1The web console API expects bearer-token authentication unless open-web mode is explicitly enabled.
Pump lifecycle
SOLARD_PUMP_WS_CONNECTIONS=5
SOLARD_PUMP_SUBSCRIPTIONS_PER_CONNECTION=1000
SOLARD_PUMP_MAX_TRACKED_TOKENS=5000
SOLARD_PUMP_LIFECYCLE_REFRESH_MS=2000
SOLARD_PUMP_ACTIVE_WINDOW_MS=3600000
SOLARD_PUMP_CURVE_POLL_MS=5000
SOLARD_PUMP_CURVE_REPAIR_POLL_MS=60000
SOLARD_PUMP_REQUIRE_INTEREST_SIGNAL=false
SOLARD_PUMP_INTEREST_WINDOW_MS=1800000
SOLARD_PUMP_MIN_INTEREST_SCORE=0Controls Pump websocket fan-out, token caps, refresh/polling, active windows, and optional interest filtering.
PumpSwap lifecycle
SOLARD_PUMPSWAP_WS_CONNECTIONS=5
SOLARD_PUMPSWAP_SUBSCRIPTIONS_PER_CONNECTION=1000
SOLARD_PUMPSWAP_MAX_TRACKED_TOKENS=5000
SOLARD_PUMPSWAP_LIFECYCLE_REFRESH_MS=2000
SOLARD_PUMPSWAP_ACTIVE_WINDOW_MS=86400000
SOLARD_PUMPSWAP_REPAIR_POLL_MS=60000
SOLARD_PUMPSWAP_HISTORY_MS=0Meteora DLMM
METEORA_DLMM_CLUSTER=mainnet-beta
METEORA_DLMM_DATA_API_URL=https://dlmm.datapi.meteora.ag
METEORA_POOL_DISCOVERY_API_URL=https://pool-discovery-api.datapi.meteora.agThese read endpoints can be overridden for proxied or self-hosted deployments. Meteora write methods additionally require explicit live intent and the guarded live-trading switch documented above.
Metadata upload
| Variable | Default | Meaning |
|---|---|---|
SLRD_METADATA_UPLOADER | pump-frontend | Select the default metadata uploader used by CLI metadata/launch flows. |
PUMP_IPFS_ENDPOINT | https://pump.fun/api/ipfs | Browser-facing Pump metadata upload endpoint. |
PINATA_JWT | unset | Required when explicitly using the Pinata provider or Pinata fallback. |
IPFS_PUBLIC_GATEWAY | https://ipfs.io/ipfs | Public gateway used for Pinata-returned metadata URLs. |
Launch transport policy
SLRD_LAUNCH_* variables define resend and timeout policy shared by launch execution. Helius launch paths also use the tip/priority variables above. These are transport/runtime settings rather than token metadata.
Optional GMGN intelligence
GMGN_API_KEY=...
GMGN_API_URL=https://openapi.gmgn.ai
SOLARD_EXTERNAL_HTTP_TIMEOUT_MS=10000The GMGN integration in this codebase is read-only for token/security/holder/trader/kline/trending/signal/gas data. Signed GMGN swap or order execution is intentionally not supported.