Skip to content
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

Closed
quentintaranpino opened this issue Mar 9, 2023 · 5 comments
Closed

New method to verify nostr events #17

quentintaranpino opened this issue Mar 9, 2023 · 5 comments

Comments

@quentintaranpino
Copy link

Create a new method to verify if a nostr event is well formed and also of course well signed.

@swentel
Copy link
Collaborator

swentel commented Mar 9, 2023

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!

@quentintaranpino
Copy link
Author

Ok, thank you!

@quentintaranpino
Copy link
Author

Another resource, it will be compatible?

https://github.com/kornrunner/php-secp256k1

@quentintaranpino
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants