Skip to content

Token Wizard 2.0 Local Dev Version

Victor Baranov edited this page Sep 21, 2018 · 1 revision

For dev purposes you can build and run Token Wizard on your machine.

Prerequisites

Nodejs >= v.6.11.4

For Windows users:
npm install --global --production windows-build-tools
npm install --global node-gyp

restart CMD and run it As Administrator

Getting started

For Windows:

git clone https://github.com/poanetwork/token-wizard.git wiz
cd wiz
git submodule update --init --recursive --remote
npm install
cp .env.example .env
npm run start

Others (macOS, Linux):

git clone https://github.com/poanetwork/token-wizard.git wiz
cd wiz
git submodule update --init --recursive --remote
npm install
cp .env.example .env
npm start

Go to localhost:3000 and look around the app!

Using ganache-cli

Since the Token Wizard expects the Auth-os core and applications smart contracts to be already deployed, if you want to try the app with ganache-cli you have to run

  • npm run dev:minted (to start Token Wizard 2.0 locally with ganache-cli for Mintable token capped crowdsale strategy)
  • npm run dev:dutch (to start Token Wizard 2.0 locally with ganache-cli for Dutch auction crowdsale)
Clone this wiki locally