Follow below instructions to install the Kenshi blockchain IoT SDK for your favorite platform.
To install the Kenshi IoT SDK for Arduino, go to the Kenshi IoT SDK release page on Github and download the latest release.
Then open the Arduino IDE and select Sketch > Include Library > Add ZIP Library... like the image below:
Now select the downloaded file and wait for the install to finish.
The Kenshi IoT SDK for Arduino has full support for ESP32 boards using the ESP32 native libraries. Follow the same instructions as Arduino boards to install the SDK for ESP32.
To bootstrap a Zephyr project with the Kenshi IoT SDK, you can run the following commands:
west init -m https://github.com/KenshiTech/iot-sdk.git --mf west.yml
Alternatively, to add the SDK to an existing project, first find the path to your west manifest by running this command:
west manifest --path
Now open the west manifest file in the editor of your choice and add the following in the projects section:
# Kenshi repository.
- name: kenshi
You can include the Kenshi SDK into your application by adding the following to your Zephyr project's configuration file:
Note that the Kenshi IoT library for Zephyr depends on the following (or similar) configuration options, which also need to be added to your project's configuration file:
# Enable DNS Resolver
# Needed to resolve api.kenshi.io
# Needed to send and receive MQL requests
# TLS configuration
# Needed for secure SSL communication
# Required for AWS root ca
# Enable TLS