- git clone https://github.com/goosedefi/goose-frontend-farms
- npm install
- Modify core addresses (treat wbnb as WBNB-T and cake as SPG token)
- /src/config/constants/contracts.ts (masterchef / cake / mulltiCall)
- Correct /src/config/abi/* by copy the right ones from rinkeby.etherscan.io
- cake.json
- masterchef.json
- Multicall.json
- weth.json
- Modify LP and Token addresses
- /src/config/constants/farms.ts
- Add 4 (rinkeby) to /src/config/constants/types.ts
- Remove IFO component on /src/App.tsx
- Modify all .env/.env.development/.env.production/ to be Rinkeby
- yarn start
- Check APR and Price of each pools
- Calculate APR [Line: 56] /src/view/Farms/farms.tsx
- Calculate SPG price [Line: 76] /src/state/hooks.ts