anshuman008/solana-arb-scanner — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a TypeScript command line tool that watches Solana token prices across PumpSwap, Raydium, Orca Whirlpools, and Meteora DMM, then shows possible arbitrage in the terminal.

Start with SOL and USDC by default, but make it easy for me to change the token mint addresses, refresh speed, and minimum profit percentage. The app should keep refreshing live prices, compare the lowest buy price and highest sell price, calculate the spread, and clearly show any profitable opportunities. Include the pool name or address when available and give me direct trade links for the buy and sell sides so I can act manually.

Please make the console output clean and easy to read, with current prices, best spread, and ranked opportunities. Handle failed API calls without crashing, since DEX data can be flaky. Add simple npm scripts to install, build, run, and clean the project. Look up current Solana and DEX docs online if you need to.

Want more depth? Deep Reverse