You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Story
As a backend developer, I want to replace the current cron-based blockchain event indexing with QuickNode Streams to improve real-time event processing and reduce unnecessary RPC calls.
Acceptance Criteria
GIVEN a new receive/linked address is generated WHEN no existing stream is monitoring this address THEN a QuickNode Stream should be created to monitor token deposits for that address
GIVEN a new receive/linked address is generated WHEN an existing stream is already monitoring this address THEN reuse the existing stream and no new stream should be created
GIVEN an order is created from a receive/linked address WHEN the order creation is successful THEN the corresponding address monitoring stream should be deleted
GIVEN the server starts up WHEN checking Gateway contract events streams THEN only create streams for OrderCreated, OrderSettled, and OrderRefunded events that don't already exist across supported networks
GIVEN a webhook endpoint is hit by QuickNode Stream WHEN the payload contains a relevant event THEN process the event according to existing business logic
User Story
As a backend developer, I want to replace the current cron-based blockchain event indexing with QuickNode Streams to improve real-time event processing and reduce unnecessary RPC calls.
Acceptance Criteria
GIVEN a new receive/linked address is generated
WHEN no existing stream is monitoring this address
THEN a QuickNode Stream should be created to monitor token deposits for that address
GIVEN a new receive/linked address is generated
WHEN an existing stream is already monitoring this address
THEN reuse the existing stream and no new stream should be created
GIVEN an order is created from a receive/linked address
WHEN the order creation is successful
THEN the corresponding address monitoring stream should be deleted
GIVEN the server starts up
WHEN checking Gateway contract events streams
THEN only create streams for OrderCreated, OrderSettled, and OrderRefunded events that don't already exist across supported networks
GIVEN a webhook endpoint is hit by QuickNode Stream
WHEN the payload contains a relevant event
THEN process the event according to existing business logic
Tech Details
tasks.go
:Notes/Assumptions
Open Questions
The text was updated successfully, but these errors were encountered: