Reflexer

HAI App

Deposit your crypto assets, generate HAI and lever up your position.

Development

Install Dependencies

yarn

Run

yarn start

Configuring the environment

To have the app default to a different network when a wallet is not connected:

  1. Create a file and name it .env.development.local
  2. Change REACT_APP_NETWORK_ID to "420"
  3. Change REACT_APP_NETWORK_URL to e.g. "https://opt-goerli.g.alchemy.com/v2/{YOUR_INFURA_KEY}"

Testing

Cypress integration test

yarn test:e2e

Jest test

yarn test