-
Open a terminal or commandline and
git clone git@github.com:JoshuaGX/carbada_mining_bot.git
-
change directory to
crabada_mining_bot
in your terminalcd crabada_mining_bot
-
Install deps by running, (this assumes you have installed nodejs and optionallly yarn)
yarn install
NB: if you have not installed yarn, install deps by running
npm install instead
-
Rename
.env.example
to.env
-
Open .env and set your wallet public key and private key // NB Private is needed to sign tx automatically
-
Once done open
config.ts
-
On
config.ts
checkfilters
,DELAY_B4_REINFORCEMENT_IN_MIN
andTEST_MODE
and ensure they are set correctly before running the botfilters
- The are filters that are used to filter lendings from tarven to select the best mercenary for reinforcementDELAY_B4_REINFORCEMENT_IN_MIN
- Minutes to wait before sending a reinforcementTEST_MODE
-true
for when on testnet i.e Swimmer Network and false for when on mainnet i.e Avalanche Mainet