If you were to run this on your local machine, then a .env file will be need and should have the following variables
PUMPFUNCA=""
RPCUrl=""
WSSUrl=""
OrderBook="orderbook.csv"
I built this project focusing on tokens launched on Pump.fun but the same logic should apply on any launchpad for Solana.
Should you need to use a different launchpad(i.e: Launchoin/Believe) then a different launcher address is needed to replace PUMPFUNCA
RPCUrl and WSSUrl represents the RPC and WebSockets you decide to use. You can either use Solana's mainnet RPC or use a private one for better performance.