MONGODB_CONNECTION={mongodb connection string}
POLKADOT_RPC_URL={polkadot node}
KUSAMA_RPC_URL={kusama node}
SEED={seed for your bot}
CACHE_PORT={port for staking-bot cache server}
FRACTAPP_CLIENT_URL={url from fractapp server}-
Create .env config
-
Install yarn packages
yarn install- Build
yarn build- Start cache
yarn run cache- Start stakingBot
yarn run stakingBotyarn test