Bot Setup Instructions

  1. Download zip file (on Linux, use the wget command) onto the machine you will run the bot on, unzip the zip file, and keep all files in the same folder. e.g.,

wget https://github.com/AlexRubik/rude-bot-solana/releases/download/v2.0.0-alpha/rude-bot-alpha2_0_0.zip
unzip rude-bot-alpha2_0_0.zip
cd rude-bot-alpha2_0_0
  1. Modify your .env file (see .env page) with nano or whatever text editor you use:

nano .env

  1. Modify your baseConfig.json with nano

  2. Give it permission to execute and then run the executable provided:

chmod +x rude-bot-alpha2_0_0
./rude-bot-alpha2_0_0

Use CTRL + C to stop the bot.

  1. We can run in background with screen command.

This creates a new terminal session:

screen -S session1

You may need to install screen with this command: apt install screen

After you have created your screen session, you can execute the bot

./rude-bot-alpha2_0_0

Leave the session with CTRL + D and then tap the letter A. Log back in to the session with screen -r session1

Last updated