outsmartchad/solana-dex-cli ? reverse-engineered prompt

Reverse engineered prompt

Build me a terminal based Solana trading tool that can buy and sell tokens, manage liquidity positions, create pools, and watch onchain events in real time. I want it to feel like a single command line app that works with the major Solana DEXs and also has a simple programmatic API for developers and agents to plug into their own strategies.

It should let me initialize a wallet and RPC once, then run commands for swapping, checking balances, finding pools, adding or removing liquidity, claiming fees, and managing LP positions with auto rebalance and fee compounding. I also want support for streaming live events from the chain so the tool can react quickly to new pools, swaps, and token activity.

Please make it polished, typed, and easy to use from the terminal. If you need current docs or protocol details, look them up online and keep the commands and outputs clear and practical.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab