- Open the terminal and clone the repo
git clone https://github.com/Deezzir/SolanaBot.git
- Change the directory to the cloned repo
cd SolanaBot
- Install Node.js and npm if you haven't already, and install the dependencies
A good way to install Node.js and NPM is to use npm DOCS
npm install
- Create a
.env
file in the root directory and add the following
RPC=
ACCOUNT_0=
ACCOUNT_1=
ACCOUNT_2=
ACCOUNT_3=
KEYS_DIR=./keys
JITOTIP=
FETCH_MINT_API_URL=
LIQUIDITY_FILE=
BLOCK_URL=
IPFS_API_KEY=
MONGO_URI=
- Build the project
npm run build
- Run the project
node dist/bot.js -h