Web client for the Arbchain project. This project depends on the Arbchain contracts
to feth the contract ABIs and deployment details.
-
Clone the following repos
git clone https://github.com/arbchain/web.git git clone https://github.com/arbchain/contracts.git
-
Install
mirror
tool and contract dependenciesnpm install -g mirror-besu cd contracts && npm install
-
Deploy the contracts Navigate to the
contracts
project and update the build path inmirror-config.js
file frombuild
to../web/src/build
so that it build inside our web project.cd contracts mirror compile mirror deploy
-
Install the node dependencies of the web project.
cd web npm install
-
Start the dapp, then point your browser to localhost:3000.
npm start
-
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