Johan Nordberg ๐Ÿข avatar

rpcit โ€“ Steemit JSON-RPC 2.0 CLI

almost-digital

Published: 21 Jan 2018 โ€บ Updated: 21 Jan 2018rpcit โ€“ Steemit JSON-RPC 2.0 CLI

rpcit โ€“ Steemit JSON-RPC 2.0 CLI

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!

Leave rpcit โ€“ Steemit JSON-RPC 2.0 CLI to:

Read more #steemitdev posts


Best Posts From Johan Nordberg ๐Ÿข

We have not curated any of almost-digital's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Johan Nordberg ๐Ÿข