pub fn load_signer(
keystore_path: Option<&Path>,
password_file: Option<&Path>,
purpose: &str,
) -> Result<PrivateKeySigner, CmdError>Expand description
Decrypt the keystore at keystore_path using the resolved password.
purpose is interpolated into the “missing –keystore” usage error so the
operator sees which flow demanded a signer (e.g. “submission fee”,
“settlement approval”, “escrow approval”).