This project contains the main features of the pancake application.
If you want to contribute, please refer to the contributing guidelines of this project.
install dependencies using yarn
yarnstart the development server
yarn devbuild with production mode
yarn build
# start the application after build
yarn start- Update
ROUTER_ADDRESSinsrc/config/constants/exchange.ts - Update
INIT_CODE_HASH,FACTORY_ADDRESS,WETHinpackages/swap-sdk/src/constants.ts
- Enable chain in file
src/utils/wagmi.ts - Update file
src/components/NetworkSwitcher.tsx
- Custom sources in
src/config/constants/lists.ts - Extra config for exchange in
src/config/constants/exchange.ts - Tokens management: All the tokens are in
/packages/tokens/src/[chainId].ts. To add a Token to the exchange lists:- For the default list:
/config/constant/tokenLists/pancake-default.tokenlist.json - To blacklist a token:
/config/constant/tokenListspancake-unsupported.tokenlist.json
- For the default list:
- Build & Development Settings:
- Build Command:
yarn build - Install Command:
yarn install
- Build Command:
- Root Directory: empty
- Build & Development Settings:
- Build Command:
cd ../.. && turbo run build --filter={/apps/bridge}... - Install Command:
yarn install
- Build Command:
- Root Directory:
apps/bridge