Tezos
$1.65 -0.55%
XTZ · 19w

talking to Tezos blockchain old school

Here is a recipe to communicate with Tezos blockchain using VBScript and ssh (for example Bitvise SSH client) on a windows machine. The script "remote_tz.vbs" looks like this: set x=createobject("wscript.shell") tz_cmd="./tezos/tezos-client --port 8733 get balance for maxtez-raspbaker1" myscr="cmd /c sexec [email protected]:9898 -pk=g1 -pp=passphrase -cmd="""& tz_cmd &""" > d:\temp0\tz\mr1-balance.out" x.run myscr,0 "sexec" is just the Bitwise command-line remote execution client. The script can be called from any program written in pretty much any language just by adding a line similar to this: CALL SYSTEM('"d:\temp0\tz\remote_tz.vbs"') that's it.
Go to self.tezos
redbubble.com

When moon? J/K

Tezos
$1.65
Recent news
XTZ -0.55% · redbubble.com · 21h

When moon? J/K

Buy 'Tezos' by eldar as a T-Shirt, Classic T-Shirt, Tri-blend T-Shirt, Lightweight Hoodie, Women's Fitted Scoop T-Shirt, Women's Fitted V-Neck T-Shirt, Women's Relaxed Fit T-Shirt, Graphic T-Shirt, Wo...