{"id":25738880,"url":"https://github.com/husreo/solana-pump.fun-sniper-bot","last_synced_at":"2025-05-08T05:23:28.660Z","repository":{"id":263586975,"uuid":"890866479","full_name":"husreo/solana-pump.fun-sniper-bot","owner":"husreo","description":"pump fun sniper bot ","archived":false,"fork":false,"pushed_at":"2025-02-17T15:29:53.000Z","size":21,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T17:13:23.066Z","etag":null,"topics":["backend","pump-fun","sniper-solana-bot","solana","typescript","web3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/husreo.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-11-19T10:16:26.000Z","updated_at":"2025-03-31T05:15:52.000Z","dependencies_parsed_at":"2024-11-19T23:18:04.878Z","dependency_job_id":null,"html_url":"https://github.com/husreo/solana-pump.fun-sniper-bot","commit_stats":null,"previous_names":["husreo/solana-pump.fun-sniper-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husreo%2Fsolana-pump.fun-sniper-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husreo%2Fsolana-pump.fun-sniper-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husreo%2Fsolana-pump.fun-sniper-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husreo%2Fsolana-pump.fun-sniper-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/husreo","download_url":"https://codeload.github.com/husreo/solana-pump.fun-sniper-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253004446,"owners_count":21838873,"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":["backend","pump-fun","sniper-solana-bot","solana","typescript","web3"],"created_at":"2025-02-26T07:39:51.380Z","updated_at":"2025-05-08T05:23:28.640Z","avatar_url":"https://github.com/husreo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n\r\n# Pump fun Sniper Bot\r\n\r\n***Pump fun Sniper Bot*** is an automated trading tool designed for Pump.fun. It monitors new token creation events, places buy orders, and sells tokens automatically after a customizable delay. The bot is simple to set up and fully configurable through environment variables.\r\n\r\n## Contact me\r\nTelegram: [@stevensprg](https://t.me/@stevensprg)\r\n\r\nX: [@husreo_tx](https://x.com/husreo_tx)\r\n\r\n## Features\r\n\r\n- **Automated Trading**: Buys and sells tokens based on real-time events.\r\n- **Interactive CLI**: Easily configure the bot settings through a user-friendly CLI.\r\n- **Comprehensive Logging**: Tracks all activities and errors in a log file.\r\n- **Auto-Sell Mechanism**: Automatically sells tokens after a set delay.\r\n\r\n## Quick Start\r\n\r\n1. **Install Dependencies**:\r\n   ```bash\r\n   npm install\r\n   ```\r\n\r\n2. **Configure the Bot**: Run the bot and select 'Edit config'\r\n\r\n\u003cbr\u003e\r\n\r\n![alt text](https://i.imgur.com/pb6TAQ0.png)\r\n\r\n\u003cbr\u003e\r\n\r\n3. **Run the Bot**:\r\n   ```bash\r\n   node sniper.mjs\r\n   ```\r\n\r\n## Configuration\r\n\r\nThe bot is configured through a `.env` file:\r\n\r\n```plaintext\r\nRPC_ENDPOINT=https://your.rpc.endpoint (Helius recommended)\r\nWS_ENDPOINT=wss://your.ws.endpoint\r\nLOG_FILE=bot.log\r\nBUYING_ENABLED=true\r\nINVESTMENT_AMOUNT=0.05\r\nSLIPPAGE_TOLERANCE=20\r\nWALLET_PUBLIC_KEY=your_wallet_public_key\r\nWALLET_PRIVATE_KEY=your_wallet_private_key\r\nAUTO_SELL_DELAY_MS=30000\r\n```\r\n\r\n### Key Settings\r\n\r\n- **RPC_ENDPOINT**: RPC endpoint for Solana network.\r\n- **WS_ENDPOINT**: WebSocket endpoint for real-time updates.\r\n- **LOG_FILE**: Log file path.\r\n- **BUYING_ENABLED**: Enable/disable buying.\r\n- **AUTO_SELL_DELAY_MS**: Delay before selling tokens.\r\n\r\n## Future Updates\r\n\r\nI am going to add stop loss and take profit function to the sniper, so sniper will auto-sell the tokens when the price of the token meets the TP and SL.\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusreo%2Fsolana-pump.fun-sniper-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhusreo%2Fsolana-pump.fun-sniper-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusreo%2Fsolana-pump.fun-sniper-bot/lists"}