{"id":23916815,"url":"https://github.com/barkprotocol/bark-trading-bot","last_synced_at":"2025-07-14T18:07:02.044Z","repository":{"id":252032040,"uuid":"839136327","full_name":"barkprotocol/bark-trading-bot","owner":"barkprotocol","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-01T07:25:01.000Z","size":642,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T08:21:10.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barkprotocol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-07T03:33:49.000Z","updated_at":"2025-01-01T07:26:39.000Z","dependencies_parsed_at":"2024-08-07T10:00:25.211Z","dependency_job_id":null,"html_url":"https://github.com/barkprotocol/bark-trading-bot","commit_stats":null,"previous_names":["barkprotocol/bark-market-maker-bot","barkprotocol/barkbot-web-ui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fbark-trading-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fbark-trading-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fbark-trading-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barkprotocol%2Fbark-trading-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barkprotocol","download_url":"https://codeload.github.com/barkprotocol/bark-trading-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371743,"owners_count":19790888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-05T12:14:26.834Z","updated_at":"2025-02-23T19:43:14.030Z","avatar_url":"https://github.com/barkprotocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BarkBOT: Telegram Solana Bot (Raydium, Jupiter, Pump.fun)\n\n## Overview\n\nBark**BOT** is a powerful Telegram-based trading and tracking bot designed for Solana blockchain enthusiasts. It provides a seamless and secure way to monitor, trade, and manage SPL tokens across popular platforms like Raydium, Jupiter, and Pump.fun. With integrated tools for automated trading, PNL report generation, and enhanced wallet security, Bark**BOT** is tailored for both casual users and advanced traders.\n\nThe bot eliminates the need for exposing private keys by creating secure wallets for transactions. Additionally, Bark**BOT** leverages APIs like JITO for trading optimization, Raydium SDK for liquidity pool operations, and Birdeye API for market insights, making it a comprehensive solution for Solana token management.\n\n## Main Features\n\n- **Track All Tokens \u0026 Pools**: Comprehensive tracking of tokens and liquidity pools on Raydium (AMM, CLMM), Jupiter, and Pump.fun.\n- **Trade SPL Tokens**: Buy and sell all Solana Program Library (SPL) tokens using JITO integration across Raydium, Jupiter, and Pump.fun.\n- **Automated Trading**: Enable auto-buy/sell functionality based on user-defined settings.\n- **PNL Card Generation**: Generate detailed Profit \u0026 Loss (PNL) reports.\n- **Secure Wallet Integration**: Enhance user security by creating new wallets, eliminating the need for private keys from user wallets.\n\n## Screenshot\n\n*Add relevant screenshots showcasing the bot's interface and features.*\n\n---\n\n## Tech Stack\n\n- **TypeScript**: For type-safe development.\n- **Telegram API**: Enables bot interaction.\n- **Solana/web3**: Blockchain integration and transaction management.\n- **Raydium SDK**: For AMM and CLMM pool operations.\n- **Jupiter API**: For cross-platform token trading.\n- **Pump.fun**: Token tracking and trading.\n- **JITO**: Trading optimization.\n- **Birdeye API**: Token and market data analytics.\n- **MongoDB**: Persistent data storage.\n- **Redis**: For caching and session management.\n\n---\n\n## Prerequisites\n\nBefore you start, ensure you have the following:\n\n- **Node.js**: Version 18 or above.\n- **Telegram Bot Token**: Obtainable from BotFather on Telegram.\n- **MongoDB URI**: Connection string for your MongoDB cluster.\n- **Redis URI**: Connection string for your Redis instance.\n\n---\n\n## Configuration\n\n1. **Clone the Repository**  \n   ```sh\n   git clone https://github.com/bark-protocol/bark-telegram-bot.git\n   ```\n\n2. **Install Dependencies**  \n   ```sh\n   pnpm install\n   ```\n\n3. **Create an `.env` File**  \n   Add the following environment variables to a new `.env` file:\n\n   ```env\n   MONGODB_URL=\n   REDIS_URI=\n\n   # Telegram Bot IDs and API Tokens\n   BARK_BOT_ID=\n   BARK_ALERT_BOT_ID=\n   BridgeBotID=\n   ALERT_BOT_API_TOKEN=\n   TELEGRAM_BOT_API_TOKEN=\n\n   # RPC Endpoints\n   MAINNET_RPC=\n   PRIVATE_RPC_ENDPOINT=\n   RPC_WEBSOCKET_ENDPOINT=\n\n   # JITO and External API Configuration\n   JITO_UUID=\n   BIRD_EYE_API=\n   BARKBOT_API_ENDPOINT=\n   PNL_IMG_GENERATOR_API=\n   ```\n\n4. **Run the Bot**  \n   ```sh\n   const createKeyboardButton = (text: string, command: string): TelegramBot.InlineKeyboardButton =\u003e ({\n  text,\n  callback_data: JSON.stringify({ command })\n});\n   ```\n\n---\n\n## Usage\n\n- Use Telegram to interact with the Bark**BOT**.\n- Access advanced trading features and manage settings directly through the Bark**BOT** interface.\n\n---\n\n## Contribution\n\nIf you'd like to contribute to Bark**BOT**, feel free to fork the repository, create a new branch, and submit a pull request.\n\n---\n\n## License\n\nThis project is licensed under the MIT License.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarkprotocol%2Fbark-trading-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarkprotocol%2Fbark-trading-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarkprotocol%2Fbark-trading-bot/lists"}