Crate nip_70

source ·

Structs§

Enums§

Traits§

Functions§

  • Fetches the public key of the signed-in user from the NIP-70 server. If no server is running, returns Err(Nip70ClientError::ServerNotRunning).
  • Fetches the list of relays that the NIP-70 server is aware of. If no server is running, returns Err(Nip70ClientError::ServerNotRunning). If the server does not support this feature, returns Ok(None).
  • Pays an invoice using the NIP-70 server.
  • Signs a Nostr event on behalf of the signed-in user using the NIP-70 server. If no server is running, returns Err(Nip70ClientError::ServerNotRunning).