Skip to content

Nexis-Network/Nexis-Swap

Repository files navigation

Nexis Swap

Build Instructions

  1. clone the repository
git clone https://github.com/Nexis-Network/Nexis-Swap
  1. change working directory

    cd Nexis-Swap
    cd sdk-core-nexis
    
  2. install sdk-core-nexis dependencies

    yarn install
    yarn build
    yalc publish
    
  3. change working directory to interface now

    cd ..
    cd interface
    yarn install
    
  4. If the above stuff fails run this

     yalc add @uniswap/sdk-core@4.2.0
     yalc link @uniswap/sdk-core@4.2.0
     yarn lfg
     yarn install
     rm apps/web/src/graphql/data/__generated__/types-and-hooks.ts
     mv types-and-hooks.ts apps/web/src/graphql/data/__generated__/types-and-hooks.ts
     yarn web start
  5. build

    yarn build:production