explaingit

bonny1220/solana-trading-bot

Analysis updated 2026-05-18

136TypeScriptAudience · generalComplexity · 4/5Setup · moderate

TLDR

A Solana bot that automatically buys newly launched tokens on Raydium and pump.fun within seconds, using safety filters and automatic profit or loss selling.

Mindmap

mindmap
  root((Solana sniping bot))
    What it does
      Watches new token launches
      Buys within seconds
      Applies safety filters
      Auto sells on target
    Tech stack
      TypeScript
      Node.js
      Solana RPC
    Use cases
      Snipe new tokens
      Filter risky tokens
      Manage profit and loss
    Audience
      Crypto traders
      Memecoin speculators

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 snipe newly launched tokens on Raydium or pump.fun.

USE CASE 2

Filter new tokens by mint authority, burned liquidity, and social metadata before buying.

USE CASE 3

Auto-sell a position once it hits a configured profit target or loss limit.

What is it built with?

TypeScriptNode.jsSolana

How does it compare?

bonny1220/solana-trading-botamet2901/asterdex-trading-botflaviodesa/polymarket-copy-trading-bot
Stars136136136
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity4/54/52/5
Audiencegeneralgeneraldeveloper

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

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires a dedicated funded Solana wallet and a paid RPC provider, public RPCs will throttle the bot.

No license information is stated in the README.

In plain English

This is an automated trading bot for the Solana blockchain that watches for newly created tokens and buys them within seconds of launch, a practice called sniping. It monitors two platforms: Raydium, which is a decentralized exchange on Solana, and pump.fun, a site where anyone can create and launch a new token. The bot listens to on-chain events in real time and places buy orders automatically when a new token or liquidity pool appears. Before buying, the bot can apply a set of safety filters to check whether a token meets certain criteria, such as whether the creator has given up control over minting new supply, whether the liquidity has been burned to prevent the creator from withdrawing it, and whether the token has social media links attached to its metadata. You can also maintain a whitelist of specific token addresses and restrict the bot to buying only those. After a purchase, the bot monitors the token's price and sells automatically when a configurable profit target or loss limit is reached. The bot supports three ways to submit transactions: a standard RPC connection, a relay service called warp.id, and Jito bundles, which fan out transactions to multiple block-engine regions to improve the chance of getting included quickly. All configuration is done through a text file where you set your wallet private key, RPC endpoint, how much to spend per trade, slippage tolerance, profit and loss thresholds, and which filters to enable. Setup requires Node.js version 18 or higher and a funded Solana wallet. The README specifically recommends using a dedicated wallet with only the funds you intend to trade, not your main wallet. It also warns that public RPC endpoints will throttle the bot and recommends a paid provider. The README includes a clear disclaimer: sniping newly launched memecoins is described as extremely risky, with rug pulls, honeypots, and total loss listed as common outcomes. The software is provided for educational purposes and the user is responsible for all transactions it executes.

Copy-paste prompts

Prompt 1
Explain the safety filters this bot uses before buying a newly launched token.
Prompt 2
How do I configure this bot's wallet, RPC endpoint, and spending limits?
Prompt 3
What is the difference between the RPC, warp.id, and Jito bundle transaction methods this bot supports?
Prompt 4
What risks does the README warn about when sniping newly launched memecoins?

Frequently asked questions

What is solana-trading-bot?

A Solana bot that automatically buys newly launched tokens on Raydium and pump.fun within seconds, using safety filters and automatic profit or loss selling.

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?

No license information is stated in the README.

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

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

Who is solana-trading-bot for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.