joaquinbejar/CLMM-Liquidity-Provider — reverse-engineered prompt

Reverse engineered prompt

Build me an alpha Solana liquidity provider optimizer for concentrated liquidity pools. I want something that helps me analyze Orca Whirlpools, Raydium CLMM, and Meteora DLMM, so I can see pool stats, estimate impermanent loss in real time, simulate positions on historical data, and get suggested ranges or rebalancing ideas based on volatility, volume, and asset correlation.

Please make it feel like one product with three ways to use it, a CLI, a REST API, and a simple web dashboard. The dashboard should show a portfolio overview, positions, strategies, pools, and settings, with charts and live style updates where it makes sense. The API should have auth, docs, and websocket style updates for monitoring. The CLI should support commands to analyze, backtest, optimize, and monitor.

Use the repo structure that makes sense for a Rust workspace with a web frontend, database support, and Solana integrations. Include Docker and env setup so it can run locally. If anything is unclear, look up the current protocol docs online and fill in sensible defaults.

Want more depth? Deep Reverse