Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Node-red module to publish 0-value tx with a message

License

Notifications You must be signed in to change notification settings

LynxLine/node-red-contrib-iota-tx0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-red IOTA 0-value tx publish module

Requirements

Install node-red globally and install ui packages

sudo npm install -g --unsafe-perm node-red

in your ~/.node-red installation directory type:

npm install node-red-dashboard

IOTA-tx0 module installation

Run the following command in your NODE-RED install

npm install node-red-contrib-iota-tx0

Usage

There is one function node available

tx0 publish (=upload data to tangle)

Drag tx0 function node into a flow and wire it accordingly

tx0 publish

Deploy some node input data source.

wire its output to -> tx0Publish node

and wire this node's output to an -> (optional) output for logging

The tx0 publish gets input data from sensorTag, uploads this data and upon tx confirmation is ready to take new data from the input.