iota_keys::keypair_file

Function read_network_keypair_from_file

Source
pub fn read_network_keypair_from_file<P: AsRef<Path>>(
    path: P,
) -> Result<NetworkKeyPair>
Expand description

Read from file as Base64 encoded flag || privkey and return a NetworkKeyPair.