An example to demonstrate digital asset exchange using the interface of Kyber Network.
Build with React v16 and Webpack v2.
First of all, install Node.js if you haven't. Then, install dependencies:
npm install
- Development mode
-
Start development server:
npm startornode server.js
-
- Production mode
-
Build bundles:
npm run buildorsh ./pack_run.sh -
Open
index.htmlin the browser directly.
-
htmlcomponents: App componentsimg: assets imagesstatic: for distribution.styles: all the less / css filesapp.js: entry point of the App
node_modules: generated bynpm install.index.htmlpack_run.sh: used to build bundles for production mode.server.js: used to start Webpack dev server for development modewebpack.config.*.js: configuration files of Webpack
Be careful!This is just a demo.