Seeing it in action! Under the hood of Steemit

in #steemjs7 years ago

steemjs.png

I wanted to put this question as conclusion to do some market validation, but high chances are will be ignore. So here goes... Any idea what is worth investing to build something leveraging on steem network? How many of you guys having difficulty with changing steem or steem dollor into fiat dollar, vice versa?


The day spend working and trying out steem-js was intersting. Being able to see what run under the hood, and have a feel of what a DPOS (Delegated Proof of Stake) block chain is indeed intersting.

For a start, I am a season NodeJS programmer. So getting started in this wasn't difficult at all. Github link are as follow: steem-js, or simple just npm install steem --save to your developement project.

Next up, is browsing through the Getting Started API, I was able to get most of what I wanted to achieve. Except that, when I was looking for a more fine tune API such as scoping, filter and etc, I need to dig deeper only to found out this steemit-doc which they talk about setting the API parameter. Which also has a limitation compare to what you normally have in SQL.

streaming-steem-transaction.gif

notice that there is a pause for a near 3 seconds before the next stream come in? That is where the list of transaction is actually consolidating into a block to be place into a chain. Yeah, in short you basically see it in action of what is written on the whitepaper.

Can even begin dig deeper streaming their blocks with steem.api.streamBlock('head', function(err, result) {});. Is getting inifinite amount of possibility what we as developer can do given such tools for us to play with.

Anyway, what I have tested above actually boils down to practical use. For the average, user or non-techie just wanting to see those transaction in actions, just look at the steemdb in action. Is basically, the mother of all query on the steem network.

block-transaction.gif

You can see the witness that is approving the blocks there too. Pretty interesting... What do you guys think?

To allow developer such an open tools is a double edge sword. It can allow us create more innovative and life changing stuff or lead to hacker exploiting vulnerability. Anyhow, is for the better, as the basis of growing steem and steemit will need more people start building stuff on top of it and using it.

I am quite optimistic to see and leverage on steem platform to build something.