Module iota_keys::keypair_file
source · Functions§
- Read from file as Base64 encoded
privkey
and return a AuthorityKeyPair. - Read an IotaKeyPair from a file. The content could be any of the following:
- Read from file as Bech32 encoded
flag || privkey
and return a IotaKeypair. - Read from file as Base64 encoded
flag || privkey
and return a NetworkKeyPair. - Write Base64 encoded
privkey
to file. - Write Bech32 encoded
flag || privkey
to file.