Bitcoin Forum
October 22, 2018, 02:26:20 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: [ANN][CALCULATOR] PHP Mining Income Calculator - MIT License, API built-in  (Read 517 times)
Sr. Member
Offline Offline

Activity: 280
Merit: 250

Bitnation Development Team Member

View Profile
April 21, 2014, 08:21:18 AM

Hi guys, I've released a mining profit calculator written in PHP. It can be used as a front-end to a website with a simple templating system (as shown here on my X11 profit calculator site), and provides a built-in JSON API. It supports two types of data collection - daemon RPC and external Abe-based block explorers for those of you who want to host it on a service that doesn't provide you the ability to run the cryptocoin daemons themselves. Both configuration options are given in the example config files.

It also has full Google Analytics support for the web front-end built-in.

It also has fully configurable data caching to avoid overburdening either local or wide network connections.

Portable to any coin

It's a pretty simple process to add a new coin... Just add the new coin to the app's main configuration file configure an adaptor and exchanges in the config files, implement a SubsidyFunction class for the coin (can easily be ported from the coin's original source as shown by the examples for Hirocoin, Darkcoin and Limecoin). It's all in the documentation anyway.

Use cases

This software could be used very easily for profit-switching multipools as it contains a built-in API. You can do this by configuring separate instances for each different algorithm, and configuring each instance with the subsidy functions and daemon RPC login information for every coin on your list. Just use the GET parameter fmt=json to get the output in machine-readable format. It will respond with a "Content-type: application/json" header in this case.


Here's some examples using my X11 calculator:

1Mh/s Web Front End

1Mh/s API

300kh/s Web Front End

300kh/s API
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!