Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

SetProtocol/set-rebalancer-boilerplate

Repository files navigation

Rebalancer Boilerplate

Install 💻

Before getting started, make sure you have yarn or npm:

$ brew install yarn
$ brew install npm

To setup, install packages and copy local .env:

$ cp .env.default .env
$ yarn install --ignore-engines

NOTE: Heroku does not allow for two types of lock files so only do yarn install vs npm install

Walk through the steps in the API Integration Walkthrough in order to:

  • Set up you wallet with mnemonic
  • Set up Infura
  • Set up your .env file

Running local instance:

$ yarn run start-dev

Running tests:

$ yarn test 

NOTE: If you run into issues with build/Release/scrypt not being found, run npm run fix-scrypt