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

Link to this function


View Source
@spec create_empty_event(K256.Schnorr.verifying_key() | <<_::256>>) :: Nostr.Event.t()
Link to this function

create_event(profile, pubkey)

View Source
@spec create_event(
  K256.Schnorr.verifying_key() | <<_::256>>
) ::
  {:ok, Nostr.Event.t()} | {:error, binary()}