rpcit – Steemit JSON-RPC 2.0 CLI

in #steemitdev6 years ago (edited)

Yet another developer tool. This time a handy command line tool lets you speak with steemd, jussi and all the other Steemit JSON-RPC services.

Head over to the GitHub project page for installation and usage instructions:

https://github.com/jnordberg/rpcit

Usage

Combine it with jq to create powerful shell scripts (just remember to stop and write a proper app if your find yourself with more than 100 lines of bash, ain't nobody got time for that).

Here's a one-liner that grabs the top 10 authors from trending and lists their account balances:

rpcit get_discussions_by_trending :'{"tag":"","limit":10}' | \
  jq -c -r 'map(.author)' | \
  rpcit get_accounts _ | \
  jq '.[] | {name, balance, sbd_balance, vesting_shares}'

example.png


Peace!

Sort:  

playing with it, quite interesting so far. Already the shell code is quite large :)

Moral support! 👏🏼

Awesooooooooome !!! Thanks for this, I'll play with it tomorrow :D

more straight fire, another great tool! :)

you are great

programming is a challenging
but i like it
thanks for sharing

Thank you for your time to apply it and understand how it work .

wonderful programming, nice post, thanks for sharing

Coin Marketplace

STEEM 0.28
TRX 0.11
JST 0.034
BTC 66274.97
ETH 3175.04
USDT 1.00
SBD 4.06