Network Name

/**
 * @param {Config} config
 * @param {Context} context
 * Do not edit this comment or parameter types. Required for code suggestions
*/
exports.main = function (config, context) {
    var networkName = context.network.name;
    config.addScriptLine("# example: get network name");
    config.addScriptLine("# name of this network is: " + networkName);
};

results matching ""

    No results matching ""