WIP: bootstrap and partial real Solana watcher implementation

This commit is contained in:
2026-08-16 09:17:45 +00:00
commit dc23412c3f
7232 changed files with 1687637 additions and 0 deletions

39
.env.example Normal file
View File

@@ -0,0 +1,39 @@
# System Environment
NODE_ENV=development
APP_VERSION=1.0.0
GIT_COMMIT=local-dev
# Logging Configuration (pino)
# Levels: fatal, error, warn, info, debug, trace, silent
LOG_LEVEL=info
# Solana Connection Endpoints (for future integration)
SOLANA_RPC_ENDPOINT=https://api.mainnet-beta.solana.com
SOLANA_WSS_ENDPOINT=wss://api.mainnet-beta.solana.com
# PostgreSQL Database Connection
# Format: postgres://username:password@host:port/database_name
DATABASE_URL=postgres://postgres:postgres@localhost:5432/memecoin_bot
# InfluxDB Configuration
INFLUXDB_URL=http://localhost:8086
INFLUXDB_TOKEN=my-super-secret-auth-token
INFLUXDB_ORG=my-org
INFLUXDB_BUCKET=memecoin-bot-metrics
# Watcher Configuration
# Comma-separated list of public keys to watch
WATCHED_WALLETS=3yF9asA9B7G3Y1G7as78gHJKa7A,4yF9asA9B7G3Y1G7as78gHJKa7B
# Watcher Mode: real or mock
WALLET_WATCHER_MODE=real
# Latency Simulation Configuration
# Comma-separated list of latency values in milliseconds to simulate simultaneously
# Supported values: 0, 1000, 3000, 5000, 10000
LATENCY_SCENARIOS=0,1000,3000,5000,10000
# Simulation Accounting
# Use SOL as the primary simulation accounting unit
SIMULATION_STARTING_BALANCE_SOL=1.0
SIMULATED_POSITION_SIZE_SOL=0.05