Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.46 KB

README.md

File metadata and controls

46 lines (37 loc) · 1.46 KB

Arbchain client

version docs Follow

Web client for the Arbchain project. This project depends on the Arbchain contracts to feth the contract ABIs and deployment details.

Getting started

  1. Clone the following repos

    git clone https://github.com/arbchain/web.git
    git clone https://github.com/arbchain/contracts.git
  2. Install mirror tool and contract dependencies

    npm install -g mirror-besu
    cd contracts && npm install
    
  3. Deploy the contracts Navigate to the contracts project and update the build path in mirror-config.js file from build to ../web/src/build so that it build inside our web project.

    cd contracts
    mirror compile
    mirror deploy
  4. Install the node dependencies of the web project.

    cd web
    npm install
  5. Start the dapp, then point your browser to localhost:3000.

    npm start
    
    
  6. Build the Dapp for production, use the build command. A production build of the entire Dapp will be placed in the /build folder.

    npm run build || yarn build