The Format

NFTMagic offers art makers a perfect platform to store their digital art pieces.

But why is it different from all the other NFT platforms out there?

One of the reasons is the use of Ardor and the Proof Of Stake protocol that allows the whole blockchain to run on Raspberry Pi’s, and currently the network is running on more than 1000 nodes worldwide.

The difference between Proof Of Stake and Proof Of Work, which is used by Bitcoin or Ethereum, is not only the enormous difference in energy consumption, but also the fact that the network is truly decentralized. Proof Of Work networks usually rely on very few mining pools making those networks pretty centralized.

The other reason is that Ardor offers all the perfect ingredients for storing NFTs:

– Assets: for storing the immutable unique ID of the art piece. It can be issued in 1 or more pieces. The Asset Exchange Decentralized exchange also offers a real decentralized place where to sell and trade your NFTs

– Data Cloud: large amounts of data can be stored in the Data Cloud. As long as there will be even 1 single archive node running in the world, your data is safe. On 1000 nodes, you can understand that there’s no chance of that happening. See it as BitTorrent within the Blockchain.

How does it work

Let’s take our art piece that I’ve drawn for this explanation page

The Data Cloud feature on Ardor allows up to 42KB of data, and most likely our art piece is larger than that.

Therefore we split the image in smaller chunks of data that fit into that size.

So now we have split our image data in smaller chunks that fit in the Data Cloud feature on the Ardor blockchain.

The next step is to create an unbreakable bond between the image data and the asset. Remember what we said before? The asset is our unique ID for our art piece.

When the Asset is issued on the blockchain, its information cannot be changed afterwards. Also the data in the Data Cloud chunks is immutable.

So what we basically do is to store in the Asset the information about the first Data Cloud fullHash and the last Data Cloud fullHash.

In each Data Cloud we store the fullHash of the following Data Cloud chunk and so on.

When we read this data we start with checking the fullHash information stored in the Asset, and we rebuild the full art piece data gluing together all the Data Cloud pieces.

As we use meta-data space in the Asset to identify the Data Cloud pieces, we then use the last Data Cloud chunk to store our art piece meta-data as name, description, categories, etc.

And that’s in a nutshell how NFTMagic stores your data on the Ardor platform.

For more details refer to this blog post.