nostr-ruby
nostr-ruby copied to clipboard
A ruby library to interact with the Nostr Protocol
Ok, I did a big refactoring, structuring the code in a more readable form. Now there is a Nostr::Event class that permits raw creation of events, also using NIP-13 (pow),...
As per subject, add a `target` named param to facilitate the build of replies and reactions; it is simply used to automatically create the needed `e` tag.
As per subject. It could be added as dedicated method and enforced in `Event.sign`; if it fails, an error is raised.
What is the recommended way to publish a `Nostr::Event` to multiples relays ? Currently, it seems that `Nostr::Client` takes only one relay option which force to recreate the client for...
Readme `Bech32` methods does not work anymore on `v0.3.1`, either `encode_` or `decode` are crashing. For example, from Rails 8.1 console: ```ruby note_data = Nostr::Bech32.decode("note1xzce08egncw3mcm8l8edas6rrhgfj9l5uwwv2hz03zym0m9eg5hsxuyajp") # => undefined method 'decode'...