Support Querying by Nostr Event Filters
Goal
We currently only support retrieving Nostr events using a user's public key. In order to support real-world Nostr clients, we should support querying based on all of the filters described here:
https://github.com/nostr-protocol/nips/blob/master/01.md
Note: Reminder to support e
and p
tags for replies and mentions respectively
https://github.com/nostr-protocol/nips/blob/master/01.md#other-notes
What needs to be done
Refactor the Nostr endpoint to support querying for entities based upon the above filters.
QA
We can test with a client like Damus which has global feeds which depend upon this functionality.
UX/Design
N/A
Personas
N/A
Experiments
N/A
Acceptance Criteria
-
Endpoint is updated to allow for querying entities using the NIP-01 filters
Definition of Ready Checklist
-
Definition Of Done (DoD) -
Acceptance criteria -
Weighted -
QA -
UX/Design -
Personas -
Experiments
Edited by Zack Wynne