Stellar Horizon SDK

Interact with Stellar

[{"id":"5332dbdf.961a24","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"35bf7e58.b39392","type":"debug","z":"5332dbdf.961a24","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":730,"y":160,"wires":[]},{"id":"b5481b63.97fba8","type":"function","z":"5332dbdf.961a24","name":"return secret","func":"var require = global.get('require');\nmsg.payload = '0';\nconst StellarSdk = require('stellar-sdk');\n\nconst pair = StellarSdk.Keypair.random();\n\nmsg.payload=pair.secret();\n\n//pair.publicKey();\n\nreturn msg;","outputs":1,"noerr":0,"x":320,"y":400,"wires":[["af1fd656.5d7398","35bf7e58.b39392"]]},{"id":"af1fd656.5d7398","type":"ui_toast","z":"5332dbdf.961a24","position":"top right","displayTime":"3","highlight":"","outputs":0,"ok":"OK","cancel":"","topic":"","name":"","x":780,"y":300,"wires":[]},{"id":"e4fb5ffd.74443","type":"ui_button","z":"5332dbdf.961a24","name":"","group":"dfef6a81.4d9de8","order":7,"width":0,"height":0,"passthru":false,"label":"generate keypair","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":140,"y":400,"wires":[["b5481b63.97fba8"]]},{"id":"dfef6a81.4d9de8","type":"ui_group","z":"","name":"Default","tab":"17e67aab.5d8c65","disp":true,"width":"6","collapse":false},{"id":"17e67aab.5d8c65","type":"ui_tab","z":"","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

Flow Info

Created 5 years, 3 months ago
Rating: not yet rated

Actions

Rate:

Node Types

Core
  • debug (x1)
  • function (x1)
Other
  • tab (x1)
  • ui_button (x1)
  • ui_group (x1)
  • ui_tab (x1)
  • ui_toast (x1)

Tags

  • stellar
  • horizon
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option