UNPKG

@energyweb/node-red-contrib-energywebx

Version:

Turn your flows to become SmartFlows in-order to be able to have your node-red flows being installed and executed on thousands of decentralised worker nodes around the world (Powered by Energy Web X)

26 lines (25 loc) 826 B
<script type="text/javascript"> RED.nodes.registerType('consensus', { category: 'Energy Web X', paletteLabel: 'Offline Consensus', color: '#60A0FF', inputs: 1, outputs: 1, icon: "icons/consensus.svg", label: function() { return this.name || "Offline Consensus"; }, inputLabels: [], outputLabels: [], align: 'left', defaults: { ewxConfig: { value:"", type: "energywebx-config", required: true }, } }); </script> <script type="text/html" data-template-name="consensus"> <div class="form-row"> <label for="node-input-ewxConfig"><i class="fa fa-tag"></i> EWX Config</label> <input type="text" id="node-input-ewxConfig" placeholder="EWX Network Config"> </div> </script>