Optional
logger: SoloLoggerFetch a remote package
package checksum URL
a directory where the files should be downloaded to
Optional
algo: string = 'sha256'checksum algo
Optional
force: boolean = falseforce download even if the file exists in the destDir
Fetch Hedera platform release artifact
It fetches the build.zip file containing the release from a URL like: https://builds.hedera.com/node/software/v0.40/build-v0.40.4.zip
full semantic version e.g. v0.40.4
directory where the artifact needs to be saved
Optional
force: boolean = falsewhether to download even if the file exists
full path to the downloaded file
Verifies that the checksum of the sourceFile matches with the contents of the checksumFile
It throws error if the checksum doesn't match.
path to the file for which checksum to be computed
expected checksum
Optional
algo: string = 'sha256'hash algorithm to be used to compute checksum
Compute hash of the file contents