Replies: 1 comment 2 replies
-
This is meant as a snapshot of the blocks on the explorer, and it is read-only, so we cannot store custom data on it. Regarding a separate db, I intend to use Supabase if necessary. Regarding search feature, Algolia seems to fit nicely there. Supabase Edge function will push the update to Algolia. Later on, we can use Supabase to interact with the contract for consistency as well. |
Beta Was this translation helpful? Give feedback.
-
In line with the initiative of caching certain data in a separate db so that we don't have to directly query on-chain data every time, there's the official NEAR indexer framework that might help as a starting point: https://github.com/near/near-indexer-for-explorer#shared-public-access
Let's see if we can make use of this framework at all, or not.
Beta Was this translation helpful? Give feedback.
All reactions