SteemVBS – Yes, It is VBScript


SteemVBS is the first Steem Library written in VBScript. Yes, it is VBScript. 😉

Why VBS?

VBScript is my favorite. It is not dead. VBScript comes with almost every Windows since Win98. With COM support, the language is neat and can do almost anything.

Steem library has been ported to many high-level and modern languages e.g. Steem-Python, Steem-JS. Nowadays, the VBScript is still being used by many network administrators on Windows. SteemVBS aims to provide a easy interface to Steem Blockchain using VBScript.

However, Coding in VBScript may be sometimes quite tricky considering VBScript lacks of modern features (the last update was a bug fix almost 20 years ago).

SteemVBS

Fully open source: https://github.com/DoctorLai/steemvbs
Submit PR or Issue.

Examples

Currently, what SteemVBS does is quite limited, except getting the account information.

Class Steem is declared in lib\steem.vbs and you can do something like this

Dim SteemIt
Set SteemIt = (New Steem)("https://rpc.steemviz.com")

WScript.Echo SteemIt.Node
SteemIt.Node = "https://api.steemit.com"
WScript.Echo SteemIt.Node

Dim Account
Set Account = SteemIt.GetAccount("justyy")
WScript.Echo Account("voting_power")

To run the example:

cscript.exe /Nologo steem.wsf examples\account.vbs
steemvbs SteemVBS - Yes, It is VBScript SteemIt vbscript

steemvbs

Unit Tests

VBS Unit tests can be run via:

cscript.exe /Nologo tests.wsf tests\test_account.vbs

Roadmap

Most of the features of Steem-Js and Steem-Python will be brought in.

Notice

This library is under development. Beware.

Support me and my work as a witness by

Some of my contributions: SteemIt Tools, Bots, APIs and Tutorial

–EOF (The Ultimate Computing & Technology Blog) —

GD Star Rating
loading...
465 words
Last Post: SteemIt Bot Update: Showing Your Payout in Last 7 Days
Next Post: LogoTurtle v0.0.14: Add Status Bar, Add Repcount and Bug Fixes

The Permanent URL is: SteemVBS – Yes, It is VBScript

Leave a Reply