Skip to main content

Application Architecture

The Data Marketplace application uses sensors, a cloud backend, and the IOTA Tangle to publish data to MAM channels.


Running an open source project, like any human endeavor, involves uncertainty and trade-offs. We hope the architecture described below helps you to deploy similar systems, but it may include mistakes, and can’t address every situation. If you have any questions about your project, we encourage you to do your own research, seek out experts, and discuss them with the IOTA community.

This blueprint uses the following architecture whereby the devices such as sensors and the cloud backend are interconnected through the Tangle.

Data Marketplace architecture

Building Blocks​

Submitting sensor data to the Data Marketplace is intended to be a lightweight operation that can be done by embedded devices. To submit sensor data, a device needs to perform Tangle operations, such as producing and consuming MAM channels, and communicating with web APIs. The data consuming part of the application is more complex and needs the ability to transfer IOTA tokens in exchange for access to the device's data streams. Therefore, an access-rights management add-on is implemented.

This table displays a list of the main components of the application:

Cloud Backend​

The cloud part of the application is centralized. It runs on Google Cloud Platform, and can optionally run on Amazon AWS or Microsoft Azure.

This backend has an [API] that allows you to manage devices and monitor the MAM channels to which devices send their data.

Cloud Functions​

The API triggers cloud functions, which allow you to configure a Whitelist page, where administrator users with predefined email addresses are allowed to administer devices

Sensor MAM Channel​

The device in the Data Marketplace are usually sensors that publish their data to the Tangle through MAM channels.

Data Fields​

For each of your sensors, you have to define the correct data fields, which will be stored in the Tangle, and displayed on the Data Marketplace web portal for the purchaser. In general, just be descriptive with the data that you want to store and sell.

Example Sensors​