Hi, I need a script that fetches a coin name from a plain text webpage every 5 minutes. There has to be a coin list defined by user, so when a change in the website's coin is detected it triggers an RPC call to cgminer's API, to an user defined list of lan hosts, with a switchpool command.
Pool login details should be user defined too and asociated to each coin, along with addpool and poolpriority commands.
Idealy the list of pools asociated to each coin with its login details, and the list of hosts IP address would be managed through a simple password protected web interface. This could be done from a config file for testing purposes.
cgminer API:
https://github.com/ckolivas/cgminer/blob/master/API-READMEcgminer version 3.1.1 running on debian linux
By the way the webpage that uses to fetch the coin name will only say something like "WDC" that's it. Only 3 letters representing the coin, no other coding.
Please post or send me an offer for the job.