pub fn generate_and_save_key<P: AsRef<Path>>(
    output_file: P
) -> Ed25519PrivateKey