Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spinlists/solana-trading-software
**SolarisAI** represents the cutting edge of automated trading technology on the Solana blockchain. By combining artificial intelligence with high-frequency trading capabilities, our bot delivers unparalleled performance in the DeFi space.
https://github.com/spinlists/solana-trading-software
ai-trading automated-trading blockchain crypto-trading cryptocurrency defi raydium solana solana-dex solana-program trading-algorithms trading-bot web3
Last synced: 5 days ago
JSON representation
**SolarisAI** represents the cutting edge of automated trading technology on the Solana blockchain. By combining artificial intelligence with high-frequency trading capabilities, our bot delivers unparalleled performance in the DeFi space.
- Host: GitHub
- URL: https://github.com/spinlists/solana-trading-software
- Owner: spinlists
- License: ms-pl
- Created: 2025-02-01T19:40:07.000Z (5 days ago)
- Default Branch: main
- Last Pushed: 2025-02-01T21:07:47.000Z (5 days ago)
- Last Synced: 2025-02-01T21:28:42.519Z (5 days ago)
- Topics: ai-trading, automated-trading, blockchain, crypto-trading, cryptocurrency, defi, raydium, solana, solana-dex, solana-program, trading-algorithms, trading-bot, web3
- Language: TypeScript
- Homepage:
- Size: 29.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SolarisAI Trading Bot
```
_____ _ _ _____
/ ____| | | (_) |_ _|
| (___ ___ | | __ _ _ __ _ ___ | |
\___ \ / _ \| |/ _` | '__| / __|| |
____) | (_) | | (_| | | | \__ \| |_
|_____/ \___/|_|\__,_|_| |_|___/_____|
```*Last Updated: February 1, 2025*
## Overview
**SolarisAI** represents the cutting edge of automated trading technology on the Solana blockchain. By combining artificial intelligence with high-frequency trading capabilities, our bot delivers unparalleled performance in the DeFi space.
## Key Features
- **Ultra-Fast Execution**: Lightning-fast trades with minimal slippage
- **AI-Powered Analysis**: Advanced market analysis and prediction
- **Multi-DEX Support**: Trade across Raydium, Jupiter, and other major Solana DEXs
- **Smart Contract Security**: Built-in protection against common DeFi vulnerabilities
- **MEV Protection**: Advanced mechanisms to prevent sandwich attacks
- **Automatic Position Management**: Smart take-profit and stop-loss
- **User-Friendly**: Simple setup and configuration## 🛠Installation Guide
> **Ready to Run!** All dependencies are pre-installed. No setup or `npm install` needed - just clone and start trading! 🚀
### Prerequisites
- Node.js v16 or higher ([Download here](https://nodejs.org/))
- Git ([Download here](https://git-scm.com/downloads))
- Solana wallet with SOL for trading
- Text Editor (e.g., VSCode)### Step-by-Step Installation
1. **Clone the Repository**
```bash
git clone https://github.com/spinlists/solana-trading-software.git
cd solana-trading-software
```2. **Setup Configuration**
```bash
cp .env.copy .env
```3. **Edit the .env file with your settings:**
```env
# Required Settings
PRIVATE_KEY=your_solana_private_key # Your Solana Private Key
RPC_ENDPOINT=your_rpc_endpoint # e.g., https://api.mainnet-beta.solana.com
RPC_WEBSOCKET_ENDPOINT=your_ws_endpoint # e.g., wss://api.mainnet-beta.solana.com# Trading Settings
QUOTE_MINT=WSOL # Trading pair (don't change)
QUOTE_AMOUNT=0.1 # Amount in SOL per trade
COMMITMENT_LEVEL=finalized # Confirmation level
USE_SNIPE_LIST=false # Enable/disable snipe list# Security Settings
CHECK_IF_MINT_IS_RENOUNCED=true # Security check for token contracts
MIN_POOL_SIZE=1 # Minimum pool size in SOL# Auto Trading Settings
AUTO_SELL=true # Enable automatic selling
MAX_SELL_RETRIES=5 # Maximum sell attempts
AUTO_SELL_DELAY=30000 # Delay before auto-sell (ms)
TAKE_PROFIT=50 # Take profit percentage
STOP_LOSS=30 # Stop loss percentage# Optional Settings
BIRDEYE_API_KEY=your_birdeye_api_key # For additional market data
LOG_LEVEL=info # Logging detail level
SNIPE_LIST_REFRESH_INTERVAL=20000 # Snipe list update interval (ms)
```4. **Start Trading**
```bash
npm run buy
```### Expected Output
When running correctly, you should see output similar to:
```
[HH:MM:SS] INFO: Wallet Address: Your_Wallet_Address
[HH:MM:SS] INFO: Snipe list: false
[HH:MM:SS] INFO: Check mint renounced: true
[HH:MM:SS] INFO: Min pool size: 1.000000000 SOL
[HH:MM:SS] INFO: Buy amount: 0.100000000 SOL
[HH:MM:SS] INFO: Auto sell: true
[HH:MM:SS] INFO: Listening for wallet changes: 2
[HH:MM:SS] INFO: Listening for raydium changes: 0
[HH:MM:SS] INFO: Listening for open book changes: 1
```This indicates the bot is successfully:
- Connected to your wallet
- Configured with your settings
- Monitoring multiple DEXs
- Ready to execute trades### Important Notes
#### Finding Your Private Key
- Open your Phantom Wallet
- Click the three dots → Settings
- Select "Export Private Key"
- Copy the key to your .env file#### RPC Endpoints
Recommended RPCs:
- QuickNode (fast, paid)
- Alchemy (fast, paid)
- api.mainnet-beta.solana.com (free, slower)#### Getting Started
1. Start with a small amount (e.g., 0.1 SOL)
2. Test the bot first with USE_SNIPE_LIST=true
3. Check logs for any errors
4. Gradually increase QUOTE_AMOUNT#### Troubleshooting
- Error "Cannot find module": Run `npm install` again
- RPC errors: Check your RPC_ENDPOINT URLs
- Insufficient funds: Ensure enough SOL in wallet
- Private key errors: Verify your private key format## Configuration
### Advanced Settings
Detailed configuration options can be found in `src/config.ts`:
- Trading pairs
- Slippage tolerance
- Gas settings
- Network configurations### Security
- Never share your private key
- Use a dedicated trading wallet
- Keep your RPC endpoints private
- Regularly update dependencies## Support and Community
- [Discord Community](https://discord.gg/solarisai)
- [Telegram Group](https://t.me/solarisai)
- [Documentation](https://docs.solarisai.com)## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
## Disclaimer
Trading cryptocurrencies carries significant risk. Only trade with funds you can afford to lose. This software is provided as-is with no guarantees of profit or performance.