![](https://img1.steemit.com/0x0/http://dragosroua.com/wp-content/uploads/2016/10/steem.png) Steem Witness Toolbox is a helper script for witnesses maintaining the Steem network. It's written in Node.JS, uses @svk's [SteemJS-Lib](https://github.com/svk31/steemjs-lib) and it's based on @someguy’s [steemfeed-js](https://github.com/Someguy123/steemfeed-js). All the heavy lifting was done by @someguy123, I just added options for updating SBD interest rate, ```account_creation_fee``` and ```maxmimum_block_size``` parameters. The script updates the price feed at a set interval (default is 60 minutes, can be changed via config.json) and the following witness variables: * ```account_creation_fee``` - the price, in STEEM, that a user must pay in order to create an account on Steemit.com * ```sbd_interest_rate``` - the APR of Steem Backed Dollars * ```maximum_block_size``` - the maximum size of a block in the Steem blockchain It can be used with docker or npm. I prefer the docker version. Installation and a bit of documentation can be found on the [Github repo](https://github.com/dragosroua/steem-witness-toolbox). # Why The Account Creation Fee Should Be Pegged To The Dollar Last week I had a few conversations about potential scenarios in case of a drastic Steem devaluation (which is something I expect to happen, even if for a very short period of time, once HardFork 16 is adopted by all witnesses). One of the scenarios was about the possibility to create a ridiculously large number of accounts, in the case of a serious devaluation. A very large number of accounts controlled by a single user could create a bit of trouble, even if we think at the spam potential. I even opened a Github issue on this topic, suggesting to throttle the account creation number at the cli_wallet level. A few devs gave me more information and in the end I realized that this may not be the best solution. I also closed the issue and decided to take another path. The account fee should be a _political decision_, not something written in code. It’s something that stems from governance, hence, the witnesses should have a way to closely watch any price variations and adjust the fee accordingly. That’s why I decided to write and implement this script, on top of the price feed script I was already using. On my witness node, every 60 minutes, the script pulls the Steem / USD pair rate from a few exchanges. Based on that, it calculates the actual number of Steem required to open an account, at a certain account price, set up in USD. I set up my account price at $5. If Steem is $0.10, the account_creation_fee will be 50 Steem. If Steem is $0.15, the account_creation_fee will be 33.33 Steem. So, even in the case of a drastic devaluation, the actual price of opening an account on Steemit will always be $5, which should prevent any potential abuse. It was fun to write and deploy some code for the Steemit blockchain - it’s my first attempt at this - and I learned quite a bit. I want to thank again to @svk and @someguy123 for the great work they did so far. I also encourage all the witnesses to test and improve the script as they see fit. I consider it alpha software, hence, there might be some bugs and the “architecture” can surely be improved. *** _I'm a serial entrepreneur, blogger and ultrarunner. You can find me mainly on my blog at [Dragos Roua](http://dragosroua.com) where I write about productivity, business, relationships and running. Here on Steemit you may stay updated by following me @dragosroua._<center> ![Dragos Roua](http://dragosroua.com/wp-content/uploads/2014/05/bamf-e1448824881306.png) </center> *** <center>_**You can also vote for me as witness here: https://steemit.com/~witnesses**_</center>
post_id | 1,432,709 |
---|---|
author | dragosroua |
permlink | witness-update-dragosroua-introducing-steem-witness-toolbox |
category | witness-category |
json_metadata | "{"format": "markdown", "links": ["https://github.com/svk31/steemjs-lib", "https://github.com/Someguy123/steemfeed-js", "https://github.com/dragosroua/steem-witness-toolbox", "http://dragosroua.com", "https://steemit.com/~witnesses"], "app": "steemit/0.1", "tags": ["witness-category"], "users": ["svk", "someguy", "someguy123", "dragosroua"], "image": ["https://img1.steemit.com/0x0/http://dragosroua.com/wp-content/uploads/2016/10/steem.png"]}" |
created | 2016-11-26 20:20:27 |
last_update | 2016-11-26 20:27:51 |
depth | 0 |
children | 1 |
net_rshares | 21,934,260,148,673 |
last_payout | 2016-12-27 21:06:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 3.160 SBD |
curator_payout_value | 0.656 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 3,751 |
author_reputation | 283,284,114,896,802 |
root_title | "Witness Update DragosRoua - Introducing Steem Witness Toolbox" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
barrie | 0 | 346,000,850,774 | 100% | ||
anonymous | 0 | 29,581,018,466 | 10% | ||
hello | 0 | 7,985,412,839 | 10% | ||
world | 0 | 2,999,892,675 | 10% | ||
fufubar1 | 0 | 4,362,460,740 | 10% | ||
xeldal | 0 | 8,728,207,548,588 | 100% | ||
enki | 0 | 5,549,028,502,330 | 100% | ||
wang | 0 | 731,722,617,038 | 47% | ||
boy | 0 | 6,947,502,194 | 100% | ||
xeroc | 0 | 42,050,337,330 | 10% | ||
bue-witness | 0 | 8,453,424,200 | 100% | ||
bunny | 0 | 1,355,188,948 | 100% | ||
bue | 0 | 131,082,052,064 | 100% | ||
mini | 0 | 3,719,505,823 | 100% | ||
moon | 0 | 474,959,668 | 100% | ||
joseph | 0 | 64,171,741,478 | 10% | ||
mineralwasser | 0 | 926,110,780 | 100% | ||
mrs.agsexplorer | 0 | 70,822,749,252 | 100% | ||
bingo-1 | 0 | 1,245,000,656 | 100% | ||
benjojo | 0 | 443,786,678,984 | 100% | ||
pairmike | 0 | 3,524,217,522 | 10% | ||
healthcare | 0 | 1,393,957,250 | 100% | ||
daniel.pan | 0 | 2,199,046,785 | 100% | ||
helen.tan | 0 | 641,266,210 | 100% | ||
teamsteem | 0 | 331,543,834,740 | 100% | ||
pal | 0 | 32,527,357,858 | 10% | ||
jerome-colley | 0 | 8,345,427,448 | 100% | ||
steve-walschot | 0 | 9,276,098,781 | 10% | ||
hannixx42 | 0 | 42,995,106,498 | 100% | ||
murh | 0 | 2,088,096,082 | 15.09% | ||
blakemiles84 | 0 | 8,698,665,961 | 10% | ||
mrsteemgarden | 0 | 267,976,413 | 100% | ||
steemgarden | 0 | 267,803,523 | 100% | ||
pets | 0 | 253,878,487 | 100% | ||
coinbitgold | 0 | 130,116,636,054 | 100% | ||
applecrisp | 0 | 676,162,193 | 10% | ||
kenny-crane | 0 | 119,561,818,591 | 100% | ||
trogdor | 0 | 267,856,808,670 | 100% | ||
michaelx | 0 | 858,221,087 | 10% | ||
albertogm | 0 | 1,451,424,250 | 10% | ||
michaellamden68 | 0 | 2,101,490,858 | 100% | ||
transisto | 0 | 3,011,102,471,991 | 100% | ||
raymondspeaks | 0 | 455,251,482 | 10% | ||
karenmckersie | 0 | 6,437,911,969 | 100% | ||
lichtblick | 0 | 85,706,195,518 | 100% | ||
cryptojoy.com | 0 | 158,221,954 | 10% | ||
phenom | 0 | 944,589,261 | 10% | ||
liberosist | 0 | 398,812,378,357 | 100% | ||
raymonjohnstone | 0 | 4,052,579,233 | 100% | ||
sokoloffa | 0 | 3,156,403,902 | 100% | ||
macchicken | 0 | 345,948,104 | 100% | ||
clonewarz | 0 | 4,806,294,147 | 100% | ||
craigslist | 0 | 939,093,767 | 100% | ||
timcliff | 0 | 96,165,307,013 | 100% | ||
brendio | 0 | 1,138,180,692 | 10% | ||
wartrapa | 0 | 31,186,938,066 | 100% | ||
vegascomic | 0 | 15,071,578,268 | 70% | ||
blocho | 0 | 6,499,249,808 | 100% | ||
lemouth | 0 | 41,692,742,482 | 100% | ||
lamech-m | 0 | 4,193,918,212 | 100% | ||
someguy123 | 0 | 151,764,849,601 | 100% | ||
dajohns1420 | 0 | 3,267,914,936 | 100% | ||
nulliusinverba | 0 | 320,517,101 | 10% | ||
krnel | 0 | 266,437,069,802 | 100% | ||
manosteel211 | 0 | 3,129,634,548 | 100% | ||
tracemayer | 0 | 1,714,449,661 | 10% | ||
boxcarblue | 0 | 47,372,001,607 | 100% | ||
ballinconscious | 0 | 38,170,611,839 | 100% | ||
anomaly | 0 | 659,106,673 | 100% | ||
everittdmickey | 0 | 35,996,580,547 | 100% | ||
meerkat | 0 | 88,937,222,863 | 100% | ||
ameliawheat | 0 | 57,418,227 | 100% | ||
donchate | 0 | 545,213,438 | 10% | ||
danilamarilu | 0 | 8,958,938,224 | 100% | ||
remlaps1 | 0 | 4,291,584,926 | 100% | ||
saiku | 0 | 546,224,401 | 10% | ||
cebymaster | 0 | 7,169,023,803 | 100% | ||
narrowminded | 0 | 895,728,295 | 100% | ||
majes | 0 | 21,038,533,729 | 100% | ||
marialin | 0 | 199,154,694 | 10% | ||
digit | 0 | 1,711,543,804 | 100% | ||
ianboil | 0 | 206,011,176 | 10% | ||
jdbry | 0 | 2,257,793,252 | 100% | ||
dragosroua | 0 | 65,816,546,901 | 100% | ||
knittybynature | 0 | 2,722,417,433 | 100% | ||
raluca | 0 | 128,903,688 | 100% | ||
idnit | 0 | 2,996,044,139 | 100% | ||
jejujinfarm | 0 | 199,339,659,739 | 100% | ||
garvofe | 0 | 8,368,816,894 | 100% | ||
astrologybits | 0 | 408,328,037 | 100% | ||
joanaltres | 0 | 38,053,946,016 | 100% | ||
djvidov | 0 | 130,957,235 | 100% | ||
xer | 0 | 59,509,063,166 | 100% | ||
crowdfundedwhale | 0 | 11,749,926,133 | 60% | ||
mrfoot | 0 | 470,932,055 | 100% | ||
steempredict | 0 | 50,322,045 | 10% | ||
fosho | 0 | 579,149,606 | 100% | ||
mistere | 0 | 581,088,473 | 100% | ||
idnit1 | 0 | 1,104,723,422 | 100% | ||
herms | 0 | 1,586,931,573 | 100% | ||
ciprian.homm | 0 | 581,160,657 | 100% |
This post has been linked to from another place on Steem. - [Reports from the Witnesses 2016-11-28](https://steemit.com/witness-category/@timcliff/reports-from-the-witnesses-2016-11-28) by @timcliff Learn more about and upvote to support [**linkback bot v0.5**](https://steemit.com/steemit/@ontofractal/steem-linkback-bot-v0-5-the-reddit-awareness-release). Flag this comment if you don't want the bot to continue posting linkbacks for your posts. Built by @ontofractal
post_id | 1,438,250 |
---|---|
author | linkback-bot-v0 |
permlink | re-dragosroua-witness-update-dragosroua-introducing-steem-witness-toolbox-linkbacks |
category | witness-category |
json_metadata | {} |
created | 2016-11-27 20:44:06 |
last_update | 2016-11-27 20:44:06 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2016-12-27 21:06:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 479 |
author_reputation | 1,915,235,672,807 |
root_title | "Witness Update DragosRoua - Introducing Steem Witness Toolbox" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |