Automated trading bot for PumpFun with Artificial Intelligence.
Download Python 3.10+ from https://python.org
pip install -r requirements.txt- Copy
.env.exampleto.env - Open
.envwith a text editor (Notepad, VS Code, etc.) - Fill in your information:
# Your Solana private key
SOLANA_PRIVATE_KEY=your_private_key_here
# Your public address
SOLANA_PUBLIC_KEY=your_public_address_here
# Amount per trade (in SOL)
BUY_AMOUNT_SOL=0.05
# Simulation mode (true = no real money)
SIMULATION_MODE=truepython live_trading_bot.pyAll configuration is done in the .env file:
| Variable | Description | Example |
|---|---|---|
SOLANA_PRIVATE_KEY |
Your private key | 5Kj7q... |
SOLANA_PUBLIC_KEY |
Your wallet address | 7xKp... |
BUY_AMOUNT_SOL |
Amount per trade | 0.05 |
SIMULATION_MODE |
true = test, false = real | true |
STOP_LOSS_PERCENT |
Stop loss in % | 35 |
POSITION_TIMEOUT_MINUTES |
Timeout in minutes | 45 |
- SIMULATION_MODE=true : Bot runs but doesn't use real money (for testing)
- SIMULATION_MODE=false : Real trading with your SOL
- NEVER share your
.envfile - NEVER share your private key
- Always start in simulation mode
- Test with small amounts first (0.01 SOL)
For questions, open an issue on GitHub.