Skip to Content
GuidesSensor-to-Chain Pattern

Sensor-to-Chain Pattern

Reference examples:

  • sol/examples/sensor_to_chain_demo/sensor_to_chain_demo.ino
  • sol/examples/temperature_dht22_demo/temperature_dht22_demo.ino
  • sol/examples/temperature_thermistor_demo/temperature_thermistor_demo.ino
  • sol/examples/temperature_thermocouple_demo/temperature_thermocouple_demo.ino
  • sol/examples/air_mq135_demo/air_mq135_demo.ino
  • sol/examples/gps_neo7m_demo/gps_neo7m_demo.ino

Canonical Flow

  1. Read sensor values.
  2. Normalize to fixed-point or compact byte encoding.
  3. Build instruction payload.
  4. Sign and send transaction.
  5. Monitor confirmation and handle retries.
Last updated on