Steem-lib, Intro.

Words
152
Reading
1 min
Listen
Play
10y

A javascript library that's I had been working on during past few months.

This post is just a quick walk-through about its overall structure.

Usage

  • a Steem client that could be configured to stay connected with multi-servers.
  • to make Steem API calls, to construct transactions, signing & broadcast.
  • listening to blocks, and transactions.

Codes Structure

The overall structure is basically an imitation of ripplelib that I had been using. The main components are some nodejs EventListeners object: Remote, Server, Request, Transaction, TransactionManager.

Most other underlying codes are directly copied and modified from steemjs-lib and official steem-js repositories.

There's no ES6 syntax in these codes, nor any use of promises. And I'm preferring flat structure, so every source-files just goes into one single folder.

included in the /build folder are the pre-build js and min.js that's ready for browser use.

Release:

https://github.com/ripplerm/steem-lib
https://www.npmjs.com/package/steem-lib

More details in my next posts...

Steem-lib, Intro. | Ecency