To launch the application locally:
yarn
yarn codegen && yarn wagmi-generate
yarn dev
To set up Admin Panel for your DEX:
- In
.envupdateVITE_INFO_GRAPHandVITE_FARMS_GRAPHwith your subgraph endpoints. UpdateVITE_INFURA_RPCwith RPC of your chain. - Update contract addresses in
src/constants/addresses.ts - Update chain specific details in
src/wagmi.tsandsrc/constants/default-chain-id.ts
After each contracts change please launch yarn wagmi-generate to generate new contract functions