Constructors

Methods

  • Get profile from the profiles map, loads them on demand if they are not loaded already.

    Parameters

    • profileName: string

      profile name (key in the map).

    Returns AnyObject

    the profile.

    if profiles can't be loaded or the profile name is not found in the map.

  • Load profiles from a profile file and populate the profiles map.

    Parameters

    • OptionalforceReload: boolean = false

      forces the profiles map to override even if it exists.

    Returns Map<string, AnyObject>

    reference to the populated profiles map.

    if the profile file is not found.

  • Prepares config.txt file for the node

    Parameters

    • namespace: string

      namespace where the network is deployed

    • nodeAccountMap: Map<`node${number}`, string>

      the map of node aliases to account IDs

    • destPath: string

      path to the destination directory to write the config.txt file

    • releaseTagOverride: string

      release tag override

    • OptionalappName: string = constants.HEDERA_APP_NAME

      the app name (default: HederaNode.jar)

    • OptionalchainId: string = constants.HEDERA_CHAIN_ID

      chain ID (298 for local network)

    Returns string

    the config.txt file path

  • Prepare a values file for mirror-node Helm chart

    Parameters

    • profileName: string

      resource profile name

    Returns Promise<string | void>

    the full path to the values file

  • Parameters

    • configTxtPath: string
    • applicationPropertiesPath: string

    Returns Promise<string>

  • Prepare a values file for rpc-relay Helm chart

    Parameters

    • profileName: string

      resource profile name

    Returns Promise<string | void>

    return the full path to the values file

  • Prepare a values file for Solo Helm chart

    Parameters

    • profileName: string

      resource profile name

    Returns Promise<string>

    return the full path to the values file