pub fn pubkey_hex(secret: &SecretKey) -> String
The x-only public key of a secret, as 64 lowercase hex digits: a Nostr pubkey and the x of a did:nostr account.