Skip to content

Fully automated pump.fun tokens scripts to place buy and sell trades in python, nodejs, rust for pumpfun tokens.

Notifications You must be signed in to change notification settings

0xdevlen/pump.fun-buy-sell-trading-scripts

Repository files navigation

Welcome to Pump.fun trading scripts 🚀

Script Pump.fun, allowing you to easily programmatically place buy & sell trades on the Pump.fun tokens. 📈

The script is available in multiple programming languages, making it easy to integrate with your existing infrastructure:

  • Python 🐍
  • NodeJS 📦
  • Rust 🦀
  • C++ 💻
  • Bash Script 📄

Dockerfile 🐳

We also provide a Dockerfile for easy deployment and containerization.

Script Features 🚀

Our script offers a wide range of features for interacting with the Solana blockchain, including:

  • Trade Management 📊: Buy and sell quotes, execute trades, and manage your portfolio.
  • Metadata Management 📝: retrieve metadata for your tokens.
  • Token Creation 🎨: Create new tokens with custom settings and configurations.
  • Batch Transfer SOL 📈: Transfer SOL to multiple wallets in a single transaction.
  • Wallet Management 📁: Create new wallets in bulk.

Usage

python script.py --trade_type <buy|sell> --mint <mint_address> --amount <amount> --slippage <slippage> --priority_fee <priority_fee> --private_key <private_key> --interval <interval> --frequency <frequency>

Arguments

  • --trade_type: Buy or sell (required)
  • --mint: Token mint address (required)
  • --amount: Amount in SOL, if buying, or of tokens if selling (required)
  • --slippage: Desired slippage (required)
  • --priority_fee: Value in SOL (required)
  • --private_key: Wallet private key (required)
  • --interval: Interval in seconds between trades (required)
  • --frequency: Number of times to place the trade (required)

Example

python script.py --trade_type buy --mint 1234567890abcdef --amount 1.0 --slippage 1 --priority_fee 0.01 --private_key abcdef1234567890 --interval 30 --frequency 5

This would place 5 buy trades, with an interval of 30 seconds between each trade.

Note

  • Make sure to replace the script.py with the actual name of your script file.
  • Be careful when using this script, as it can execute trades automatically. Make sure to test it in a simulated environment before using it with real funds. 💸

About

Fully automated pump.fun tokens scripts to place buy and sell trades in python, nodejs, rust for pumpfun tokens.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published