UTOPIAN.IO: Get the value of you steemit earnings

My "steemit-earnings" tool is now on UTOPIAN.IO!

It is Open Source and if somebody wants to contribute, please contact me on steemit, steem.chat oder discord (profilename: schererf).

"steemit-earnings" is an simple tool to get the value of your steemit earnings. It reads the "claimed rewards" and the "transfers" of your account, calculates Steem Power based on historical 'steem_per_vests' values and converts it to BTC and EUR using the historical daily exchange rates.

Note

This tool can simply be used for your personal interests or of course to create a template for reporting your steemit earnings for a financial office (as we need it in Germany for the tax office).

The created report is of course not an official document. It is just an idea on how to report your earnings!

Step by step

nodeJS

First of all you need to install "nodeJS" (LTS version). You can download nodeJS here: https://nodejs.org

Download the sources

As next step just go to my GitHub repository and Download the ZIP
https://github.com/SchererF/steemit-earnings

Extract the downloaded zip to your preferred folder.

Open Node.js command prompt

Open the the "Node.js command prompt" and change to the folder of the extracted program.

Install the required packages of the program

For implementation I used several node packages :

  • steem: The steem JS API
  • fs: To create the output files
  • bluebird: Fully featured promises library
  • node-fetch: Brings 'window.fetch' to Node.js
  • cryptocompare-api: Get exchange rates for crypto and FIAT currencies

Just execute the following command to install all required packages for the program.

npm install

Run the program

To run the program you just have to enter

node get-claimed-rewards.js "accountname"

(e.g.)
node get-claimed-rewards.js schererf

The program request all account history data for the specified account and creates a HTML and a CSV file as output.

Take a look at the output HTML

The created HTML uses the bootstrap-framework and looks like this.

By clicking on the "claim_reward_balance..." button you can see the JSON data of the underlying history entry.

Latest changes, new Features

The latest changes I made for version v0.4.0 are

  • Create one file per year as output (HTML, CSV)
  • Add the from/to info for transfers
  • Synchronized columns of reported HTML and CSV
  • Added 'steem_per_mvests.json' file with values till 02/2018

Please give me feedback if this tool is helpful for you.

Thanks for reading and watching,
@schererf



Posted on Utopian.io - Rewarding Open Source Contributors

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now