Skip to content

Pumpfun Sniper Bot is a fully automated trading tool tailored for Pump.fun. It tracks new token creation events, executes buy orders, and sells tokens automatically after a user-defined delay.

Notifications You must be signed in to change notification settings

bitman310/solana-pumpfun-sniper-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

solana-pumpfun-sniper-bot

Pumpfun Sniper Bot is a fully automated trading tool tailored for Pump.fun. It tracks new token creation events, executes buy orders, and sells tokens automatically after a user-defined delay. The bot is easy to configure and can be customized through environment variables.

Contact me

Telegram: @diasibt

Discord: @dias_ishbulatov

Features

  • Automated Trading: Buys and sells tokens based on real-time events.
  • Interactive CLI: Easily configure the bot settings through a user-friendly CLI.
  • Comprehensive Logging: Tracks all activities and errors in a log file.
  • Auto-Sell Mechanism: Automatically sells tokens after a set delay.

Quick Start

  1. Install Dependencies:

    npm install
  2. Configure the Bot: Run the bot and select 'Edit config'


alt text


  1. Run the Bot:
    node sniper.mjs

Configuration

The bot is configured through a .env file:

RPC_ENDPOINT=https://your.rpc.endpoint (Helius recommended)
WS_ENDPOINT=wss://your.ws.endpoint
LOG_FILE=bot.log
BUYING_ENABLED=true
INVESTMENT_AMOUNT=0.05
SLIPPAGE_TOLERANCE=20
WALLET_PUBLIC_KEY=your_wallet_public_key
WALLET_PRIVATE_KEY=your_wallet_private_key
AUTO_SELL_DELAY_MS=30000

Key Settings

  • RPC_ENDPOINT: RPC endpoint for Solana network.
  • WS_ENDPOINT: WebSocket endpoint for real-time updates.
  • LOG_FILE: Log file path.
  • BUYING_ENABLED: Enable/disable buying.
  • AUTO_SELL_DELAY_MS: Delay before selling tokens.

Future Updates

I am going to add stop loss and take profit function to the sniper, so sniper will auto-sell the tokens when the price of the token meets the TP and SL.

About

Pumpfun Sniper Bot is a fully automated trading tool tailored for Pump.fun. It tracks new token creation events, executes buy orders, and sells tokens automatically after a user-defined delay.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published