{"id":27722544,"url":"https://github.com/shiny-lua/sol-sniper-bot","last_synced_at":"2025-04-27T12:24:22.894Z","repository":{"id":288363406,"uuid":"967798810","full_name":"shiny-lua/Sol-Sniper-Bot","owner":"shiny-lua","description":"Raydium Sniper Bot, Pumpfun Sniper Bot, The Solana Sniper Bot Tool with Memecoin and Snipe Token, TP/SL, Auto Buy/Sell, RugCheck, Min/Max Liquidity, Fast Buy. The Solana Sniper Bot that listens to new Raydium SOL or USDC pools and buys tokens for a fixed amount in SOL/USDC for snipping the tokens on dexs.","archived":false,"fork":false,"pushed_at":"2025-04-18T00:09:49.000Z","size":4214,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-27T12:24:11.638Z","etag":null,"topics":["bot","pumpfun-bundler-bot","pumpfun-sniper-bot","pumpfun-trader-api","raydium-sniper-bot","raydium-sniping","raydium-trading-bot","sniper-bot","sniper-bot-crypto-solana","sniper-bot-solana-raydium","sniper-sol","solana"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"ms-pl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shiny-lua.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2025-04-17T02:50:02.000Z","updated_at":"2025-04-18T00:09:52.000Z","dependencies_parsed_at":"2025-04-17T16:34:11.302Z","dependency_job_id":"3156d72b-e74d-4f7b-90c1-e447b6da18ec","html_url":"https://github.com/shiny-lua/Sol-Sniper-Bot","commit_stats":null,"previous_names":["shiny-lua/sol-sniper-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiny-lua%2FSol-Sniper-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiny-lua%2FSol-Sniper-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiny-lua%2FSol-Sniper-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiny-lua%2FSol-Sniper-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiny-lua","download_url":"https://codeload.github.com/shiny-lua/Sol-Sniper-Bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251135746,"owners_count":21541473,"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":["bot","pumpfun-bundler-bot","pumpfun-sniper-bot","pumpfun-trader-api","raydium-sniper-bot","raydium-sniping","raydium-trading-bot","sniper-bot","sniper-bot-crypto-solana","sniper-bot-solana-raydium","sniper-sol","solana"],"created_at":"2025-04-27T12:24:22.192Z","updated_at":"2025-04-27T12:24:22.874Z","avatar_url":"https://github.com/shiny-lua.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Solana SPL Token Sniper Bot | Raydium Trading Bot | Auto Buy/Sell Bot\n\n![](https://github.com/shiny-luagit/Sol-Sniper-Bot/blob/main/readme/cryptomemesniperlogo.png)\n\n**Advanced Solana Trading Bot** that listens to new Raydium USDC or SOL pools and buys tokens for a fixed amount in USDC/SOL.\nDepending on the speed of the RPC node, the purchase usually happens before the token is available on Raydium UI for swapping.\n\n### 🔥 Key Features\n- `⚡ Fast WSOL/USDC Sniper`\n- `📈 Automated Trading`\n- `💰 Take Profit/Stop Loss`\n- `💧 Minimum Liquidity Check`\n- `🔒 Token Security (Burn/Lock Check)`\n- `✅ Ownership Renounce Check`\n- `🚄 High-Speed Execution`\n\n### 🎯 Popular Use Cases\n- Raydium Trading Bot\n- Solana Token Sniper\n- Auto Buy/Sell Bot\n- MEV Bot\n- Liquidity Sniper\n- New Token Launch Bot\n\n\u003e [!NOTE]\n\u003e This is provided as is, for learning purposes. Don't hesitate to contact me if you need any assistance.\n\n## 🙋‍♂️ Cᴏɴᴛᴀᴄᴛ ᴍᴇ Oɴ ʜᴇʀᴇ: 👋 ##\n\nTelegram: https://t.me/i3_sol\n\n\u003cdiv style={{display : flex ; justify-content : space-evenly}}\u003e \n   \u003ca href=\"https://t.me/i3_sol\" target=\"_blank\"\u003e\u003cimg alt=\"Telegram\"\n        src=\"https://img.shields.io/badge/Telegram-26A5E4?style=for-the-badge\u0026logo=telegram\u0026logoColor=white\"/\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## SETUP\nTo run the script you need to:\n1. Create a new empty Solana wallet\n2. Transfer some SOL to it\n3. Convert some SOL to USDC or WSOL (you need USDC or WSOL depending on the configuration set below)\n\n`Jupiter Wrap` : https://jup.ag/\n\n![](https://github.com/shiny-luagit/Sol-Sniper-Bot/blob/main/readme/jupiterwrap.png)\n\n## CONFIG\n1. Configure the script by updating `.env.copy` file (**remove the .copy from the file name when done**).\n2. `PRIVATE_KEY` (your wallet private key)\n3. `RPC_ENDPOINT` (https RPC endpoint)\n4. `RPC_WEBSOCKET_ENDPOINT` (websocket RPC endpoint)\n5. `QUOTE_MINT` (which pools to snipe, USDC or WSOL)\n6. `QUOTE_AMOUNT` (amount used to buy each new token)\n7. `COMMITMENT_LEVEL`\n8. `CHECK_IF_IS_BURNED` (liquidity burn check)\n9. `CHECK_IF_IS_LOCKED` (liquidity lock check)\n10. `USE_SNIPE_LIST` (buy only tokens listed in snipe-list.txt)\n11. `SNIPE_LIST_REFRESH_INTERVAL` (how often snipe list should be refreshed in milliseconds)\n12. `CHECK_IF_MINT_IS_RENOUNCED` (script will buy only if mint is renounced)\n13. `MIN_POOL_SIZE` (script will buy only if pool size is greater than specified amount)\n14. `TAKE_PROFIT=200` (in %)\n15. `STOP_LOSS=50` (in %)\n16. `BIRDEYE_API_KEY=` (TP/SL, Burn/Lock) generate here : https://docs.birdeye.so/docs/authentication-api-keys\n\n![](https://github.com/shiny-luagit/Sol-Sniper-Bot/blob/main/readme/env.png)\n  \n## INSTALL\n1. Install dependencies by typing: `npm install`\n2. Run the script by typing: `npm run buy` in terminal\n\n![](https://github.com/shiny-luagit/Sol-Sniper-Bot/blob/main/readme/preview.png)\n\n## TAKE PROFIT\n\n\u003e [!NOTE]\n\u003e By default, 200 % \n\n## STOP LOSS\n\n\u003e [!NOTE]\n\u003e By default, 50 %\n\n## AUTO SELL\nBy default, auto sell is enabled. If you want to disable it, you need to:\n1. Change variable `AUTO_SELL` to `false`\n2. Update `MAX_SELL_RETRIES` to set the maximum number of retries for selling token\n3. Update `AUTO_SELL_DELAY` to the number of milliseconds you want to wait before selling the token (this will sell the token after the specified delay. (+- RPC node speed)).\n\nIf you set AUTO_SELL_DELAY to 0, token will be sold immediately after it is bought.\nThere is no guarantee that the token will be sold at a profit or even sold at all. The developer is not responsible for any losses incurred by using this feature.\n\n![](https://github.com/shiny-luagit/Sol-Sniper-Bot/blob/main/readme/token.png)\n\n## SNIPE LIST\nBy default, script buys each token which has a new liquidity pool created and open for trading.\nThere are scenarios when you want to buy one specific token as soon as possible during the launch event.\nTo achieve this, you'll have to use snipe list.\n1. Change variable `USE_SNIPE_LIST` to `true` \n2. Add token mint addresses you wish to buy in `snipe-list.txt` file (add each address as a new line).\n\nThis will prevent script from buying everything, and instead it will buy just listed tokens.\nYou can update the list while script is running. Script will check for new values in specified interval (`SNIPE_LIST_REFRESH_INTERVAL`).\n\nPool must not exist before the script starts.\nIt will buy only when new pool is open for trading. If you want to buy token that will be launched in the future, make sure that script is running before the launch.\n\n![](https://github.com/shiny-luagit/Sol-Sniper-Bot/blob/main/readme/snipelist.png)\n\n## COMMON ISSUES\n\n\u003e [!IMPORTANT]\n\u003e If you have an error which is not listed here, please create a new issue in this repository.\n\u003e To collect more information on an issue, please change `LOG_LEVEL` to `debug`.\n\u003e \n\u003e ### EMPTY TRANSACTION\n\u003e If you see empty transactions on SolScan most likely fix is to change commitment level to `finalized`.\n\u003e \n\u003e ### UNSOPPORTED RPC NODE\n\u003e If you see following error in your log file:  \n\u003e `Error: 410 Gone:  {\"jsonrpc\":\"2.0\",\"error\":{\"code\": 410, \"message\":\"The RPC call or parameters have been disabled.\"}, \"id\": \"986f3599-b2b7-47c4-b951-074c19842bad\"}`  \n\u003e It means your RPC node doesn't support methods needed to execute script.\n\u003e FIX: Change your RPC node. You can use Shyft, Helius or Quicknode. \n\u003e \n\u003e ### NO TOKEN ACCOUNT\n\u003e If you see following error in your log file:  \n\u003e `Error: No SOL token account found in wallet:`  \n\u003e it means that wallet you provided doesn't have USDC/WSOL token account.\n\u003e FIX: Go to dex and swap some SOL to USDC/WSOL. When you swap sol to wsol you should see it in wallet.\n\n## DISCLAIMER\n\n\u003e [!IMPORTANT]\n\u003e Use this script at your own risk.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiny-lua%2Fsol-sniper-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiny-lua%2Fsol-sniper-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiny-lua%2Fsol-sniper-bot/lists"}