A sophisticated Telegram bot for automated trading on Solana, featuring market making, arbitrage strategies, and real-time monitoring with MEV protection.
-
Automated Market Making 🤖
- Continuous bid/ask placement
- Dynamic spread adjustment
- Inventory rebalancing
-
Arbitrage Detection 🔍
- Cross-DEX price monitoring
- Profitability calculation
- JITO MEV-protected execution
-
Real-Time Alerts 🔔
- Price movement notifications
- Trade execution updates
- System health monitoring
-
Secure Wallet Management 🔒
- Encrypted key storage
- Multi-wallet support
- Transaction signing
Core:
- TypeScript
- Node.js
- Solana Web3.js
Integrations:
- Telegram Bot API
- Jupiter Aggregator
- Raydium SDK
- JITO (MEV protection)
Infrastructure:
- Rate-limited APIs
- Encrypted storage
- Real-time monitoring
- Node.js v18+
- Telegram bot token
- Solana RPC endpoint
- JITO API credentials (optional)
git clone https://github.com/your-repo/solana-market-maker-bot.git
cd solana-market-maker-bot
npm install
cp .env.example .envEdit .env:
TELEGRAM_BOT_TOKEN=your_bot_token
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
JUPITER_API_KEY=your_jupiter_key
ENCRYPTION_SECRET=your_32_char_encryption_key
JITO_ENDPOINT=https://jito-api.example.com
JITO_AUTH_KEY=your_jito_keynpm run build
npm startCommand --> Description
/connect_wallet--> Connect your Solana wallet/buy [token] [amount]--> Execute buy order/watch_token [token] [price]--> Set price alert/start_mm [pair]--> Start market making/stop_mm--> Stop market making/portfolio--> View current holdings
src/
├── core/ # Core trading logic
│ ├── blockchain/ # Solana/Jupiter/Raydium
│ ├── bot/ # Telegram interface
│ ├── engine/ # Trading strategies
│ └── security/ # Encryption/auth
│
├── services/ # Supporting services
│ ├── api/ # Market data
│ ├── alert/ # Notifications
│ ├── analytics/ # Performance tracking
│ └── wallet/ # Key management
│
└── types/ # Type definitionsnpm test # Run unit tests
npm run test:int # Integration tests
npm run test:e2e # End-to-end testsnpm run build # Compile TypeScript
npm run lint # Run linterdocker build -t market-maker-bot .
docker run -d --env-file .env market-maker-botnpm install -g pm2
pm2 start dist/main.js --name "market-maker-bot"-
Fork the project
-
Create your feature branch (
git checkout -b feature/AmazingFeature) -
Commit your changes (
git commit -m 'Add some amazing feature') -
Push to the branch (
git push origin feature/AmazingFeature) -
Open a Pull Request.
Distributed under the MIT License. See LICENSE for more information.
Project Link: https://github.com/thetruesammyjay/market-maker-bot
