pub fn read_keypair_from_file<P: AsRef<Path>>(path: P) -> Result<IotaKeyPair>
Expand description
Read from file as Bech32 encoded flag || privkey
and return a IotaKeypair.
pub fn read_keypair_from_file<P: AsRef<Path>>(path: P) -> Result<IotaKeyPair>
Read from file as Bech32 encoded flag || privkey
and return a IotaKeypair.