whatisgithub

What is solana-trading-bot?

metavault-fi/solana-trading-bot — explained in plain English

Analysis updated 2026-05-18

107TypeScriptAudience · developerComplexity · 4/5Setup · moderate

In one sentence

A TypeScript trading bot that automatically buys newly launched Solana tokens on Raydium and Pump.fun, applying safety filters and selling on profit or stop-loss.

Mindmap

mindmap
  root((repo))
    What it does
      Detects new tokens
      Applies safety filters
      Auto buy and sell
    Tech stack
      TypeScript
      Solana
      WebSockets
    Use cases
      Snipe new launches
      Filter risky tokens
      Use fast execution modes
    Audience
      Traders
    Setup
      Env config
      Paid RPC recommended

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

Detect new token launches on Raydium or Pump.fun in real time.

USE CASE 2

Filter out likely rug-pull tokens before placing a trade.

USE CASE 3

Automatically sell a position when a profit target or stop-loss is hit.

USE CASE 4

Use Jito bundles or Warp relay for faster transaction execution during contested launches.

What is it built with?

TypeScriptSolanaNode.js

How does it compare?

metavault-fi/solana-trading-botdaehyeonmun2021/react-native-skia-lableopoldsw/cloudflare-auth
Stars107107107
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderateeasy
Complexity4/52/53/5
Audiencedeveloperdeveloperdeveloper

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

A paid RPC endpoint is recommended since public RPCs add latency that loses trade races.

So what is it?

This is an automated trading bot for the Solana blockchain, written in TypeScript and built for sniping newly launched tokens. When a new trading pool opens on Raydium or a new token launches on Pump.fun, the bot detects it in real time, checks it against a set of safety filters, and places a buy order within seconds. It then monitors the position and sells automatically when a profit target or stop-loss level is hit. The bot connects to the Solana network using WebSocket listeners that watch for program log events from the relevant platforms. When a new pool or launch appears, it runs the token through a configurable filter pipeline before placing any trade. Filters can require that the token creator has given up control of the mint, that the liquidity pool tokens have been burned (a rug-pull indicator), that the token has social media links in its metadata, and that the pool falls within certain size bounds. You can also maintain a whitelist of trusted token addresses that skip most filters. Transaction submission supports three modes. The default mode uses standard priority fees via your RPC provider. Warp relay sends a tip to a relay service for faster inclusion. Jito bundles submit the transaction to five geographic regions simultaneously, which matters during highly contested launches where many bots compete for the same block. Setup involves cloning the repository, running npm install, and filling in a .env configuration file with your wallet private key, RPC endpoints, trade sizes, slippage tolerances, and which execution mode to use. A paid RPC is recommended since public endpoints add several hundred milliseconds of latency, which loses races to other bots. The README includes a safety disclaimer noting that most tokens on this type of platform lose all their value, and that filters reduce but do not remove the risk of buying into fraudulent projects. This tool is intended for traders already familiar with Solana token markets.

Copy-paste prompts

Prompt 1
Explain the safety filters this bot applies before buying a new token.
Prompt 2
Help me configure the .env file for this bot with my wallet and RPC settings.
Prompt 3
What is the difference between the default, Warp relay, and Jito bundle execution modes?
Prompt 4
Walk me through the risks described in this README before I run this bot.

Frequently asked questions

What is solana-trading-bot?

A TypeScript trading bot that automatically buys newly launched Solana tokens on Raydium and Pump.fun, applying safety filters and selling on profit or stop-loss.

What language is solana-trading-bot written in?

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

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

Setup difficulty is rated moderate, with roughly 30min 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.