Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

fractapp/staking-bot

Repository files navigation

Getting Started

ENV Config

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}

Manual

  1. Create .env config

  2. Install yarn packages

yarn install
  1. Build
yarn build
  1. Start cache
yarn run cache
  1. Start stakingBot
yarn run stakingBot

Tests

yarn test