Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.36 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.36 KB

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
  2. Change VITE_MAINNET_PUBLIC_RPC to e.g. "https://opt-mainnet.g.alchemy.com/v2/{YOUR_ALCHEMY_KEY}"
  3. Change VITE_TESTNET_PUBLIC_RPC to e.g. "https://opt-sepolia.g.alchemy.com/v2/{YOUR_ALCHEMY_KEY}"
  4. Change VITE_ALCHEMY_KEY to e.g. "YOUR_ALCHEMY_KEY"
  5. Change VITE_WALLETCONNECT_ID to e.g. "YOUR_WALLETCONNECT_API_KEY"

Testing

Cypress integration test

yarn test:e2e

Jest test

yarn test