solana_clap_utils::keypair

Function prompt_passphrase

Source
pub fn prompt_passphrase(prompt: &str) -> Result<String, Box<dyn Error>>
Expand description

Prompts user for a passphrase and then asks for confirmirmation to check for mistakes