How sicknature-x/sol-warlock-meteora-lp-bot works
Sol Warlock is a Meteora DLMM liquidity-pool bot for Solana, defaulting to paper trading and controlled through Telegram and its Mini App. Its main workflow screens pools, manages simulated positions and risk, and can be switched to live execution with a configured wallet. The graph also preserves Mini App reporting and live-control capabilities. Relationships are limited to README statements, source excerpts, and SOURCE INDEX references; several execution details are unsampled, so their internal links are omitted.
Main entry points: bot.js Trading Bot · server.js Mini App Server · screen-reasons.js Pool Screening · live-control.js Live Controls
Components 27
Pool Screening
- Pool Screening
sol-lp-bot/screen-reasons.js - Pool Source
sol-lp-bot/pool-screen-source.js - Rug Checks
sol-lp-bot/antirug.js - Entry Cost
sol-lp-bot/paper-entry-cost.js - TVL Drop
sol-lp-bot/tvl-drop.js
Paper Trading
- Trading Bot
sol-lp-bot/bot.js - Paper Positions
sol-lp-bot/paper-multi.js - Entry Policy
sol-lp-bot/paper-entry-policy.js - Paper Strategy
sol-lp-bot/paper-strategy.js - Paper Runs
sol-lp-bot/paper-runs.js - Trade History
sol-lp-bot/paper-history.js - PnL Display
sol-lp-bot/paper-quote-pnl.js - Quote Client
sol-lp-bot/paper-quote-client.js
Live Trading
- Live Controls
sol-lp-bot/live-control.js - Wallet Store
sol-lp-bot/wallet-store.js - Live Open
sol-lp-bot/live-open-exec.js - Live Close
sol-lp-bot/live-close-exec.js - Exit Rules
sol-lp-bot/live-exit.js - Reshape Core
sol-lp-bot/reshape-core.js
Telegram Interface
- Mini App UI
sol-lp-bot/miniapp/public/app.js - Mini App Server
sol-lp-bot/miniapp/server.js - Telegram Notify
sol-lp-bot/telegram-notify.js - PnL Calendar
sol-lp-bot/paper-pnl-calendar.js - Paper Settings
sol-lp-bot/paper-settings.js - Environment Config
sol-lp-bot/env-config.js
Other components
- Telegram User
- Jupiter Quotes
Connections 26
- Telegram User → Mini App UI: uses
- Mini App UI → Mini App Server: requests data
- Trading Bot → Pool Screening: screens pools
sol-lp-bot/bot.js - Pool Screening → Rug Checks: checks risk
sol-lp-bot/screen-reasons.js - Pool Screening → Pool Source: reads pools
sol-lp-bot/screen-reasons.js - Pool Screening → Entry Cost: checks cost
sol-lp-bot/screen-reasons.js - Pool Screening → TVL Drop: checks TVL
sol-lp-bot/screen-reasons.js - Trading Bot → Paper Positions: uses positions
sol-lp-bot/bot.js - Trading Bot → Entry Policy: uses policy
sol-lp-bot/bot.js - Trading Bot → Paper Strategy: uses strategy
sol-lp-bot/bot.js - Trading Bot → Paper Runs: manages runs
sol-lp-bot/bot.js - Trading Bot → Trade History: records trades
sol-lp-bot/bot.js - Trading Bot → Telegram Notify: sends updates
sol-lp-bot/bot.js - Quote Client → Jupiter Quotes: requests quotes
sol-lp-bot/paper-quote-client.js - Mini App Server → Paper Settings: reads settings
sol-lp-bot/miniapp/server.js - Mini App Server → Live Controls: controls live
sol-lp-bot/miniapp/server.js - Mini App Server → Wallet Store: reads wallet
sol-lp-bot/miniapp/server.js - Mini App Server → PnL Calendar: builds calendar
sol-lp-bot/miniapp/server.js - Mini App Server → Trade History: reads activity
- Live Controls → Wallet Store: checks wallet
sol-lp-bot/live-control.js - Live Controls → Paper Settings: uses settings
sol-lp-bot/live-control.js - Live Open → Reshape Core: uses geometry
- Trading Bot → Live Open: executes live
sol-lp-bot/bot.js - Trading Bot → Live Close: closes positions
sol-lp-bot/bot.js - Trading Bot → Exit Rules: checks exits
sol-lp-bot/bot.js - Mini App Server → Environment Config: loads config
sol-lp-bot/miniapp/server.js