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