Decentr blockchain is Tendermint based. As with any other technology, it has its pros that we are building on by ameliorating the cons.
Traditional blockchain is not always a perfect solution when data is queried often, or a rich data model needs to be provided: for example, where a method is needed to return a paginated list of blog posts with authors’ profiles, tags, number of likes and associated statistics. Moreover, rich models require additional storage since extra indexes have to be created to query them.
Therefore, for our custom blockchain, we decided to move the read model for other storage persistently synced with the blockchain. To achieve this goal, two open source projects have been created, called Ariadne and Theseus.
The github repo for Ariadne can be found here.
In an analogy with the Greek myth, Decentr’s Ariadne module is a library that fetches blocks from a blockchain node, the list of blocks being an intertwined sequence comparable to the strands of Ariadne’s thread. The library does not depend on Decentr itself. It can be used with any Tendermint blockchains.
The github repo for Theseus can be found here.
In the Greek myth, Theseus follows Ariadne’s thread out of the labyrinth. In the same way, Decentr’s Theseus module provides the Decentr community with off-chain functionality, free from the labyrinth of centralised control. Basically, Theseus exposes a REST API to query community data. All the requests are HTTP GET and do not modify data. Usually it calls a reporting service.
The underlying storage is a relation database. PostgreSQL suits this purpose well. It is flexible and well-established. The database schema is denormalized for better performance.
Theseus uses Ariadne to fetch new blocks, parses them, extracts transactions and creates the read model.
Official Links for Decentr:
Telegram Group: https://t.me/DecentrNet
Telegram ANN: https://t.me/DecentrAnnouncements
Firefox Plugin: https://addons.mozilla.org/en-US/firefox/addon/decentr/
Chrome Plugin: https://decentr.net/files/charon_v1.1.8_chrome.zip
Beta Testers: https://t.me/DecentrBetaTesters