node-red-contrib-alexandria
v0.0.2
Published
A node that lets you connect to the SophiaTX blockchain through alexandria nodeJS sdk.
Downloads
4
Maintainers
Readme
#Node-red-contrib-alexandria A node that lets you connect to the SophiaTX blockchain through alexandria nodeJS sdk
Install
npm i node-red-contrib-alexandria --save
Functions
-setConnection (url)
-about ()
-send (
{
"appId": "123",
"from": "owner1",
"to": [
"recipient1"
],
"data": "{\"CO2\":\"350ppm\",\"CO\":\"142ppm\"}",
"privateKey": "privatekey1"
}
)
-receive ()
received response example
{
"appId": 123,
"accountName": "owner1",
"searchType": "by_sender",
"start": "2008-09-15T15:53:00",
"count": 10
}