Published on
05/21/2020

Feature Preview: Compendia Databases

One of Compendia's main purposes is the ability to create and contribute to public databases on a decentralized platform. And that’s where these next features come in!

Hero

Enter Databases and Schemas!

One of Compendia's main purposes is the ability to create and contribute to public databases on a decentralized platform.

And that’s where these next features come in.

On the network, validators will be able to register schemas. Schemas are objects that describe the types of data that a database should contain.

For example, a music schema (with an artist, title, cover art, stream url, and release date) could look like this:

{
    "artist": {
        "type": "string",
        "maxLength": "64"
    },
    "title": {
        "type": "string",
        "maxLength": "64"
    },
    "stream": {
        "type": "url"
    },
    "coverArt": {
        "type": "url"
    },
    "releaseDate": {
        "type": "timestamp"
    }
}

Validators can then maintain databases that follow such a schema.

This way, apps can pull all databases related to that schema (for example, all the “music” databases from the top 50 validators), and combine it into one big database.

It’s up to the validators how data is added to their databases.

For example:

  • A bounty system for contributors (where validators pay BIND earned from block rewards and transaction fees to contributors and curators).

  • Scrape data from the internet and feed it into a database.

  • Accept BIND payments to increase the rank of a data entry, and (voluntarily) share those payments with their voters.

It’s an open and decentralized platform with a crypto-powered economy, so the possibilities are endless.

The nOS App Store will also be populated using the network’s database system. This means that the app listing process will be fully decentralized!

Any application can use the network’s databases for free. The nOS App Store is just the beginning!

Soon™, Schemas and Databases will be available on the testnet, with the tools to create schemas and maintain databases.

Follow Dean van Dugteren