@energyweb/node-red-contrib-energywebx

0.4.0 • Public • Published

node-red-contrib-energywebx

Have your node-red flows to become SmartFlows by being installed, executed and reach consensus across thousands of decentralised worker nodes around the world.

Screenshot: flows screenshot

Nodes

Submit Results

  • Sends the computation result to EWX Marketplace App with configured solution namespace and network (REX, EWX) img.png

Consensus Event

  • Verifies submitted solution results to check for consensus (majority of votes on the same solution result hash, 50% + 1 required to reach consensus), output consensus result (REACHED, NOT_ENOUGH_VOTES, UNABLE_TO_REACH_CONSENSUS, FAILED) and leader address (if any action needs to be taken after reaching consensus by single entity, algorithm will select leader)

img.png

  • Upsert State (WIP)
  • Worker node casts a vote(request) to update state of a partucular object attached to a solution on EWX

Query State (WIP)

  • Worker node makes a call to a particular solution object store in order to retrieve the current value

Send XCM (WIP)

  • Sends a request XCM message publishing, upon majority votes by all worker nodes, this will be trigered on EWX to a target parachain and pallet

Listen XCM (WIP)

  • Listens to particular XCM events recieved on EWX from a source parachain pallet

Eth Interaction (WIP)

  • Request for an interaction with a particular SmartContract on main-net Ethereum

Eth Events (WIP)

  • Listens to a particular event raised from a target SmartContract on main-net Ethereum

EWC Interaction (WIP)

  • Request for an interaction with a particular SmartContract on Energy Web Chain

EWC Events (WIP)

  • Listens to a particular event raised from a target SmartContract on Energy Web Chain

Local development

$ yarn dev
$ cd ~/.node-red
$ npm install <absolute-path-repository>

Package Sidebar

Install

npm i @energyweb/node-red-contrib-energywebx

Weekly Downloads

1,033

Version

0.4.0

License

ISC

Unpacked Size

76.4 kB

Total Files

18

Last publish

Collaborators

  • energywebdev
  • aznagy
  • bagaric
  • pkosin
  • drgorb
  • kroy
  • manihagh