node-red-contrib-nem2 transfer transaction example template

Description

Alt text

The flow will send a transfer transaction to a recipient and opens 2 listeners.

  • Error listeners.
  • Confirmed transaction listener

Requirements

Mandatory

  • account
    • privateKey with enough funds
  • transferTransaction
    • Recipient address
    • Mosaic name (e.g nem:xem)
  • announce transaction
    • url to a catapult server
  • listeners
    • url to a catapult server
[{"id":"4087a2df.de759c","type":"comment","z":"60620be8.9c00e4","name":"Send transfer transaction","info":"The flow will send a transfer transaction to a recipient and opens 2 listeners.\n\nError listeners.\nConfirmed transaction listener","x":185.66666412353516,"y":55.77777862548828,"wires":[]},{"id":"b64854fd.4b5b78","type":"account","z":"60620be8.9c00e4","name":"","privateKey":"","network":"2b9cf13.9eaf90e","x":159,"y":117,"wires":[["8f8db530.30c7d8","15cd0647.2c4d6a","5b4f73c0.c3747c"]]},{"id":"8f8db530.30c7d8","type":"transfer","z":"60620be8.9c00e4","name":"","recipient":"","message":"this is a test","network":"2b9cf13.9eaf90e","mosaics":{"nem:xem":"1234"},"x":430,"y":120,"wires":[["b09adf97.22faa"]]},{"id":"b09adf97.22faa","type":"signTransaction","z":"60620be8.9c00e4","name":"","privateKey":"","network":"2b9cf13.9eaf90e","x":685,"y":120,"wires":[["110121d9.bddb0e"]]},{"id":"110121d9.bddb0e","type":"announce","z":"60620be8.9c00e4","name":"","server":"551021ac.e378e","announceType":"announce","x":915,"y":120,"wires":[[]]},{"id":"15cd0647.2c4d6a","type":"listener","z":"60620be8.9c00e4","name":"listen for errors","server":"551021ac.e378e","address":"","listenerType":"status","x":420,"y":180,"wires":[["15c02618.2746fa"]]},{"id":"15c02618.2746fa","type":"debug","z":"60620be8.9c00e4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":630,"y":180,"wires":[]},{"id":"5b4f73c0.c3747c","type":"listener","z":"60620be8.9c00e4","name":"","server":"551021ac.e378e","address":"","listenerType":"confirmed","x":430,"y":240,"wires":[["dfb5e54f.20c358"]]},{"id":"dfb5e54f.20c358","type":"debug","z":"60620be8.9c00e4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":630.0000038146973,"y":238.88888835906982,"wires":[]},{"id":"2b9cf13.9eaf90e","type":"networkConfig","z":"","network":"MIJIN_TEST","customNetwork":""},{"id":"551021ac.e378e","type":"serverConfig","z":"","url":"http://localhost","customUrl":"","network":"2b9cf13.9eaf90e","port":"3000"}]
jorisadri

Flow Info

created 7 months, 3 weeks ago
updated 3 months, 2 weeks ago

Node Types

Core
  • comment (x1)
  • debug (x2)
Other

Tags

  • nem
  • nem2
  • blockchain
  • catapult
  • transaction
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option