Advanced statistics for mining ethereum and other cryptocurrencies.
This is a single-page AngularJS v1.5 app. You can access a hosted version at thecalc.io.
You can also download/clone this repository and host your very own development server using Node.js.
This project is still under development, please report bugs by creating issues.
Ensure you have Node.js installed.
I reccomend installing node with nvm. It allows you to switch easily between node versions. Whilst not required, it's worth the effort.
Enter the following commands in your terminal:
$ git clone https://github.com/AgeManning/EthereumMiningCalculator.git
$ cd EthereumMiningCalculator/
$ npm install -g npm # Update npm.
$ npm install -g bower # Install bower.
$ npm install -g grunt-cli # Install grunt.
$ npm install # Install the local development dependencies.
$ npm start # Run the build scripts and start a development server
Finally, Use Chrome to navigate to your new server at localhost or loopback.
This is an AngularJS, HTML, JS and CSS single-page web-app without it's own "backend" server. (We do however use online third-party APIs).
We use the Poloniex API to determine current exchange rates.
We also use the Bitpay API to determine further current exchange rates.
The etherchain.org API supplies us with various current blockchain stats including difficulty, block time, hash rate, current block number
We use node.js to run helpful scripts whilst we're developing. Not required for production. (No actual node.js coding is required).
Bower manages third-party dependencies. Eg, Want to install highcharts? bower install --save highcharts
. Highcharts will then be loaded in bower_components and the grunt script will automatically load its script and link tags
to our index.html.
Grunt does menial tasks. Grunt automatically inserts script and link tags (from bower_components and the app folder) into our index.html and then runs a html server on 0.0.0.0:9001
Contribution is encouraged! Feel free to fix a technical issue or raise a discussion about a math or logic issue.
You can see a discussion about the difficulty bomb at this issue.