- ⚡️ Typescript
- ⚛️ Telegram Bot using node-telegram-bot-api
- ✨ Birdeye API
- 💨 Solana Web3
git clone https://github.com/greengod63/solana-sniper-bot.git
cd solana-sniper-botI used npm as a node package manager.
npm installCreate a .env file in the project root:
TELEGRAM_BOT_TOKEN=""
BIRDEYE_API_KEY=""
SOLANA_RPC_URL=""
BOT_WALLET_PUBLIC_KEY=""💡 Pro Tip:
- Obtain an API key from Helius or another Solana RPC provider for optimal performance
- Default RPC endpoints are available as fallback options
config folder contains several main config settings for this project.
You can start the server using this command:
npm startindex.ts: Main code for this project.config/: Contains the settings for this project.bot/: Contains the code such asMessageHandlerorCallBackQueryHandlerto control the Telegram bot.components/: Defines InlineKeyboards that are main parts of Telegram Bot UI.module/: Defines MongoDB Schema.service/: CRUD actions to interact with MongoDB.public/: Public Assets such as images.swap/: Buy/Sell Script SPL tokens on Solana.utils/: Various useful functions..env: Needed Env values.package.json: Project metadata and dependencies.tsconfig.json: TypeScript configuration file.
Contributions are welcome! Please fork the repository and submit a pull request with your improvements.
- Fork the repository
- Create your feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/YourFeature) - Open a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
hYn1ZbfAdhSgwezgVADHR6nNzGWe7F71JGVdFvqk8L3
🎯 This is not a completed project. Now I am developing continuously.