As a developer on the Steem blockchain there are numerous tasks I find myself revisiting repeatedly either manually or as called for in scripts. I started gathering these into one handy repository and `skiff` was born.  <sub>Photo by Jordan Bauer on Unsplash</sub> #### Repository https://github.com/tdreid/steem-skiff ### What is the project about? `skiff` aims to be a one-stop utility knife CLI for commponplace Steem blockchain related tasks. It will draw on steemjs, dsteem, the developer portal, Discord server gossip and personal experience to shave as many milliseconds of developer time as possible off of such chores. ##### As of version 1.0 `skiff` offers five commands... Examples follow. For full documentation see the [README](https://github.com/tdreid/steem-skiff/blob/master/README.md) or append `--help` to any command while using `skiff`. --- __Make test accounts__  __Verify a key or password__  __Generate a posting, active or owner key using a password__  __List all the properties that appear on _n_ recent posts__ This makes it easier to look up property names to pick for the `get-posts` command below.  __Query a category of recent posts to CSV or JSON__  ### Technology Stack - [Node.js](https://nodejs.org/en/) - [Commander.js](https://github.com/tj/commander.js/) - [Steem.js](https://github.com/steemit/steem-js) - [Prompt](https://github.com/flatiron/prompt) - [Request](https://github.com/request/request) - [Jsonexport](https://github.com/kauegimenes/jsonexport) - [Lodash](https://lodash.com/) ### Roadmap I've really only nabbed the first few and most frequent commands that I use on a daily basis. Many more are planned. Here are the features that have occurred to me so far: - Post, comment, follow, resteem, vote and flag with simple support for taking action when criteria are met; - Make `skiff` configurable to default to interacting with a testnet or live blockchain as needed. In addition most commands should support flags to point to alternate chains on an ad hoc basis; - Create accounts and pay the account creation fee; - Fold in the periodic transfers technique from [last week's tutorial](https://steemit.com/utopian-io/@tdre/build-a-command-line-tool-to-make-periodic-transfers) as well as make this feature more configurable; - Calculate Steem Power and Voting Power for multiple users; - Estimate curation and voting rewards. ### How to contribute? This project welcomes [Pull Requests](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) and [Issues](https://github.com/tdreid/steem-skiff/issues) on [Github](https://github.com/tdreid/steem-skiff). I'm an active believer in the `help wanted` and `good first issue` tags on GitHub. If you're interested in this project there's not necessarily a need to wait for a Task Request. Feel free to find me on Discord (tdre#0689) too. You can propose an idea as [a Utopian suggestion](https://github.com/utopian-io/editor-templates/blob/master/ideas) if you'd like to see an added command but aren't free to code it personally. ##### Please [submit an Issue](https://github.com/tdreid/steem-skiff/issues) to: - Report a bug - Request a feature ##### Proposing a change Please fork the **steem-skiff** repo and submit a Pull Request. Include a bit of a summary and follow [the guidelines in GitHub documentation](https://help.github.com/articles/creating-a-pull-request-from-a-fork/). ##### Coding conventions Per the @utopian-io guidelines code should be well documented with comments. This project uses the jsdocs convention for comments. Please document new functions accordingly. #### GitHub account <center> https://github.com/tdreid  </center>
author | tdre |
---|---|
permlink | it-s-skiff-a-utility-command-line-interface-for-the-steem-blockchain |
category | utopian-io |
json_metadata | {"community":"busy","app":"busy/2.5.3","format":"markdown","tags":["utopian-io","development","busy","steem","cryptocurrency"],"users":["tdre","utopian-io"],"links":["https://github.com/tdreid/steem-skiff","https://github.com/tdreid/steem-skiff/blob/master/README.md","https://nodejs.org/en/","https://github.com/tj/commander.js/","https://github.com/steemit/steem-js","https://github.com/flatiron/prompt","https://github.com/request/request","https://github.com/kauegimenes/jsonexport","https://lodash.com/","https://steemit.com/utopian-io/@tdre/build-a-command-line-tool-to-make-periodic-transfers"],"image":["https://ipfs.busy.org/ipfs/QmZPL1pVHLWHDCttLRNWqUK27pcDe8tK6uLEaJf9z6uoKF","https://ipfs.busy.org/ipfs/QmNYDxSBgh58ZpT4YfuiB9XBCA5CUVPhVPf7ZqhQBWm8TN","https://ipfs.busy.org/ipfs/QmaGwxevmETUUxLWckNX5d2nF2uwpg3xDcbsGDYNnG7qoD","https://ipfs.busy.org/ipfs/QmPooeQQpvP44ian5ce539FzGKLry4xLYk6WwAFc2F9uA7","https://ipfs.busy.org/ipfs/QmZVmrXz2LeuRQuq3S3wWoN64jmsdckKgCdjrrA7xdfRd4","https://ipfs.busy.org/ipfs/QmZ6PLTBDzCxyDSDFAR3cLBfiCMF6NEKBZgFp5KtgWkYZQ","https://ipfs.busy.org/ipfs/QmRebopnSyfF6NyUPCdFDWRFVdAzCnfy6dnfg24NVK9BvJ"]} |
created | 2018-07-30 00:15:15 |
last_update | 2018-07-30 00:15:15 |
depth | 0 |
children | 4 |
last_payout | 2018-08-06 00:15:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 44.036 HBD |
curator_payout_value | 12.870 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 4,372 |
author_reputation | 28,296,055,808,693 |
root_title | "It's skiff β A utility command line interface for the Steem blockchain" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,446,482 |
net_rshares | 33,381,971,023,203 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bitland | 0 | 7,709,004,172 | 35% | ||
edrivegom | 0 | 7,992,157,526 | 93% | ||
bycz | 0 | 7,895,299,398 | 24% | ||
geronimo | 0 | 7,858,709,548 | 73% | ||
dercoco | 0 | 7,766,875,173 | 74% | ||
mione | 0 | 7,560,717,845 | 23% | ||
telos | 0 | 7,665,436,746 | 13% | ||
nelkel | 0 | 7,778,094,628 | 32% | ||
natord | 0 | 8,023,120,124 | 61% | ||
busy.org | 0 | 3,325,498,174 | 0.38% | ||
bekkababy | 0 | 8,011,620,854 | 88% | ||
neuerko | 0 | 7,628,430,106 | 22% | ||
seongbuk | 0 | 7,843,944,261 | 45% | ||
snoe860 | 0 | 7,976,872,832 | 39% | ||
bleh773 | 0 | 6,489,434,106 | 100% | ||
msg768 | 0 | 1,123,755,598 | 1% | ||
cikxaijen | 0 | 7,955,563,253 | 56% | ||
holgerwerner | 0 | 7,589,312,322 | 16% | ||
greyman | 0 | 7,959,932,074 | 60% | ||
deveerei | 0 | 8,104,800,790 | 79% | ||
wanxlol | 0 | 6,195,932,845 | 100% | ||
haneun | 0 | 211,380,964 | 79% | ||
amreshchandra | 0 | 7,891,346,900 | 62% | ||
minnowsupport | 0 | 47,339,996,125 | 0.6% | ||
jmromero | 0 | 7,943,599,191 | 40% | ||
sol25 | 0 | 8,019,769,379 | 38% | ||
thelastsage | 0 | 7,971,172,614 | 87% | ||
jeseemei | 0 | 3,445,226,852 | 79% | ||
xevil | 0 | 5,968,643,049 | 100% | ||
hashing247.com | 0 | 7,364,845,530 | 11% | ||
zapata42 | 0 | 7,933,886,886 | 39% | ||
dheerajdj | 0 | 7,815,470,233 | 47% | ||
doughtaker | 0 | 9,783,436,080 | 50% | ||
minnowbooster | 0 | 3,734,335,222,846 | 15% | ||
drawingwithflare | 0 | 1,117,343,831 | 79% | ||
djmalith | 0 | 8,007,040,780 | 76% | ||
dwightjaden | 0 | 8,182,411,910 | 79% | ||
retro-room | 0 | 7,255,772,921 | 100% | ||
followforupvotes | 0 | 2,571,530,671 | 6% | ||
mirza-kun | 0 | 338,769,525 | 79% | ||
jokossita | 0 | 7,217,411,939 | 100% | ||
sportsgeek | 0 | 6,316,722,959 | 100% | ||
nantorious | 0 | 6,989,623,261 | 100% | ||
engramanullah | 0 | 7,769,646,375 | 71% | ||
nyarlathotep | 0 | 7,870,488,967 | 48% | ||
emito | 0 | 7,977,977,758 | 82% | ||
mikepm74 | 0 | 7,699,349,995 | 21% | ||
gyzimo | 0 | 7,754,672,166 | 57% | ||
lennstar0de | 0 | 6,281,166,456 | 100% | ||
rodent | 0 | 6,407,071,772 | 100% | ||
denk-mit | 0 | 7,452,987,279 | 16% | ||
resteeminator | 0 | 71,660,658 | 79% | ||
luxbet | 0 | 8,120,985,991 | 5% | ||
jrawsthorne | 0 | 8,456,760,926 | 100% | ||
simi | 0 | 8,058,230,731 | 42% | ||
utopian-io | 0 | 28,969,875,496,336 | 18.78% | ||
flamered | 0 | 127,311,380 | 79% | ||
artofsteempunk | 0 | 102,286,857 | 79% | ||
greenorange | 0 | 605,432,593 | 100% | ||
bridget.art | 0 | 8,068,723,770 | 84% | ||
yairdd | 0 | 7,952,291,361 | 20% | ||
datristan | 0 | 8,115,115,008 | 74% | ||
mvrr007 | 0 | 6,184,301,896 | 100% | ||
fairlotto | 0 | 7,586,320,414 | 21% | ||
amosbastian | 0 | 18,144,861,679 | 34.14% | ||
tdre | 0 | 7,525,931,380 | 100% | ||
thinkingmind | 0 | 5,035,554,955 | 100% | ||
zapplwoman | 0 | 7,980,063,801 | 60% | ||
sagenomad | 0 | 7,978,249,482 | 93% | ||
jjay | 0 | 829,332,075 | 100% | ||
jeffleinwand | 0 | 7,980,634,278 | 90% | ||
comsamo | 0 | 8,053,084,399 | 50% | ||
widiaendah | 0 | 338,610,944 | 79% | ||
beanenergy | 0 | 170,273,875 | 39.5% | ||
sunrock | 0 | 7,128,936,294 | 100% | ||
sentience | 0 | 8,103,458,721 | 93% | ||
hustleking | 0 | 8,096,903,822 | 30% | ||
yuemay | 0 | 8,090,703,189 | 87% | ||
eightbitfiction | 0 | 197,909,889 | 39.5% | ||
cryptictruth | 0 | 7,382,080,364 | 100% | ||
meansteemachine | 0 | 7,959,175,527 | 44% | ||
linlee888 | 0 | 6,588,511,868 | 100% | ||
wond2006 | 0 | 7,825,472,185 | 57% | ||
blinkybill | 0 | 7,888,419,463 | 34% | ||
vargart | 0 | 6,071,120,801 | 100% | ||
gonair | 0 | 7,793,488,205 | 29% | ||
pejugold | 0 | 80,252,295 | 39.5% | ||
arhitekt | 0 | 7,797,729,916 | 26% | ||
statsexpert | 0 | 1,911,919,098 | 40% | ||
ayoade96 | 0 | 130,085,962 | 39.5% | ||
fofi | 0 | 6,500,507,806 | 100% | ||
hendragunawan | 0 | 171,110,594 | 39.5% | ||
ryuna.siege | 0 | 252,982,849 | 100% | ||
shaphir | 0 | 2,139,581,043 | 100% | ||
annemariemay | 0 | 7,995,680,161 | 52% | ||
thewb | 0 | 287,915,614 | 39.5% | ||
aaasaimon | 0 | 7,311,845,937 | 100% | ||
czciborj | 0 | 545,292,000 | 100% | ||
artsyunicorn | 0 | 75,350,021 | 43.5% | ||
bloopy | 0 | 64,972,341 | 43.5% | ||
bohrbounded | 0 | 551,220,934 | 100% | ||
steemfunder | 0 | 8,099,410,541 | 87% | ||
storywriter | 0 | 6,709,321,014 | 100% | ||
steamedstopper | 0 | 545,349,892 | 100% | ||
klimekaczma | 0 | 554,492,666 | 100% | ||
popschools | 0 | 81,082,235 | 43.5% | ||
bangbangbooking | 0 | 545,355,773 | 100% | ||
leakingunder | 0 | 545,355,773 | 100% | ||
vermilionlost | 0 | 545,349,892 | 100% | ||
damiralanov | 0 | 551,446,003 | 100% | ||
skuzmin88 | 0 | 554,489,835 | 100% | ||
thussidlaws | 0 | 554,489,835 | 100% | ||
betweeneris | 0 | 554,489,835 | 100% | ||
cityscapeleaf | 0 | 545,349,892 | 100% | ||
aleindium | 0 | 554,489,835 | 100% | ||
indigooccupy | 0 | 554,489,835 | 100% | ||
quantushower | 0 | 545,349,892 | 100% | ||
trademarkroofer | 0 | 554,489,835 | 100% | ||
ploverpick | 0 | 545,349,892 | 100% | ||
acrobatichair | 0 | 545,349,892 | 100% | ||
finesuper | 0 | 545,349,892 | 100% | ||
stewedmango | 0 | 545,349,892 | 100% | ||
balancebelched | 0 | 554,489,835 | 100% | ||
lividbouncy | 0 | 554,486,740 | 100% | ||
bohrbowling | 0 | 545,346,849 | 100% | ||
nbusurev | 0 | 545,346,849 | 100% | ||
bobby.madagascar | 0 | 8,036,002,274 | 38% | ||
whiskeynovelty | 0 | 554,415,800 | 100% | ||
cryptoforex0 | 0 | 7,938,305,699 | 41% | ||
mohandhali | 0 | 7,881,634,560 | 19% | ||
mrheuss | 0 | 592,153,169 | 100% |
As a follower of @followforupvotes this post has been randomly selected and upvoted! Enjoy your upvote and have a great day!
author | followforupvotes |
---|---|
permlink | re-tdre-it-s-skiff-a-utility-command-line-interface-for-the-steem-blockchain-20180730t004615193z |
category | utopian-io |
json_metadata | "" |
created | 2018-07-30 00:46:18 |
last_update | 2018-07-30 00:46:18 |
depth | 1 |
children | 0 |
last_payout | 2018-08-06 00:46:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 124 |
author_reputation | 24,665,782,446,239 |
root_title | "It's skiff β A utility command line interface for the Steem blockchain" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,448,693 |
net_rshares | 0 |
Thank you for your contribution. 1. you may want to define a list of code constants that is used by `process.exit` 2. what does skiff stand for? 3. how do I switch between testnet (+1 BTW) and the steem blockchain? 4. You may want to start building up unit tests at the early stage of the project. 5. You may want to take `steem.api.setOptions` out to a common module/place where users could set via command line. You may also refer to steempy CLI for some useful features. Looking forward to more features/utilities! Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category. To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/3322232). ---- Need help? Write a ticket on https://support.utopian.io/. Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
author | justyy |
---|---|
permlink | re-tdre-it-s-skiff-a-utility-command-line-interface-for-the-steem-blockchain-20180730t010705065z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/3/3322232","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"} |
created | 2018-07-30 01:07:09 |
last_update | 2018-07-30 01:07:09 |
depth | 1 |
children | 0 |
last_payout | 2018-08-06 01:07:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.062 HBD |
curator_payout_value | 0.006 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,011 |
author_reputation | 280,616,224,641,976 |
root_title | "It's skiff β A utility command line interface for the Steem blockchain" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,450,274 |
net_rshares | 40,893,747,149 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
happyukgo | 0 | 384,697,864 | 20% | ||
superbing | 0 | 2,773,379,925 | 20% | ||
dailyfortune | 0 | 60,819,210 | 20% | ||
espoem | 0 | 17,629,160,050 | 15% | ||
dailystats | 0 | 5,242,174,965 | 20% | ||
tdre | 0 | 7,177,405,474 | 100% | ||
dailychina | 0 | 3,561,419,476 | 20% | ||
turtlegraphics | 0 | 1,908,394,051 | 20% | ||
mops2e | 0 | 336,702,181 | 10% | ||
witnesstools | 0 | 1,819,593,953 | 20% |
<p>Congratulations! This post has been upvoted from the communal account, @minnowsupport, by tdre from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the <a href="https://discord.gg/HYj4yvw"> Peace, Abundance, and Liberty Network (PALnet) Discord Channel</a>. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.</p> <p>If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=102530.639667%20VESTS">50SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=205303.639667%20VESTS">100SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=514303.639667%20VESTS">250SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=1025303.639667%20VESTS">500SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=2053030.639667%20VESTS">1000SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=10253030.639667%20VESTS">5000SP</a>. <br><strong>Be sure to leave at least 50SP undelegated on your account.</strong></p>
author | minnowsupport |
---|---|
permlink | re-it-s-skiff-a-utility-command-line-interface-for-the-steem-blockchain-20180731t030848z |
category | utopian-io |
json_metadata | "{"app": "beem/0.19.50"}" |
created | 2018-07-31 03:08:48 |
last_update | 2018-07-31 03:08:48 |
depth | 1 |
children | 0 |
last_payout | 2018-08-07 03:08:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,700 |
author_reputation | 148,902,805,319,183 |
root_title | "It's skiff β A utility command line interface for the Steem blockchain" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,586,840 |
net_rshares | 0 |
Hey @tdre **Thanks for contributing on Utopian**. Weβre already looking forward to your next contribution! **Want to chat? Join us on Discord https://discord.gg/h52nFrV.** <a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
author | utopian-io |
---|---|
permlink | re-it-s-skiff-a-utility-command-line-interface-for-the-steem-blockchain-20180802t030009z |
category | utopian-io |
json_metadata | "{"app": "beem/0.19.42"}" |
created | 2018-08-02 03:00:09 |
last_update | 2018-08-02 03:00:09 |
depth | 1 |
children | 0 |
last_payout | 2018-08-09 03:00:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 296 |
author_reputation | 152,955,367,999,756 |
root_title | "It's skiff β A utility command line interface for the Steem blockchain" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,828,230 |
net_rshares | 3,758,419,601 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tdre | 0 | 3,758,419,601 | 100% |