Frontend for Roo Troop Staking V2
npm install
Create an .env.local
file containing values for variables specified in `src/config.ts (See vite documentation for more info on modes)
VITE_BACKEND_BASE_URI=http://localhost:3000
VITE_INFURA_PROJECT_ID=<INFURA_PROJECT_ID>
VITE_ETHEREUM_NETWORK=rinkeby
VITE_ETHEREUM_CHAIN_ID=4
VITE_CONTRACTS_ROO_TROOP=<ROO_TROOP_ADDRESS>
VITE_CONTRACTS_JOEY=<JOEY_ADDRESS>
VITE_CONTRACTS_STAKING=<STAKING_ADDRESS>
npm run dev
npm run build
Lint with ESLint
npm run lint
npm run typecheck