Tech Stack
Last updated
Last updated
This setup enables the seamless transfer of IoT Sensors data and funds between two distinct nodes. The depicted steps illustrate the blockchain communication and Fides data transfer workflow. The process begins with the presumption that the Data Consumer installed a Service Contract and uses an IoT Sensor from the Shared Devices List. Following this, the Data Consumer kick-starts the process by depositing a sufficient amount of tokens, thus establishing a dedicated fund for the data transactions. 0) Presumptions: The Data Producer in Node X shares IoT Sensor A. The device ID gets added to the Shared Devices List on the Blockchain, and a Smart Contract is created automatically for the device. A Data Consumer from Node Y installs a Service and selects IoT Sensor A from the Shared Devices List. The Service Contract is initiated at Node Y. IoT Sensor A sends data to the MQTT broker in node X. Then it is stored in the data storage.
The Data Consumer deposits sufficient funds into the IoT Sensor A Smart Contract. Additionally, it provides a key to the Smart Contract for release fund purposes.
The Service Contract requests and retrieves the node and IoT Sensor A ID from the Shared Devices List on the Blockchain.
The Service Contract establishes an MQTT connection between the Service Contract on Node Y and the MQTT broker on Node X.
The Service Contract receives IoT Sensor A’s data from the MQTT broker.
If the set condition of the Service Contract is correct, the Service Contract sends a notification to the Data Consumer.
The Service Contract on Node Y sends a release funds request to the IoT Sensor A Smart Contract. The Smart Contract utilizes the provided key to release funds.
The Data Producer requests a withdrawal from the Smart Contract and will receive the payment in their wallet.
This setup enables the seamless transfer of IoT Sensors data and funds between two distinct nodes. The depicted steps illustrate the blockchain communication and Fides data transfer workflow. The process begins with the presumption that the Data Consumer installed a Service Contract and uses an IoT Sensor from the Shared Devices List. Following this, the Data Consumer kick-starts the process by depositing a sufficient amount of tokens, thus establishing a dedicated fund for the data transactions. 0) Presumptions: The Data Producer in Node X shares IoT Sensor A. The device ID gets added to the Shared Devices List on the Blockchain, and a Smart Contract is created automatically for the device. A Data Consumer from Node Y installs a Service and selects IoT Sensor A from the Shared Devices List. The Service Contract is initiated at Node Y. IoT Sensor A sends data to the MQTT broker in node X. Then it is stored in the data storage.
The Data Consumer deposits sufficient funds into the IoT Sensor A Smart Contract. Additionally, it provides a key to the Smart Contract for release fund purposes.
The Service Contract requests and retrieves the node and IoT Sensor A ID from the Shared Devices List on the Blockchain.
The Service Contract establishes an MQTT connection between the Service Contract on Node Y and the MQTT broker on Node X.
The Service Contract receives IoT Sensor A’s data from the MQTT broker.
If the set condition of the Service Contract is correct, the Service Contract chages the state of IoT Actuator B.
The Service Contract on Node Y sends a release funds request to the IoT Sensor A Smart Contract. The Smart Contract utilizes the provided key to release funds.
The Data Producer requests a withdrawal from the Smart Contract and will receive the payment in their wallet.