Deposit your crypto assets, generate HAI and lever up your position.
yarn
yarn start
To have the app default to a different network when a wallet is not connected:
- Create a file and name it
.env
- Change
VITE_MAINNET_PUBLIC_RPC
to e.g."https://opt-mainnet.g.alchemy.com/v2/{YOUR_ALCHEMY_KEY}"
- Change
VITE_TESTNET_PUBLIC_RPC
to e.g."https://opt-sepolia.g.alchemy.com/v2/{YOUR_ALCHEMY_KEY}"
- Change
VITE_ALCHEMY_KEY
to e.g."YOUR_ALCHEMY_KEY"
- Change
VITE_WALLETCONNECT_ID
to e.g."YOUR_WALLETCONNECT_API_KEY"
yarn test:e2e
yarn test