A New Way to Index Ordinals

A New Way to Index Ordinals

Bitcoin ordinals became one of the hottest narratives in Web3 in the past year with over 65M inscriptions to date, and ordinals played a major role in revitalizing Bitcoin culture. But getting Ordinals data from the Bitcoin blockchain isn’t easy.?

When building an indexer for ordinals, you need to track the path each satoshi takes from the point of its creation to the present, and that data set is massive. There are billions of satoshis, and some have been transferred over 100,000 times before being inscribed.

An indexer needs to be able to both quickly traverse that (very) large dataset AND efficiently navigate Bitcoin reorgs. That poses challenges, and we encountered them firsthand when we first started building with ord, the canonical implementation of Ordinal Theory, back in February 2023.

To navigate those challenges, we built our own ordinals indexer called Ordhook from the ground up.?

In our latest blog post, we break down the lessons we learned building our own indexer and how Ordhook takes a fundamentally different approach to indexing ordinals data than ord.

Want to nerd out over indexers?


More content from Hiro:

FOCUS AREAS FOR Q2

From record tool usage to major product updates, take a look back on Q1 with us and discover our priorities for what we want to ship in Q2. Start reading.


BITCOIN NEEDS LAYERS: A REFLECTION ON THE BITCOIN HALVING

Every halving period brings new innovation to Bitcoin, and this cycle is no different. Take a walk through a brief history of innovations in Bitcoin and learn why we are so bullish about Bitcoin’s future. Read more.


VALIDATE YOUR CODE IN THE HIRO PLATFORM, PT 2

We're not done rolling out new functionality to improve the Hiro Platform. First we added contract validation, and now you can call functions directly in devnet from the platform. Watch a demo of this new feature.

要查看或添加评论,请登录

Hiro的更多文章

社区洞察

其他会员也浏览了