{"id":21462624,"url":"https://github.com/texora/pancakeswapbot","last_synced_at":"2025-03-17T05:13:14.860Z","repository":{"id":261203883,"uuid":"883596677","full_name":"texora/PancakeSwapBot","owner":"texora","description":"Trading bot Pancakeswap. Auto buy, custom slippage and GWEI","archived":false,"fork":false,"pushed_at":"2024-11-05T08:49:58.000Z","size":250,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T19:56:45.919Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/texora.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05T08:47:30.000Z","updated_at":"2024-11-05T16:35:31.000Z","dependencies_parsed_at":"2024-11-05T09:47:29.165Z","dependency_job_id":null,"html_url":"https://github.com/texora/PancakeSwapBot","commit_stats":null,"previous_names":["texora/pancakeswapbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/texora%2FPancakeSwapBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/texora%2FPancakeSwapBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/texora%2FPancakeSwapBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/texora%2FPancakeSwapBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/texora","download_url":"https://codeload.github.com/texora/PancakeSwapBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976486,"owners_count":20377691,"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":"2024-11-23T07:15:22.066Z","updated_at":"2025-03-17T05:13:14.825Z","avatar_url":"https://github.com/texora.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## IMPORTANT NOTES BEFORE RUNNING THE BOT\n\n1) The bot uses a wallet address and see phrase - this needs to be the **FIRST ACCOUNT** (Account0 by default) that was created by default when you installed metamask on your pc / macbook. \n    - if this is **NOT** configured correctly you will get an error that says \"(node:45320) UnhandledPromiseRejectionWarning: Error: insufficient funds for intrinsic transaction cost\"\n\n2) Make **sure** you have the following assets in your MetaMask wallet **FOR THE ACCOUNT ADDRESS WITH WHICH YOU ARE USING THE BOT**\n    - BNB (this is needed for gas)\n    - WBNB (this is used to purchase the desired token)\n    - IF you want to TEST the bot using WBNB / BUSD, then ADD the BUSD custom token to your MetaMask (0xe9e7cea3dedca5984780bafc599bd69add087d56)\n    - Run the bot using the to_Purchase value of the BUSD token contract. This works because liquidity is frequently added to this pool.\n\n3) **APPROVE WBNB** in your MetaMask\n    - you need to approve your wallet to spend WBNB in order for the bot to be able to make purchases\n    - to do this, go to pancakeswap, and in FROM put WBNB, and in the TO put elongate (0x2A9718defF471f3Bb91FA0ECEAB14154F150a385), and click 'Approve'.\n    - confirm the transaction in MetaMask\n    - Now WBNB should be approved, and the purchase transactions the bot will make on your wallets behalf using WBNB will not fail.\n\n\n## BOT SETUP \u0026 CONFIGURATION INSTRUCTIONS\n\n1) Download \u0026 Install Node.js - https://nodejs.org/en/ - 14.16.1 LTS is fine\n\n2) Extract the bot zip / download contents to a folder, example C:\\users\\username\\Downloads\\pancakeswap-sniping-bot\\\n\n3) install node dependencies | **do not** update anything manually during this process, only type the commands, and press enter.\n    - open command prompt\n    - cd C:\\users\\username\\Downloads\\pancakeswap-sniping-bot\\ ENTER\n    - npm init ENTER\n    - npm install ethers ENTER\n    - npm install chalk ENTER\n    - npm install express ENTER\n\n4) open package.json file inside your directory, example C:\\users\\username\\Downloads\\pancakeswap-sniping-bot\\, and make sure it contains:\n    - \"type\": \"module\",\n    - this should be on line 6, after the line \"main\": \"bot.js\",\n    - entire package.json should be:\n        ```\n        {\n            \"name\": \"trading-bot\",\n            \"version\": \"1.0.0\",\n            \"description\": \"\",\n            \"main\": \"bot.js\",\n            \"type\": \"module\",\n            \"scripts\": {\n                \"test\": \"echo \\\"Error: no test specified\\\" \u0026\u0026 exit 1\"\n            },\n            \"author\": \"\",\n            \"license\": \"ISC\",\n            \"dependencies\": {\n                \"chalk\": \"^4.1.1\",\n                \"ethers\": \"^5.1.4\",\n                \"express\": \"^4.17.1\"\n            }\n        }\n        ```\n\n5) open bot.js and input:\n    - the contract address of the token you want to purchase on line 9\n        - you can use BUSD as an example, as the WBNB / BUSD liquidity pool gets additions every few minutes\n    - your wallet address on line 12\n    - the amount of WBNB of the token you want to purchase on line 13\n    - the slippage required to purchase the token on pancakeswap on line 14\n        - you will need to MAKE SURE the slippage is set correctly for each token you plan to purchase\n    - the seed phrase of your wallet on line 22\n\n6) save the changes to bot.js\n\n7) Run the bot\n    - open the command prompt (it should be in the same directory it was earlier when you issued node commands)\n    - type 'node bot' and hit ENTER to run the bot\n    - you should see the bot listening for liquidity addition to pancakeswap in your command prompt window\n\n### Donations\nDonations are appreciated if you make a nice profit off the bot. :)\nETH, ERC20, **BSC** BNB \u0026 BEP20 tokens: 0x93666cad31F0942b010bbf1beF72304263d21A13\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftexora%2Fpancakeswapbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftexora%2Fpancakeswapbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftexora%2Fpancakeswapbot/lists"}