MicroSui (Sui Embedded Framework) is a light-weight, modular, open-source C framework that brings the Sui Network to microcontrollers from low-end 8-bit MCUs like AVR to extra highly effective 32-bit SoCs like the ESP32.
Wait… What’s the Sui Network / Protocol precisely? It’s a blockchain platform designed for high-speed, scalable, and low-cost decentralized functions, which was launched in Could 2023 by Mysten Labs, an organization based by former Meta engineers. It competes with networks like Solana and Ethereum however with better performance. To this point, the Sui Network works with internet and cell functions, however MicroSui goals to develop its utilization to resource-constrained embedded units.
We’re instructed MicroSui supplies help for all core operations corresponding to key administration, transaction building, signing, and broadcast. It’s a pure-C library with no OS dependency or dynamic reminiscence utilization, so it may be deployed on a variety of microcontrollers.
Greater-end microcontrollers with Web entry, corresponding to the ESP32 WiFi and Bluetooth SoC, can straight construct and signal transactions on-device, and ship information to the Sui Network over HTTPS or WebSockets. On the different hand, lower-end microcontrollers require a gateway with help for LoRa or BLE utilizing MQTT or CoAP protocol, and even uncooked information by means of 433 MHz or NFC. In that case, the MCU solely indicators messages with the embedded personal key (PK), and the gateway handles constructing and transactions.
Since MicroSui hosts the personal key on-device, it will possibly allow offline signature (Blind & Semi-Blind) with out Web entry, and the transaction can proceed usually in a while when entry to the Sui Network is restored. Different potential functions embrace sensor event-triggered transactions, {hardware} wallets, sensible toll assortment, end-to-end transaction flows, timed signing, business occasion logging to blockchain, multisig participation, and extra. The video embedded beneath reveals an offline signature demo on an ESP32 board.
Some supply code can already be discovered on GitHub with a library, an ESP32 port, and gateway code. The documentation is at the moment a work-in-progress on the MicroSui website, and one slide reveals that extra microcontrollers shall be supported with repositories for Nordic Semi nRF52 wi-fi SoCs, STM32 MCUs, Arduino boards like the Arduino Nano 33 IoT, and a few industrial PLCs.
By way of Kostas Kryptos on X

Jean-Luc began CNX Software program in 2010 as a part-time endeavor, earlier than quitting his job as a software program engineering supervisor, and beginning to write each day information, and critiques full time later in 2011.
Help CNX Software program! Donate through cryptocurrencies, become a Patron on Patreon, or buy items on Amazon or Aliexpress. We additionally use affiliate hyperlinks in articles to earn commissions if you happen to make a purchase order after clicking on these hyperlinks.