INNER CODE UNIT · TypeScript
runBot
bitman09/pumpfun-sniper-bot · src/index.ts:317
const runBot = () => {
console.log('--------------- Geyser mode is running! ---------------\n');
console.log(`SIMULATION_MODE => ${SIMULATION_MODE} (${SIMULATION_MODE ? 'no real buys/sells' : 'live trading enabled'})`);
if (CHECK_DEV_BUY) {
const maxLabel = Number.isFinite(MAX_DEV_BUY_AMOUNT) ? `${MAX_DEV_BUY_AMOUNT} SOL` : 'infinity (unset)';
console.log(`CHECK_DEV_BUY => true, allowed dev buy range: ${MIN_DEV_BUY_AMOUNT} – ${maxLabel}`);
} else {
console.log(`CHECK_DEV_BUY => false (dev buy min/max ignored)`);
}
console.log(`Token program => Token-2022 (TokenzQd...)\n`);
withGaser();
}
runBot()