mnedelchev-vn / pancakeswap-sniper-bot

A free NodeJS sniper bot built to work with PancakeSwap: Router V2.
135 stars 76 forks source link

where can i add my api key and contract adress to buy and amount inside the code.js #4

Closed Peaceislove1996 closed 3 years ago

Peaceislove1996 commented 3 years ago

where can i add my api key and contract adress to buy and amount inside the code.js without copying the Sample terminal command

mnedelchev-vn commented 3 years ago

Hello, first of all there is no such thing as "api key" in my bot, you probably meant senderPrivateKey. It's easiest for you to copy the sample command from the docs and to replace the sample parameters with your own parameters, then open a terminal in the bot folder and fire the command. But if for some reason you want to stick to not using the terminal command and hardcoding the parameters, then you will have to open the pancakeswap-sniper-bot.js file into coding editor and then find the place where you can hardcode your parameters.