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
{{ message }}
This repository was archived by the owner on Oct 12, 2023. It is now read-only.
We want the Indexer to fetch metadata in a similar way that it fetches orders, by subscribing to a stream of updates. The goal is to make the Indexer simpler, and less tightly coupled to 3rd party platforms. It basically means pushing more of the logic into the Metadata Node, which would need to become stateful.
Summary
Metadata server keeps a local DB of all metadata for every token and collection
Keeps track of all sequential changes (for simplicity, all metadata can be lumped into a single JSON)
Indexer just listens to changes, instead of having it's own logic for fetching metadata
For refreshes, don't need to wait for a response or maintain a job queue. Just trigger the requests and they will come back in the regular stream (if any changes were detected)
Leverage Open Sea's new websocket API to get realtime change events
Stop using NextJS. Opportunity to try Fastify or another alternative