-
Open a terminal or commandline and
git clone [email protected]:JoshuaGX/carbada_mining_bot.git -
change directory to
crabada_mining_botin your terminalcd crabada_mining_bot -
Install deps by running, (this assumes you have installed nodejs and optionallly yarn)
yarn installNB: if you have not installed yarn, install deps by running
npm install instead
-
Rename
.env.exampleto.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.tscheckfilters,DELAY_B4_REINFORCEMENT_IN_MINandTEST_MODEand 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-truefor when on testnet i.e Swimmer Network and false for when on mainnet i.e Avalanche Mainet