Skip to content

Token Wizard 2.0 Crowdsale Configuration

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

If you are the owner of crowdsale instance, you can add parameters of created crowdsale to config (./src/components/Common/config.js) for security reasons. Demo config is commented in the file itself.

// DEMO CONFIG (DO NOT DELETE THIS EXAMPLE):
/*const networks = {
  mainnet: 1,
  morden: 2,
  ropsten: 3,
  rinkeby: 4,
  kovan: 42,
  sokolPOA: 77,
  corePOA: 99
}

export const CrowdsaleConfig = {
  networkID: networks.sokolPOA,
  showHeaderAndFooterInIframe: true,
  execID: '',
  proxyAddress: '0xf638119be6229634b3c2f7e234bfe38b368016d5'
};*/

export const CrowdsaleConfig = {}

Parameters description:

networkID - ID of blockchain, where crowdsale was deployed before. You can find the list od IDs, for example here

execID - is not mandatory. execution ID of crowdsale in Auth-os application.

proxyAddress - address of crowdsale contract

showHeaderAndFooterInIframe - show or hide wizard header and footer in iframe (true to show, false to hide)

Clone this wiki locally