Function gpcArtifactDownloadURL

  • Forms a URL for downloading GPC artifacts depending on configuration

    Parameters

    • source: GPCArtifactSource

      the download source location

    • stability: GPCArtifactStability

      the stability level (test or prod) of artifacts to seek. Ignored in some sources in favor of the version.

    • version: GPCArtifactVersion

      the version identifier for circuit artifacts. Not relevant to some sources which host only a single version. NPM-based sources can be given an undefined version and will use the GPC_ARTIFACTS_NPM_VERSION constant.

    • Optional zupassURL: string

      the base URL for Zupass, if used as a download option. Can be "" or "/" to use a relative URL (within the Zupass app).

    Returns string

    a root URL to download GPC artifacts, as needed for gpcProve or gpcVerify.

Generated using TypeDoc