Structs§
- A policy that specifies whether a relay is allowed to read or write to the server.
Enums§
- Errors that can occur when using the NIP-70 client.
- Errors that can be returned from
Nip70
trait functions.
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, returnsOk(None)
. - 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)
.