View Source Nostr.Event.Types.MetadataEvent (Nostr v0.1.3)
Metadata event management, including event creation and parsing
This represents mainly a user's profile at the time of this writing
Link to this section Summary
Link to this section Functions
@spec create_empty_event(K256.Schnorr.verifying_key() | <<_::256>>) :: Nostr.Event.t()
@spec create_event( Nostr.Models.Profile.t(), K256.Schnorr.verifying_key() | <<_::256>> ) :: {:ok, Nostr.Event.t()} | {:error, binary()}