View Source Nostr.Event.ClientAuth (Nostr Lib v0.1.1) (event) (nip42)

Client authentication

Defined in NIP 42 https://github.com/nostr-protocol/nips/blob/master/42.md

Summary

Types

@type t() :: %Nostr.Event.ClientAuth{
  challenge: String.t(),
  event: Nostr.Event.t(),
  relay: URI.t()
}

Functions

@spec parse(event :: Nostr.Event.t()) :: t()