-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New method to verify nostr events #17
Comments
Yes, validation is something that is definitely needed! We're closing to getting #14 in which reorganizes the (base) classes and interfaces a bit. After that, it should become much easier to add validation (methods) and/or exceptions! |
Ok, thank you! |
For work later on how it's done in other libs: https://github.com/nbd-wtf/nostr-tools/blob/5539e5cf896d7aad0849e2ac8b002def6f513750/event.ts#L81 |
Another resource, it will be compatible? |
More information, I've tried to integrate it myself but I don't have enough experience with this. https://github.com/phpecc/phpecc/blob/master/examples/verify_signature.php |
Create a new method to verify if a nostr event is well formed and also of course well signed.
The text was updated successfully, but these errors were encountered: