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 start
ornode server.js
-
- Production mode
-
Build bundles:
npm run build
orsh ./pack_run.sh
-
Open
index.html
in the browser directly.
-
html
components
: App componentsimg
: assets imagesstatic
: for distribution.styles
: all the less / css filesapp.js
: entry point of the App
node_modules
: generated bynpm install
.index.html
pack_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.