- install and update brew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew update
- install nvm: brew install nvm
- install node: nvm install 16.10.0
- use nvm
- install yarn: npm install --global yarn
- run yarn to install modules: yarn install
- setup an infura account: https://app.infura.io/ and create a project
- setup a .env file with 3 variables with the values from infura:
REACT_APP_PROJECT_ID="<project_id>" REACT_APP_PROJECT_SECRET="<project_secret>" REACT_APP_PROJECT_DEDICATED_URL="<project_url>"
- run application: yarn start
when seeing a node error: export NODE_OPTIONS=--openssl-legacy-provider
to remove when node options not allowed unset NODE_OPTIONS