Skip to content

alsk1992/SmartPumpTool

πŸš€ Pump.Fun Token Bundler

Production-ready pump.fun token launcher and trading suite built in Rust

Rust Solana License


✨ Features

  • βœ… Atomic Create + Buy - No frontrun risk (single transaction)
  • βœ… Concurrent Alt Buys - Maximum speed bundle execution
  • βœ… Auto IPFS Upload - Local images uploaded automatically
  • βœ… Vanity Addresses - Auto-generates "pump" suffix
  • βœ… Live Trading Manager - Real-time UI for quick trades
  • βœ… Market Cap Tracking - Accurate bonding curve math
  • βœ… P&L Tracking - Per-wallet profit/loss analysis
  • βœ… Balance Pre-Check - Verify funds before execution
  • βœ… Cost Preview - See exact SOL requirements
  • βœ… Separate Slippage - 25% buy / 50% sell for guaranteed exits
  • βœ… WebSocket Confirms - Instant transaction feedback
  • βœ… 3x Retry Logic - Exponential backoff on failures
  • βœ… Anti-Bubble - Staggered sells with random delays
  • βœ… Creator Fees - Check accumulated dev fees

🎯 Quick Start

1. Prerequisites

# Install Rust (if not installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Verify
rustc --version  # Should show 1.70+

2. Build

cd pumpfun-rs
cargo build --release

3. Configure

# Copy example configs
cp .env.example .env
cp config.example.json config.json

# Edit with your details
nano config.json

4. Run

cargo run --release

πŸ“– Documentation


⚑ Quick Example

Config File

{
  "name": "My Token",
  "symbol": "MTK",
  "description": "My awesome token",
  "image_path": "/home/user/token.png",
  "dev_private_key": [198,213,117,...],
  "dev_buy_amount": 0.5,
  "buyer_wallets": [
    {
      "name": "buyer1",
      "private_key": [6,7,8,...],
      "buy_amount": 0.1
    }
  ]
}

Launch Output

πŸ“€ Uploading image to IPFS...
βœ… Image uploaded! https://ipfs.io/ipfs/QmX...

πŸ” Generating vanity address ending in 'pump'...
βœ… Token Mint: 9piZniQsNFz...pump

πŸš€ Creating token...
βœ… Token created and dev bought!
   View: https://pump.fun/9piZniQsNFz...pump

πŸ’° Alt wallet buys (concurrent)...
βœ… All buys complete! Success rate: 100%

πŸ“Š Market Cap: 51.2 SOL
   Graduation Progress: 0.75%

πŸŽ›οΈ Main Menu

1.  πŸš€ Instant Bundle Launch       - Create + buy in one flow
2.  πŸ“ Create Config Wizard        - Interactive setup
3.  πŸ“‚ Load & Launch from Config   - Use existing config
4.  πŸ’° Buy with Alt Wallets        - Bundle buy existing token
5.  πŸ’Έ Sell Tokens                 - Quick sell from wallet
6.  πŸ”₯ Dump All Wallets            - Sell from all config wallets
7.  πŸ“Š Live Token Manager          - Real-time trading UI
8.  πŸ“ˆ View Bonding Curve          - Check token stats
9.  πŸ‘› Manage Wallets              - Generate/fund wallets
10. 🎯 Bulk Generate & Fund        - Create multiple wallets
11. ⏱️  Staggered Sell             - Anti-detection selling
12. πŸ“‹ Transaction Dashboard       - View success/fail stats
13. πŸšͺ Exit

πŸ”₯ Live Token Manager

Real-time trading interface with instant actions:

πŸ“Š BONDING CURVE STATUS
────────────────────────────────────────────
Market Cap:           51.2 SOL (~$7,680)
Graduation Progress:  β–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 1.46%
────────────────────────────────────────────

ACTIONS:
1. πŸ’° Quick Buy
2. πŸ’Έ Quick Sell
3. πŸ“Š Refresh Bonding Curve
4. πŸ”₯ Dump All Config Wallets
5. ⏱️  Staggered Sell
6. πŸ’Ό Check Creator Fees
7. πŸšͺ Exit (Show P&L)

πŸ“Š Key Metrics

Metric Value
Transaction Cost ~0.0043 SOL per tx
Success Rate >95% with retries
Vanity Generation 2-5 minutes average
Confirmation Time <3 seconds (WebSocket)
Buy Slippage 25% (bundle-safe)
Sell Slippage 50% (guaranteed exit)

🎨 Image Handling

Auto-Upload to IPFS

Option 1: Local File

{
  "image_path": "/home/user/my-token.png"
}

β†’ Automatically uploads to IPFS

Option 2: IPFS URL

{
  "image_path": "https://ipfs.io/ipfs/QmX..."
}

β†’ Uses URL directly

Optional: Pinata API (Faster)

# .env
PINATA_API_KEY=your_key
PINATA_API_SECRET=your_secret

Image Requirements:

  • Format: PNG, JPG, GIF
  • Size: 800x800px (square)
  • Max: 5MB
  • Path: Absolute (not relative)

πŸ’° Trading Strategies

Quick Scalp

