Kerlink and Kalima demo blockchain for IoT smart contracts

  • August 18, 2022
  • Steve Rogerson

During next week’s Surfin’ Bitcoin event in Biarritz, French companies Kalima and Kerlink will perform a technical demonstration combining blockchain and cryptocurrencies for the execution of smart contracts.

Kalima is a provider of blockchain technology for enterprises and the IoT and Kerlink is an IoT specialist.

The IoT and enterprise-oriented smart contracts will use bitcoin through the Lightning Network, a layer-two decentralised network for instant micropayments on bitcoin. Layer-two products act as the overlay of an already existing blockchain and solve the problems of transaction scalability and speed that the main blockchain (layer one) cannot address effectively enough.

This feature of the Lightning Network technically enables users to realise instant, high-volume micropayments in bitcoins. Until now, no technical method has met this need for smart contracts in the bitcoin network.

Kalima and Kerlink are working together on technology for smart contracts based on the Kalima blockchain industrial protocol, designed for enterprises and IoT, which will enable Lightning Network bitcoin microtransactions. The goal is to make bitcoin payments possible using the Lightning Network layer and authenticate and secure enterprise and IoT data.

The Kalima protocol therefore brings the ability to embed blockchain in connected objects, to process the data directly in the sensor, and to add value to them, for example contextualisation, considering its native authenticated and traceable nature. The differentiator of Kalima lies in its ability to run its smart contracts at the edge, and thus process data at the closest point in the company’s processes (the sensor), rather than having a cluster of data stored and processed in the cloud.

The Kalima smart contracts then work on top of the Lightning Network, and the data are kept outside of bitcoin transactions and of circuits and nodes that make up the Lightning Network. Calling it a layer-three option for bitcoin offered by the Kalima protocol could make sense given the protocol’s features.

On this basis, Kalima and Kerlink will demonstrate a technical proof-of-concept in which a Kalima-embedded Kerlink LoRaWan gateway will manage on-chain data. The gateway will grant the transmission of data collected by sensors to the central platform in charge of data analysis (cloud computing scenario), or the processing and filtering of data at the edge within the gateways, and the transmission of crucial data only (edge computing scenario).

In this:

  • The bitcoin blockchain is used to manage and guarantee property rights, access rights and avoid double-spending problems;
  • The Lightning Network is used to scale micro-payment transactions (speed and volume); and
  • The Kalima-Kerlink combination adds value to the gateway, limiting resource consumption and delivering response times and transaction volumes compatible with industry requirements.

During Surfin’ Bitcoin, Kalima and Kerlink will show a concrete IoT use case of smart contracts for Lightning Network and bitcoin. The workshop will demonstrate how the Kalima protocol, through the execution of smart contracts in a Kerlink LoRaWan gateway, can trigger micropayments in bitcoin on the Lightning Network, fitting IoT scenarios and parameters.

The focus of the demonstration will be set on the protection of employees and workers, and more particularly on the issue of internal air quality (IAQ) management within companies’ working spaces. The scenario will highlight how the degradation of air quality is detected by a sensor that instantly transmits the alert to the company. Upon the reception of this alert, the company will be instructed to take immediately the necessary and appropriate measures to respond effectively to this degradation. A simple response from the team, such as ventilating the building by opening the windows, will quickly bring the IAQ back to its normal level. This active behaviour of regularly improving the air quality in the building, will then be rewarded, in this case with bitcoin granted to the buildings’ management team.

This workshop will concretely illustrate the real-world technical feasibility of the Kalima-Kerlink offering and will present a simple and virtuous use case, made possible by this technical enabler.

This offering, which is expected to be launched in the second half of 2023, can support many use cases that would propose bitcoin as the basis of a smart rewarding system, powered by the Kalima protocol.