A example DApp for ERC20 MintableToken
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
config dapp observes total supply of token Jan 2, 2018
images add images Nov 10, 2017
src upgrade project Aug 2, 2018
.gitignore replace bash with sh in new alpine image Nov 14, 2017
.neutrinorc.js add check for no constants in config Nov 13, 2017
README.md readme Jan 5, 2018
package.json upgrade project Aug 2, 2018
solar.development.json.example upgrade project Aug 2, 2018
tsconfig.json tweaks Nov 2, 2017
tslint.json update lint rules Jan 2, 2018
yarn.lock upgrade project Aug 2, 2018


QtumBook Companion Guide

The DApp Dev Server

Let's get the DApp running. First, install npm dependencies:

# https://yarnpkg.com/en/
yarn install

Start Neutrino dev server on port 3000:

PORT=3000 yarn start

Open http://localhost:3000, and edit src/index.tsx for live-reload.

See: YouTube Demo Video

For styling, edit src/index.css.

Edit the html options to customize the HTML template. See html-webpack-template.

Other Tips

Generating sourcemap may slow down project rebuilding. Webpack provide other sourcemap types that can speed up project building.

In particular, the eval sourcemap is quite faster.

SOURCEMAP=eval PORT=3000 yarn start

See devtool for a list of sourcemap types.