With ever growing adoption, blockchains need to support more and more data. The blockchain is essentially becoming an overwhelmingly-huge database. Making things worse, is that this huge database is optimized for security instead of usability.
The blockchain becoming so cumbersome is the reason why most users reindex it for every small query. These re-indexing efforts translate into deconstructing and recreating this database, over and over.
Since blockchain throughput increases exponentially, these databases become quite large with EVM archival nodes often exceeding multiple TBs of storage. Outside the EVM ecosystem, running a Solana archival node is something that apps simply can’t do on their own.
Let’s take (what is supposed to be) a super simple use case – leaderboards for DeFi apps:
Leaderboards are an easy way to engage the community by providing insights such as total deposits, diversity in vault, tranche involvement and more.
But this simple need currently has 2 equally cumbersome solutions:
- Using external providers who rarely index the data you actually need (did someone say “internal functions”?)
- Creating your own custom indexer by querying an RPC node, which will take months of development.
Enter secret option C – SendBlocks’ Custom Indexer
Regardless of the underlying blockchain, any DeFi app can easily set up a custom indexer using SendBlocks. Offering 3 key advantages:
- Flexibility: Subscribe to any relevant occurrence, not limited to predefined events (for reference, check out our NFT floor price calculator example).
- Robustness: Our Replay Blocks feature ensures seamless handling of reverted transactions, gRPC disconnections, and more.
- Simplicity: Enrich and filter data without the need for backend infrastructure using our stateful functions.
Curios just how simple setting up a custom indexer is? It’s all here.