TrueBlocks builds and publishes an index that lets you explore the Ethereum blockchain from your local machine.
Without a local index, Ethereum is not really permissionless
More specifically, without an index, Ethereum cannot effectively serve desktop applications the type of data that the applications need.
Ethereum is supposed to be permissionless. The blockchain is supposed to be a record of all transactions. Without an index, however, the blockchain is undiscoverable, like the internet would be without search engines. Or like being lost at sea…
Of course, you can register with an Ethereum block explorer, like EtherScan, and access the blockchain remotely. The trouble is that these resources are shared by many users, which entails an anti-privacy sequence:
- To prevent any user from using more than their fair share, the service needs to limit each user’s usage
- Because of (1), the service needs to identify each user
- Because of (2), the service is no longer private, especially as each user likely queries the same set of addresses each time they visit.
Furthermore, just like searching the internet with Google, you consent to any query logging or datamining that the service wants to do, and you can’t even be sure the data is accurate.
TrueBlocks provides this local index
Trueblocks builds a local index directly on your machine. It ships with large suite of command line options to let you make the queries you want to make─addresses, names, ABIs, etc.
In addition to the command line, TrueBlocks also provides a graphical user interface with the Explorer application. So you don’t need to be highly technical to use TrueBlocks.
And yes, it’s permissionless
TrueBlocks is open source. If you don’t like something, you’re free to modify the software, or fork it.
We also distribute copies of the index on the IPFS, meaning that:
- the data is immutable (i.e. we can’t mess with it)
- the data doesn’t belong to anyone
The index provides huge engineering advantages
Besides the philosophical benefits, TrueBlocks is straight up more performant. Some highlights:
- Querying straight from your hard drive is faster by many factors.
- Binary cache makes subsequent queries nearly instantaneous
- Leaving the data on the chain until it’s queried shrinks storage requirements for the typical user from terabytes to gigabytes.
- Bloom filters further reduce computation and storage overhead
- Articulate to resolve transactions on the byte level, turning byte streams into human-readable data.
- Format-agnostic. Receive data in JSON, CSV, plain text, etc.
TrueBlocks performs so well because the design is 100% data first. We are lifelong hackers, and we agree with Linus Torvalds when he said:
In fact, I’m a huge proponent of designing your code around the data, rather than the other way around
Great! But I want many more words.
We’ve got more words for you. This blog post covers these topics in much more detail.