[][src]Function casper_client::sign_deploy_file

pub fn sign_deploy_file(
    input_path: &str,
    secret_key: &str,
    maybe_output_path: &str
) -> Result<(), Error>

Reads a previously-saved Deploy from a file, cryptographically signs it, and outputs it to a file or stdout.

  • input_path specifies the path to the previously-saved Deploy file.
  • secret_key specifies the path to the secret key with which to sign the Deploy.
  • maybe_output_path specifies the output file, or if empty, will print it to stdout. If the file already exists, it will be overwritten.