Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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}]
@CrypTANimator
Copy link
Author

CrypTANimator commented Jun 19, 2019

2019-06-19-095314_1920x1080_scrot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment