How to validate an event starting from JSON? #18
Closed
MegalithicBTC
started this conversation in
General
Replies: 1 comment
-
seems like ..
works well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for this awesome library!
I've got a question about validating an event.
I've got an event that I'm not receiving from a subscription. I've just got it as JSON.
Here is the event as JSON:
I started at this point in your documentation:
https://www.nostr-ruby.com/common-use-cases/signing-and-verifying-events.html#verifying-an-event-s-signature
I can see we're supposed to this
But how would we construct the event from the JSON?
Also this code I don't understand
The
other_public_key
variable is never used here.thanks!
Beta Was this translation helpful? Give feedback.
All reactions