Skip to content

A group of nodes for IOTA (Tangle) integration with masked authenticated messaging (MAM) support.

License

Notifications You must be signed in to change notification settings

QMUL-RPCS-Lab/node-red-contrib-iota

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-red-contrib-iota

IOTA is the first distributed ledger built for the “Internet of Everything” - a network for exchanging value and data between humans and machines. IOTA cryptocurrency is developed based on Tangle, which is an open, feeless, and scalable distributed ledger, designed to support frictionless data and value transfer. This repository contains the required nodes for NodeRED to create transactions in IOTA or any Tangle network with masked authenticated messaging (MAM) support.

Installation

Run the following command in your Node-RED installation directory:

npm install node-red-contrib-iota

Usage

Currently, only MAM functionality is supported with the following nodes:

  • MAM publish (for publishing data to tangle)
  • MAM fetch (for downloading data from tangle)

Drag MAM function node into a flow and wire it accordingly

Example

An example flow based on the nodes is provided at "example/publish_fetch_example.json".

GitHub Logo

Nodes

MAM publish

Publishes the input message payload in JSON to a randomly generated address on the tangle network. Returns the message with the generated address in the payload.

MAM fetch

Fetches the data from an address in the tangle network. The address is received from the input message payload. It returns the previously published messages in JSON from the address (number is defined by limit property) in the payload of the output message. The messages have timestamp in Unix epoch.

Rate limits

on many public nodes you might have rate limits, so better use your own custom node connected to the tangle network, or make sure the node you connect to has the capacity to handle your required data traffic.

About

A group of nodes for IOTA (Tangle) integration with masked authenticated messaging (MAM) support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published