The net hash rate forecast tab show you a forecast of the predicted future hashrate. The ROI (return on invesment) tab shows the rate at which you are earning money. In the output sections you can see three tabs: ROI, Net hash rate forecast and Daily ether to miners. You can zoom in by selecting a specific period in the chart, double clicking resets your zoom. You can use the chart to see your returns at an earlier date. Based on the values you provided this app calculates the expected ROI and ether mined after the forecasted period. If you are a cloud miner you can set the energy price to 0. Click on 'Show advanced options' to change the days to forecast, date of investment, ether sell price, energy consumption and energy price. In the input section you can enter your hashrate and investment cost. The dashboard is divided in two sections, an input section at the left and tabs with output on the middle/right. It went quicker then I thought and within no time I had published my calculator/dashboard on shinyapp.io, see Ether mining profitability calculator. Recently I came across shinyapps.io, a relatively simple tool to create well looking dashboards in R and wanted to give it a go. These however where not production ready yet and needed additional work. The data collection and preparation was done in R as well as the forecasting and visualizations. If you are interested have a look at 30 biggest blockrewards. block number 2770908 which has a total of 766 ether. ![]() The total ether rewarded to the miners is between 5 and 14 ether, there are some exceptions though. 625 depending where the uncle is included ((U_n + 8 - B_n) * R / 8). ![]() As a miner you can ether in several different ways, see this list below which includes all of the ways to earn ether: This is the total amount of ether rewarded to all the miners per day. Each day there are between 25.000 and 40.000 new blocks which provides sufficient data to do it this way. There might be other ways to do this but for this application this works. I divided the weighted difficulty (block difficulty * block time) by the mean block time for all blocks on a day to get an estimate of that days net hash rate. The block timestamp and difficulty are of interest for estimating the net hash rate. A prediction of this value is important because the percentage of your attribution determines the number of ethers you get in a specific period. The net hash rate is the total hash rate of the network. geth -rpc -rpccorsdomain localhost Net hash rate I used R to retrieve the block data from the chain and saved it to sql with R as well. With the command below I started a local instance of the rpc client which enabled me to very quickly communicate with the chain. It took a while to get the 4M+ blocks but once I had them I could start the data collection. To do this I downloaded geth and started the ether chain synchronization process. I ran a quick search on google but could not find a recent full dump of the ether chain, which made me decide to collect it myself. ![]() To be able to predict the net hash rate and daily ether to miners I needed data. This post describes the steps I took to create the calculator and how you can use it. That is why I build a profitability calculator which, based on the predicted net hash rate and daily ether to miner rewards, provides a realistic view of your investment returns. And with the current growth in net hash rate basically all these profitability calculators provide a too rosy image. As with the bitcoin story there are mining profitability calculators available, however these work with fixed or simple difficulty values. And the articles about mining and cloud mining triggered me to build a reliable ether mining profitability calculator. Some articles are about the recent price increase or about the opportunities and risks and even some about mining. You will probably think, why is this guy talking about bitcoin while the title clearly states ether, well that is because of the following: since a few months ether is on a daily bases in the news. So after a while I decided to sell the mining rig and just invest it in bitcoin. For this you do not need to be an economist to see that the break even date would never come. ![]() However, at that point the difficulty started to increase significantly and each day that passed shifted my break even date with two days. This seemed like a perfect deal and a quick calculation showed that I would earn my investment back in just a matter of weeks. During that time I lived in a student house for which the rent included energy costs. A long time ago I purchased a Butterfly Labs rig to mine Bitcoin.
0 Comments
Leave a Reply. |