Node-RED
Using the Palette Manager
To install BLOOCK nodes, navigate to the Node-RED system menu and select "Manage palette":

Switch to the Palette tab, then go to the Install tab. Search for the node called "node-red-contrib-bloock" and then click install:

Using npm from the command line
$ cd ~/.node-red
$ npm install @bloock/node-red-contrib-bloock
#restart Node-RED
Once installed you will see the node in the function list, ready to be used:

A sample Node-RED flow could be:

The flow starts with an HTTP request input node, which is the source of the data we want to certify. Then this data goes to the Certify Data node. When some data arrives this node asks for API key credentials:

Once the API key is validated, the node sends a new record to BLOOCK which is queued internally and assigned to an Anchor. This anchor is the flow outcome. Once this Anchor is processed and transacted into the blockchain, the record gets certified and you will be able to verify it.

Node-RED editor is not secured by default. There is a guide to help you cover this issue by providing security features. You can check those here.
Last modified 1mo ago