Refactoring & Steem Blockchain Command: !price

in #busy5 years ago

I spent some time refactoring the entire steem-bot project, so that it is more robust and maintainable.

Technology Stacks

  1. NodeJS
  2. SteemJS
  3. MySQL
  4. PM2 Management

image.png

blockchain process listens to the steem blockchain and push supported commands to MySQL. And the command process e.g. !info will read from the database and process the command (bots reply comments).

New Command: !price

image.png

Disclaimer

  1. alpha version ( not proper unit testing yet )
  2. information is provided as it is. no guarantee 100% correct
  3. more commands are coming!

Witnesses are true lovers for steem!

Vote for me or Set me as a witness Proxy - Every vote counts! - Thank you!

Your Vote is much appreciated, and every vote counts.

Check out My Witness Page


My Witness Campagin

Support me and my work: my witness campagin:

  1. One Year Witnessversary - A Great Start!
  2. voting me here, or
  3. voting me as a proxy

Some of my contributions:

  1. SteemIt Tools, Bots, APIs and Tutorial
  2. VPS Database
  3. Video Downloader
  4. Cryptocurrency Discord Bot
  5. SteemIt Discord Bot

Join cnsteem Discord channel: https://discord.gg/SnNaaYS


Vote for My Witness

https://steemit.com/~witnesses type in justyy and click VOTE

Or Vote @justyy via Steemconnect Thank you!

Sort:  

justyy thinks you are awesome!


command: !thumbup is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

👍
~Smartsteem Curation Team

1 STEEM Power: 1980.731 VESTS
steem_to_sbd: 0.2098317678284841
sbd_to_steem: 4.765722608873015
sbd_median_price: 0.2098317678284841
steem_per_mvests: 504.8648570670833
vests_to_sp: 0.000504864189956444
sp_to_vests: 1980.7280819847722
ticker.latest: 0.20100682593856656
ticker.lowest_ask: 0.20773000000000000
ticker.higest_bid: 0.20339820211399784
ticker.steem_volume: 80424.942 STEEM
ticker.sbd_volume: 16277.097 SBD
Time: 2019-09-09T22:40:05.868Z


command: !price is provided by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

Blockchain Version: 0.22.1
Last Irreversible Block: 36283221
Head Block Number: 36283239
Total Steem Accounts: 1316980
Feed Price: 0.210 USD
Market Price: 0.206 USD
Hardfork Version: 0.22.0
1 STEEM Power: 1980.731 VESTS
Time: 2019-09-09T22:59:46


command: !info is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

1 STEEM Power: 1980.731 VESTS
steem_to_sbd: 0.20983177085878402
sbd_to_steem: 4.765722540048505
sbd_median_price: 0.20983177085878402
steem_per_mvests: 504.865295305324
vests_to_sp: 0.000504864189956444
sp_to_vests: 1980.7263626533027
ticker.latest: 0.20100682593856656
ticker.lowest_ask: 0.20771999999999999
ticker.higest_bid: 0.20359355129835502
ticker.steem_volume: 80445.547 STEEM
ticker.sbd_volume: 16281.314 SBD
Time: 2019-09-09T23:00:25.349Z


command: !price is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

1 STEEM Power: 1980.731 VESTS
steem_to_sbd: 0.20983177085878402
sbd_to_steem: 4.765722540048505
sbd_median_price: 0.20983177085878402
steem_per_mvests: 504.8654129607875
vests_to_sp: 0.000504864189956444
sp_to_vests: 1980.7259010584453
ticker.latest: 0.20100682593856656
ticker.lowest_ask: 0.20770801711052850
ticker.higest_bid: 0.20359355129835502
ticker.steem_volume: 80456.354 STEEM
ticker.sbd_volume: 16283.517 SBD
Time: 2019-09-09T23:05:49.326Z


command: !price is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

This post has been resteemed by @witnessnews.

Follow @witnessnews to keep up with active witness updates.

Loading...

Coin Marketplace

STEEM 0.35
TRX 0.12
JST 0.040
BTC 70541.68
ETH 3582.21
USDT 1.00
SBD 4.74