Sunaryum Logo

Run a Micro Node

Transform your solar panel into a blockchain asset. Use low-cost IoT devices like the ESP32 to securely measure and tokenize your energy production in real-time.

Hardware Requirements

  • MicrocontrollerESP32 (Wi-Fi + BLE), ESP8266, or Raspberry Pi Pico W.
  • Energy MeterPZEM-004T module or a non-invasive CT Clamp (Current Transformer).
  • ConnectivityA stable 2.4GHz Wi-Fi network to broadcast payloads to the Mempool.

Pre-flashed Hardware

Don't want to build it yourself? Soon you will find plug-and-play official Sunaryum Smart Meters in the store.

Coming Soon
main.cpp
#include <WiFi.h>
#include "SunaryumWallet.h"
#include "EnergyMeter.h"

// Your Sunaryum Wallet Seed (DO NOT HARDCODE IN PRODUCTION)
const char* SEED = "your twelve word seed phrase here...";

EnergyMeter meter;
SunaryumWallet wallet;

void setup() {
Serial.begin(115200);
WiFi.begin("SSID", "PASSWORD");

// Initialize cryptographic wallet via SECP256k1
wallet.recoverFromSeed(SEED);
meter.init(RX_PIN, TX_PIN);
}

void loop() {
float kWh = meter.getDailyProduction();

if (isEndOfDayCycle()) {
// 1. Construct the payload
String payload = buildPayload(kWh, wallet.getAddress());

// 2. Digitally sign the generation data (ECDSA)
String signature = wallet.signMessage(payload);

// 3. Broadcast to Sunaryum network (RPC / Mempool)
broadcastToNetwork(payload, signature);
}
delay(10000);
}

Cryptographically Secure

The ESP32 processes the ECDSA SECP256k1 hashing locally. Private keys never leave the hardware.

Direct Tokenization

The network verifies the signature and MWh sent, directly minting SUN UTXOs to your assigned wallet address.