Skip to content

cryptoking-max/solana-sniper-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ”« Solana Sniper Bot – High-Speed Token Sniping & Trading (Per Week πŸ’²10k+)

For paid sniper bot builds or Solana consulting, contact me.


An ultra-fast, MEV-enabled Solana Sniper Bot built in Node.js.
This bot automates token sniping, buying, and selling on the Solana blockchain, using gRPC, Jito Tips, and private relays like Nozomi and 0xBlock to ensure top-tier execution.

Ideal for memecoin sniping, liquidity sniping, pre-launch tracking, and stealth token buying with max priority and speed.


solana sniper bot (pump)

πŸš€ Why Use This Solana Sniper Bot?

  • πŸ”„ Real-time Solana DEX monitoring using gRPC
  • πŸ’Έ MEV-powered transactions with Jito, Nozomi, and 0xBlock
  • πŸ”₯ Token launch sniping: buy as soon as liquidity is added
  • 🧠 Customizable token filtering: pool burn, mint renounced, liquidity thresholds
  • βš”οΈ Built-in anti-rug and honeypot protection
  • πŸ“‘ Telegram bot interface for remote control & alerts

solana sniper (jito)


🧠 Core Features

Feature Description
🎯 Token Sniping Snipes newly launched tokens instantly after liquidity is added
⚑ gRPC Streaming Uses low-latency gRPC to detect launches faster than public RPC
πŸ’° MEV Boost / Priority Tips Supports Jito Tips, Nozomi, 0xBlock for private, high-priority inclusion
πŸ§ͺ Safety Checks Verifies mint status, burn, ownership, liquidity, and more
🧡 Multi-wallet Support Trade from multiple Solana wallets simultaneously
πŸ”” Telegram Integration Get alerts, trade manually, or manage wallets through Telegram

πŸ“ˆ Keywords for Search Engines (SEO)


solana sniper bot, solana trading bot, solana mev bot, jito solana bot,
buy solana tokens fast, solana memecoin sniper, solana dex bot, grpc solana bot,
nozomi solana bot, 0xblock solana tip bot, pump.fun sniper, solana telegram bot


πŸ“¦ Installation

1. Clone the Repository

git clone https://github.com/cryptoking-max/solana-sniper-bot.git
cd solana-sniper-bot

2. Install Dependencies

npm install

3. Configure .env

Create a .env file in the root directory:

####################################
# πŸ” API KEYS & IDENTIFIERS
####################################
TOKEN="..."  # Telegram bot token (contact @cryptoking110600 for support)
BIRD_API_KEY="3570a293.....a9263ab0f95"  # BirdEye API key for token info
INSTANTNODES_API_KEY=""  # InstantNodes API key (optional but recommended)
HELIUS_API=""  # Helius API key for advanced Solana data
SOLSNIFFER_API_KEY=""  # SolSniffer API key for token safety/rug check

####################################
# 🌐 RPC & NETWORK ENDPOINTS
####################################
RPC_URL="https://solana-api.instantnodes.io/token"  # Primary RPC endpoint
RPC_URL1=""  # Secondary RPC endpoint (fallback)

RPC_WEBSOCKET_ENDPOINT="wss://solana-api.instantnodes.io/token"  # Primary WebSocket
RPC_WEBSOCKET_ENDPOINT1="wss://mainnet.helius-rpc.com/?api-key="  # Helius WebSocket (requires key)

####################################
# πŸ”‘ WALLET & AUTH
####################################
PUBLIC_KEY=""  # Public wallet address
PRIVATE_KEY=""  # Private key (keep secret!)
RECIPIENT_ADDRESS=""  # Optional – send proceeds to this wallet
APP_PASS_KEY=""  # Optional – used for local encryption

####################################
# βš™οΈ BOT SETTINGS
####################################
PRIORITIZATION_FEE_LAMPORTS=""  # Lamports to prioritize tx (e.g., 5000)
MICRO_PRIORITIZATION_FEE_LAMPORTS=""  # Low gas for test/micro tx

MAX_RETRIES="3"  # Number of retries for failed transactions
RETRY_DELAY="2"  # Delay in seconds between retries

MINIMUM_SOL_FOR_FEES="0.01"  # Min SOL required in wallet to allow transactions
SLIPPAGE_BPS="800"  # Slippage in basis points (800 = 8%)
BUY_AMOUNT="0.01"  # Default amount of SOL or USDC to spend per token

####################################
# πŸ“Š DECIMAL CONFIGURATION
####################################
SOL_DECIMALS="9"  # Fixed decimals for SOL
USDC_DECIMALS="6"  # Fixed decimals for USDC
ACTION_TOKEN_DECIMALS="6"  # Default target token decimals (update dynamically if needed)

####################################
# πŸ§ͺ RUG CHECK & SAFETY FILTERS
####################################
MAX_TOP_HOLDERS_PERCENTAGE="30"  # E.g., skip tokens where top holders >30%
MIN_SECURITY_SCORE="70"  # Minimum safety score from SolSniffer or other
MAX_LP_MARKET_CAP_RATIO="1.5"  # LP too high relative to mcap = risky
MIN_LP_MARKET_CAP_RATIO="0.1"  # Too low = illiquid

REQUIRE_LIQUIDITY_LOCK="true"  # Only buy if LP is locked
REQUIRE_MINT_DISABLED="true"  # Only buy if mint is disabled
MIN_SELL_PERCENTAGE="90"  # Reject tokens where <90% can be sold

πŸš€ Running the Bot

Basic Mode:

node bot.js

Custom Strategy Mode:

node bot.js --strategy=mintRenounced --tipProvider=jito

πŸ›‘οΈ Sniping Conditions & Safety Checks

This bot evaluates tokens before buying to avoid scams or rugs.

  • βœ… Burned Pool Address
  • βœ… Mint Authority Renounced
  • βœ… Verified Creator / Metadata
  • βœ… Min Liquidity Requirement
  • βœ… Max Market Cap Limit
  • βœ… Anti-Honeypot Check
  • βœ… Transaction Simulation Support

πŸ“± Telegram Bot Features (Optional)

You can control and receive notifications from the bot via Telegram.

Command Description
/wallet Check wallet balance
/buy <address> Manually buy a token
/sell <address> Sell a token
/status Show current filters/strategy
/start Restart the bot

🧠 Advanced Config (in .env or config.js)

BUY_AMOUNT=0.1        # How much SOL to spend per snipe
SLIPPAGE=0.5          # Slippage %
MIN_LIQUIDITY=5       # Minimum liquidity in SOL
BLOCKED_CREATORS=...  # Prevent known rug pullers

πŸ’‘ Tips for Sniping Success

  • Use private gRPC endpoints for lowest latency
  • Enable Jito / Nozomi tips for top-of-block inclusion
  • Monitor high-impact wallets and copy-trade them
  • Use small, fast wallets to reduce confirmation time
  • Don't chase every launch β€” apply strict filters

🌐 Future Roadmap

  • UI dashboard with live token stream
  • Auto sell with trailing profit or PNL%
  • Discord webhook support
  • Liquidity add alerts
  • Wallet tracking (copy-trade whales)

⚠️ Legal Disclaimer

This project is intended for educational and research purposes only. Using this bot on mainnet carries risk. The author is not responsible for any financial loss or misuse.


⭐⭐⭐⭐⭐ Like It? Star It!

If this bot helps you learn or profit:


πŸ‘¨β€πŸ’» Built by [Cryptoking❀]


Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •