Config-driven Solana volume bot that performs automated buy/sell cycles via Jupiter routing, supports all DEXs aggregated by Jupiter, manages multiple wallets, and includes fund gathering back to a main wallet.
- Automated buy/sell loop using Jupiter swap API.
- DEX coverage through Jupiter aggregator (Orca, Raydium, Meteora and other routed Solana DEX liquidity).
- Config control for buy amount range, loop delays/speed, slippage, concurrency.
- Multi-wallet generation and persistent wallet management.
- Gather-funds mode to sweep SOL back to your master wallet.
- Node.js + TypeScript
@solana/web3.js- Jupiter Quote/Swap API
-
Install dependencies:
npm install
-
Copy env template and set values:
copy .env.example .env
-
Fill required
.envvalues:
RPC_URL- Solana RPC endpoint.MASTER_PRIVATE_KEY- base58 secret key for main wallet.TOKEN_CA- target token mint address.
Set ACTION=generate-wallets and optionally GENERATE_WALLET_COUNT.
npm run devWallets are stored in data/wallets.json.
Set ACTION=run-bot, then configure:
MIN_BUY_SOL,MAX_BUY_SOLCONCURRENT_WALLETSCYCLES_PER_WALLET(0= infinite)LOOP_DELAY_MIN_MS,LOOP_DELAY_MAX_MSBUY_TO_SELL_DELAY_MSSLIPPAGE_BPS
Run:
npm run devSet ACTION=gather-funds and GATHER_KEEP_SOL.
npm run devnpm run build
npm start- Use on your own risk.
- Keep
.envand wallet secrets private. - Start with small amounts and test first.
- Jupiter API can reject illiquid routes or fail on volatile pairs; bot logs and continues.