whatisgithub

What is solana-trading-bot?

tyopxyz/solana-trading-bot — explained in plain English

Analysis updated 2026-05-18

82TypeScriptAudience · developerComplexity · 4/5LicenseSetup · hard

In one sentence

An automated bot that watches Solana for brand-new token launches and tries to buy them the instant they appear, then auto-sells based on profit or loss targets you set.

Mindmap

mindmap
  root((Solana Trading Bot))
    What it does
      Detects new token launches
      Filters risky tokens
      Auto buy and sell
    Tech stack
      TypeScript
      Node.js
      Solana
    Use cases
      Snipe new pools
      Set take profit stop loss
      Race with Jito bundles
    Audience
      Traders
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically buy newly listed tokens on Raydium or Pump.fun the moment they launch.

USE CASE 2

Filter out risky tokens by checking mint renounce status, LP burn, and pool size.

USE CASE 3

Set automatic take-profit and stop-loss rules so the bot sells without manual monitoring.

USE CASE 4

Route transactions through Jito bundles to compete for priority during contested launches.

What is it built with?

TypeScriptNode.jsSolana

How does it compare?

tyopxyz/solana-trading-bot2latemc/justanothermusicclientneuralinverse/neuralinverse
Stars828282
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardmoderatemoderate
Complexity4/53/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Needs a funded Solana wallet and a low-latency RPC endpoint, public RPCs add delay that hurts sniping speed.

A permissive license that lets you use, modify, and redistribute the code, including commercially, as long as you keep the license notice.

So what is it?

This is an automated trading bot that watches for new token listings on the Solana blockchain and tries to buy them immediately after they appear, a practice called sniping. It monitors two specific platforms: Raydium, where new liquidity pools open, and Pump.fun, where new tokens launch along a bonding curve. When the bot detects a qualifying new token, it attempts to purchase it before other traders can. The bot works by listening to live transaction logs on the Solana network using WebSocket connections. As soon as it sees a signal that a new pool or token has appeared, it runs the opportunity through a set of filters before buying. Those filters can check whether the creator has given up control of the token (mint renounce), whether liquidity has been locked (LP burn), whether the pool is within a specified size range, and whether the token appears on a pre-approved snipe list. Pump.fun launches skip most of these checks by default. Once a buy is approved, the bot sends the transaction through one of three routes: the standard Solana network connection, a service called Warp that relays transactions faster, or Jito, which bundles multiple transactions together and competes for priority inclusion. For contested launches where many bots race at the same time, Jito is recommended because a regular connection is likely to lose that race. After buying, the bot can automatically sell based on rules you set. You define a take-profit percentage and a stop-loss percentage, and it watches your wallet balance to trigger a sale when either threshold is reached. Configuration is done through a single settings file. You set your wallet credentials, the RPC connection address, how much to spend per trade, your slippage tolerance, and which filters to apply. The README includes a warning that even with all filters active, there is still a risk of losing money on bad tokens, and it recommends testing with small amounts first.

Copy-paste prompts

Prompt 1
Help me configure the .env file for this Solana trading bot with safe filter settings.
Prompt 2
Explain what mint renounce and LP burn filters do and why they matter for token safety.
Prompt 3
Walk me through setting up a low-latency RPC endpoint for this trading bot.
Prompt 4
Show me how take-profit and stop-loss auto-sell works in this bot's configuration.

Frequently asked questions

What is solana-trading-bot?

An automated bot that watches Solana for brand-new token launches and tries to buy them the instant they appear, then auto-sells based on profit or loss targets you set.

What language is solana-trading-bot written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, Solana.

What license does solana-trading-bot use?

A permissive license that lets you use, modify, and redistribute the code, including commercially, as long as you keep the license notice.

How hard is solana-trading-bot to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is solana-trading-bot for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.