Solard

Configuration

Environment variables and defaults.

Database and wallet vault

VariableDefault / aliasMeaning
SLRD_DB_PATH~/.solard/solard.sqliteShared SDK/CLI SQLite database. SOLARD_DB_PATH is accepted as an alias.
SLRD_MASTER_KEYunsetExplicit 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

VariableDefaultMeaning
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_RPS5Global maximum Solard JSON-RPC request rate. Increase only when the provider permits it.
SLRD_RPC_NETWORK_RETRIES4Retries for fetch-level failures such as connection resets or socket closure.
SOLSCAN_API_KEYunsetOptional indexed provider for authoritative historical transfer reconstruction.
SLRD_JUPITER_MAX_RPSkeyless 0.5 req/s; keyed path defaults to 1 req/sMaximum request rate for Jupiter fallback/quote traffic.
SOLARD_EXTERNAL_HTTP_TIMEOUT_MS10000 in the example environmentTimeout used by optional external HTTP intelligence/data integrations.

Guarded live-trading switch

dotenv
SOLARD_ENABLE_LIVE_TRADES=1
# Legacy aliases accepted by parts of the runtime:
# SOLWAL_ENABLE_LIVE_TRADES=1
# SLRD_ENABLE_LIVE_TRADES=1

Required 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

dotenv
HELIUS_SENDER_URL=...
HELIUS_TIP_ACCOUNT=...
HELIUS_TIP_LAMPORTS=...
HELIUS_PRIORITY_MICRO_LAMPORTS=...
JITO_BLOCK_ENGINE_URL=https://mainnet.block-engine.jito.wtf

Sender ids include rpc, helius, and jito. Configure only the lane you use.

Web console API

dotenv
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=1

The web console API expects bearer-token authentication unless open-web mode is explicitly enabled.

Pump lifecycle

dotenv
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=0

Controls Pump websocket fan-out, token caps, refresh/polling, active windows, and optional interest filtering.

PumpSwap lifecycle

dotenv
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=0

Meteora DLMM

dotenv
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.ag

These 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

VariableDefaultMeaning
SLRD_METADATA_UPLOADERpump-frontendSelect the default metadata uploader used by CLI metadata/launch flows.
PUMP_IPFS_ENDPOINThttps://pump.fun/api/ipfsBrowser-facing Pump metadata upload endpoint.
PINATA_JWTunsetRequired when explicitly using the Pinata provider or Pinata fallback.
IPFS_PUBLIC_GATEWAYhttps://ipfs.io/ipfsPublic 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

dotenv
GMGN_API_KEY=...
GMGN_API_URL=https://openapi.gmgn.ai
SOLARD_EXTERNAL_HTTP_TIMEOUT_MS=10000

The 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.