Skip to content

Token Wizard Crowdsale Configuration

Victor Baranov edited this page Jul 13, 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 = {
  crowdsaleContractURL: '0xc5a21a3e32d9d614ed46e4b2352670fcb21009ee',
  networkID: networks.sokolPOA,
  showHeaderAndFooterInIframe: true
};*/

export const CrowdsaleConfig = { 
    
};

Parameters description:

crowdsaleContractURL - address of crowdsale contract. If your crowdsale has multiple tiers, it is the address of anyone tier.

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

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

Clone this wiki locally