PublicKey

value class PublicKey

Canonical lowercase 32-byte public key used by the product account API.

Types

Link copied to clipboard
object Companion

Parse a hexadecimal key, npub, nprofile, or nostr: URI in Rust.

Properties

Link copied to clipboard
val hex: String

Validated 64-character lowercase hexadecimal key.

Functions

Link copied to clipboard

Encode this product key as one canonical lowercase npub identifier.