An app to calculate profit per hour of each mining rig and the time required to get the specified amount of Bitcoins. The Bitcoin to USD exchange rate is taken from the Coindesk API. The power consumption, energy rate, and hashrate of each miner is taken from supplied CSV files.
The project was the runner up in the HYL Summer 2021 Hackathon.
- Problem Set - the problem set document
- MiningSetup.csv - contains hashrate and wattage of mining rigs
- EnergyRates.csv - contains the energy rates
- src - contains all the source code
- JDK 11 or above
- Maven 3.6.3 or above
-
Clone the repository on your machine
-
Run the below command from the repository's root directory to launch the GUI
$ mvn exec:java -Dexec.mainClass="ca.hackyourlearning.MineGUI"