Production-ready pump.fun token launcher and trading suite built in Rust
- β 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
# Install Rust (if not installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Verify
rustc --version # Should show 1.70+cd pumpfun-rs
cargo build --release# Copy example configs
cp .env.example .env
cp config.example.json config.json
# Edit with your details
nano config.jsoncargo run --release- COMPLETE_GUIDE.md - Full documentation (start here!)
- IPFS_UPLOAD_GUIDE.md - Detailed IPFS instructions
- IPFS_QUICKSTART.md - Quick IPFS reference
- USAGE_GUIDE.md - Feature-by-feature guide
{
"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
}
]
}π€ 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%
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
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)
| 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) |
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_secretImage Requirements:
- Format: PNG, JPG, GIF
- Size: 800x800px (square)
- Max: 5MB
- Path: Absolute (not relative)
Buy: Launch (< 10 SOL MC)
Sell: 2-3x (20-30 SOL MC)
Time: 5-30 minutes
Risk: Medium
Buy: Launch
Sell: Near graduation (80+ SOL)
Time: Hours to days
Risk: High
Dev: Exit at 2-5x
Alts: Staggered sells
Time: 15-60 minutes
Risk: Low
- Use fresh wallets per launch
- Test with small amounts first
- Keep private keys encrypted
- Use premium RPC for reliability
- Back up all keys securely
- Commit keys to git
- Reuse dev wallets
- Share .env files
- Leave large amounts in hot wallets
- Skip testing on small amounts
# 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={
"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": [...]
}- Rust 1.70+
- Cargo
- 4GB RAM
- Stable internet
# Clone
git clone <repo-url>
cd pumpfun-rs
# Build (development)
cargo build
# Build (production)
cargo build --release
# Test
cargo test
# Run
cargo run --releaseImage not found
# Use absolute path
realpath image.pngIPFS upload failed
# Add Pinata keys to .env or upload manuallyInsufficient balance
# Add 10% buffer to required amountsSlippage exceeded
# Increase SLIPPAGE_BPS in .envTransaction failed
# Automatic retry (3x) usually resolves
# Use premium RPC for better success rateSee COMPLETE_GUIDE.md for detailed troubleshooting.
- Test first - Use small amounts initially
- Premium RPC - Use Helius/QuickNode for reliability
- Pinata API - Faster IPFS uploads
- Buffer funds - Add 10% extra for fees
- Stagger sells - Use anti-detection features
- Monitor market - Use Live Manager for real-time data
src/lib.rs- Main SDK with PumpFun clientsrc/main.rs- CLI interface and launchersrc/vanity.rs- Vanity address generationsrc/ipfs_upload.rs- IPFS image uploadsrc/market_cap.rs- Bonding curve mathsrc/pnl_tracker.rs- P&L trackingsrc/websocket_confirmer.rs- Real-time confirmssrc/retry.rs- Transaction retry logicsrc/anti_bubble.rs- Anti-detection features
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
Contributions welcome! This is a community project.
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing) - Commit changes (
git commit -m 'Add feature') - Push to branch (
git push origin feature/amazing) - Open Pull Request
Dual licensed under:
- MIT License
- Apache License 2.0
Choose the license that best fits your needs.
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
- Pump.fun: https://pump.fun
- Solana Docs: https://docs.solana.com
- Pinata (IPFS): https://pinata.cloud
- Helius (RPC): https://helius.dev
- Documentation: See
COMPLETE_GUIDE.md - Issues: Open GitHub issue
- Community: Join Solana/pump.fun Discord
# Build
cargo build --release
# Run
cargo run --release
# Test
cargo test
# Clean
cargo clean
# Format
cargo fmt
# Lint
cargo clippyMade with β€οΈ for the Solana community
β‘ Built for speed. Engineered for reliability. Designed for profits. π