Skip to content

A simple, easy to template, mining profitability calculator

Notifications You must be signed in to change notification settings

imcjohn/MiningCalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ian's Mining Calculator

Introduction

MiningCalc is an extremely easy to use, templated, mining profitability calculator, that supports a wide variety of altcoins. In order to set it up, all you need to do is clone the repo to a web server that can host static files (including GH Pages, or my project SkyPages), then edit the template.js file to configure a few variables specific to your currency.

Templating Setup

In order to get MiningCalc set up for your cryptocurrency, simply set the below variables in template.js

coin - The name of your cryptocurrency (ex. Bitcoin)
symbol - The symbol for your cryptocurrency (ex. BTC)
decimalPlaces - How many decimal places you want the final output to be
getBlockReward - Function that returns the current block reward (see template.js for examples)
getDifficulty - Function that returns the current network difficulty (see template.js for examples)
getExchangeRate - Function that returns the current coin to BTC exchange rate (see template.js for examples)
Thanks for reading!

MiningCalc is designed to be easy to configure for new altcoin creators, pool operators, or anyone else who needs a simple calculator. Messages and pull requests are always appreciated if you have any suggestions. In addition, this project wouldn't have been possible without an excellent CodePen template from ehermanson, so definitely check that out!

About

A simple, easy to template, mining profitability calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published