Skip to main content

load_key_opt

Function load_key_opt 

Source
pub fn load_key_opt(cli: &Cli) -> Result<Ed25519Key, String>
Expand description

Load a key for commands taking --seed/--seed-file. --seed-file reads the seed from a file (capped by MAX_INPUT_FILE_BYTES) so raw key material never lands in argv, shell history, or process listings; --seed keeps working for demos/tests. The two flags must not combine.