pub fn get_private_key<N: Network>( private_key: &Option<String>, ) -> Result<PrivateKey<N>>
Returns the private key. If the --private-key options is not provided, it will default to the environment variable.
--private-key