pub fn read_key_from_file(path: &Path) -> Result<Ed25519PublicKey, String>
Expand description

Reads a given ed25519 public key from file. Attempts to read the key using bcs encoding first. If this fails, attempts reading the key using hex.