pub fn parse_secret_key_from_hex( hex_str: &str, ) -> Result<SecretKey, SecretKeyError>
cli
Parses a SecretKey from a hex string.
SecretKey
The hex string can optionally start with “0x”.