Buy:  Launch (< 10 SOL MC)
Sell: 2-3x (20-30 SOL MC)
Time: 5-30 minutes
Risk: Medium

Hold for Migration

Buy:  Launch
Sell: Near graduation (80+ SOL)
Time: Hours to days
Risk: High

Bundler Exit

Dev:  Exit at 2-5x
Alts: Staggered sells
Time: 15-60 minutes
Risk: Low

πŸ”’ Security

βœ… DO

  • Use fresh wallets per launch
  • Test with small amounts first
  • Keep private keys encrypted
  • Use premium RPC for reliability
  • Back up all keys securely

❌ DON'T

  • Commit keys to git
  • Reuse dev wallets
  • Share .env files
  • Leave large amounts in hot wallets
  • Skip testing on small amounts

βš™οΈ Configuration

Environment (.env)

# RPC
RPC_URL=https://api.mainnet-beta.solana.com

# Priority Fees
PRIORITY_FEE_UNIT_LIMIT=80000
PRIORITY_FEE_UNIT_PRICE=300
JITO_TIP_LAMPORTS=4000

# Slippage
SLIPPAGE_BPS=2500              # 25% buys
SELL_SLIPPAGE_BPS=5000         # 50% sells

# Retry
MAX_RETRIES=3
RETRY_INITIAL_DELAY_MS=500

# IPFS (Optional)
PINATA_API_KEY=
PINATA_API_SECRET=

Config File (config.json)

{
  "name": "Token Name",
  "symbol": "SYMBOL",
  "description": "Description",
  "image_path": "/path/to/image.png",
  "twitter": "@handle",
  "telegram": "t.me/group",
  "website": "https://site.com",
  "dev_private_key": [1,2,3,...,64],
  "dev_buy_amount": 0.5,
  "buyer_wallets": [...]
}

πŸ› οΈ Building from Source

Requirements

  • Rust 1.70+
  • Cargo
  • 4GB RAM
  • Stable internet

Build Steps

# Clone
git clone <repo-url>
cd pumpfun-rs

# Build (development)
cargo build

# Build (production)
cargo build --release

# Test
cargo test

# Run
cargo run --release

πŸ› Troubleshooting

Common Issues

Image not found

# Use absolute path
realpath image.png

IPFS upload failed

# Add Pinata keys to .env or upload manually

Insufficient balance

# Add 10% buffer to required amounts

Slippage exceeded

# Increase SLIPPAGE_BPS in .env

Transaction failed

# Automatic retry (3x) usually resolves
# Use premium RPC for better success rate

See COMPLETE_GUIDE.md for detailed troubleshooting.


πŸ“ˆ Success Tips

  1. Test first - Use small amounts initially
  2. Premium RPC - Use Helius/QuickNode for reliability
  3. Pinata API - Faster IPFS uploads
  4. Buffer funds - Add 10% extra for fees
  5. Stagger sells - Use anti-detection features
  6. Monitor market - Use Live Manager for real-time data

πŸ“š Architecture

Core Components

  • src/lib.rs - Main SDK with PumpFun client
  • src/main.rs - CLI interface and launcher
  • src/vanity.rs - Vanity address generation
  • src/ipfs_upload.rs - IPFS image upload
  • src/market_cap.rs - Bonding curve math
  • src/pnl_tracker.rs - P&L tracking
  • src/websocket_confirmer.rs - Real-time confirms
  • src/retry.rs - Transaction retry logic
  • src/anti_bubble.rs - Anti-detection features

Transaction Flow

1. Load Config
2. Check Balances
3. Preview Costs
4. Upload Image (if local)
5. Generate Vanity Address (ends in "pump")
6. Create + Dev Buy (atomic transaction)
7. Alt Buys (concurrent via tokio::spawn)
8. Confirmation (WebSocket real-time)
9. Success Dashboard

🀝 Contributing

Contributions welcome! This is a community project.

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing)
  3. Commit changes (git commit -m 'Add feature')
  4. Push to branch (git push origin feature/amazing)
  5. Open Pull Request

πŸ“„ License

Dual licensed under:

  • MIT License
  • Apache License 2.0

Choose the license that best fits your needs.


⚠️ Disclaimer

IMPORTANT:

  • This software is provided "as is" without warranty
  • Trading cryptocurrency is risky - you can lose money
  • Only risk capital you can afford to lose
  • No guarantees of profit
  • Always test with small amounts first
  • Not financial advice - DYOR

Security:

  • Review all code before using
  • Never commit private keys
  • Use secure, malware-free computers
  • Keep encrypted backups

Legal:

  • You are responsible for legal compliance
  • Consult legal/financial advisors
  • Token creation may have tax implications

πŸ”— Resources


πŸ“ž Support

  • Documentation: See COMPLETE_GUIDE.md
  • Issues: Open GitHub issue
  • Community: Join Solana/pump.fun Discord

πŸŽ‰ Quick Command Reference

# Build
cargo build --release

# Run
cargo run --release

# Test
cargo test

# Clean
cargo clean

# Format
cargo fmt

# Lint
cargo clippy

Made with ❀️ for the Solana community

⚑ Built for speed. Engineered for reliability. Designed for profits. πŸš€

About

Tool to help with pump.fun launches

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors