tools/setup/env_manager.js
function (purpose) {
    const oThis = this;

    for (var chain in setupConfig.chains) {
      // Add comment to ENV
      fileManager.append(setupConfig.env_vars_file, "\n# "+chain+" chain");
      // Add content
      oThis._scanAndPopulateEnvVars(setupConfig.chains[chain],purpose);
    }
  }
function (purpose) {
    const oThis = this;

    for (var chain in setupConfig.chains) {
      // Add comment to ENV
      fileManager.append(setupConfig.env_vars_file, "\n# "+chain+" chain");
      // Add content
      oThis._scanAndPopulateEnvVars(setupConfig.chains[chain],purpose);
    }
  }
function ( purpose ) { const oThis = this ; for ( var chain in setupConfig . chains ) { // Add comment to ENV fileManager . append ( setupConfig . env_vars_file , "\n# " + chain + " chain" ) ; // Add content oThis . _scanAndPopulateEnvVars ( setupConfig . chains [ chain ] , purpose ) ; } }
Populate all chains related env variables
Populate all chains related env variables