MicroSui Library is a lightweight C library designed primarily for embedded systems to interact with the Sui Network Blockchain.
Full compatibility with ESP32 microcontrollers and traditional desktop OS. More device support coming soon.
This library is Arduino and PlatformIO Compatible
In Windows, macOS or Linux it will be necessary to install cURL:
sudo apt install -y libcurl4-openssl-dev pkg-config build-essential
brew install curl pkg-config
pacman -S --needed mingw-w64-x86_64-gcc mingw-w64-x86_64-curl make
In root, run
makeYou will find the .out binaries to run in each example folder.
microsui-lib/
├── include/ # Public header files (API)
│ └── microsui/
│ └── *.h
├── src/ # Library source files (.c)
│ ├── microsui_core
│ │ ├── lib/ # Third-party dependencies
│ │ │ ├── monocypher/
│ │ │ ├── compact25519/
│ │ │ │ └── c25519/
│ │ │ └── jsmn/
│ │ ├── impl/ # Platform/board specific implementation
│ │ │ ├── http/
│ │ │ └── wifi/
│ │ ├── utils/ # MicroSui utils
│ │ ├── byte_conversions.c
│ │ ├── cryptography.c
│ │ ├── http_router.h #(implementation)
│ │ ├── key_managment.c
│ │ ├── rpc_json_builder.c
│ │ ├── sign.c
│ │ └── wifi_router.h #(implementation)
│ ├── Client.c # OO-style Client.c
│ ├── Keypair.c # OO-style Keypair.c
│ ├── Transaction.c # OO-style Transaction.c
│ ├── WiFi.c # OO-style WiFi.c
│ └── MicroSui.h # Arduino header (must be in src)
├── examples/ # Usage examples
│ ├── ArduinoExamples/
│ ├── core-examples/
│ └── sdk-examples/
├── library.properties # Enables Arduino library compatibility
├── library.json # Enables PlatformIO library compatibility
└── Makefile # Root Makefile to build all examplesmonocypher:
Lightweight cryptographic primitives.compact25519:
Ed25519 key format support.jsmn: Lightweight minimalistic JSON parser for C.
- At the root level:
Detects and builds all available examples automatically.
This library is fully compatible with Arduino and is listed in the official Arduino Library Registry.
This library is fully compatible with PlatformIO and is listed in the official PlatformIO Library Registry.
