API Reference NostrBasics v0.0.13
modules
Modules
Basic structures both useful for nostr relays and clients
A message from a client to a relay
Converts Jason encoded structures into NostrBasics elixir structures
When a subscription's got to be closed... meant to be sent to a relay from a client.
Crypto algorithms needed to communicate on the nostr network
Algorithm that encrypts and decrypts direct messages
Represents the basic structure of anything that's being sent to/from relays
Event id conversion functions
Turns raw events from JSON websocket messages into elixir structs
Signs events, making sure they're going to be accepted on the nostr network as the user's own
Makes sure a signature is valid
Details of a client subscription request to a relay
Converts a string request to a structured subscription filter and back
Transaforms a %Filter{} into a NIP-01 JSON string
A way to represent binaries in a human readable format that fits what's found on the web related to keys and addresses
Private keys management functions
Public keys management functions
A message from a relay to a client
Converts Jason encoded structures into NostrBasics elixir structures