I need code in JavaScript or C/C++ a function that allows me to get the difficulty in real time via Internet of a few coins for after i can display it in a dialog box or window.
Anyone have? Can facilitate me? From already thank you very much!
not easy, you would need to have a daemon running for each coin with each its full blockchain
the other option is to scrape it off pool websites with a crawler daemon
both cases require a hefty amount of maintenance and initial research also depending on how many altcoins you want to include.
i know, i was gona write something to mine during short profit windows of a selection of 130 scrypt coins, i found zeit when i was collecting a list of pools for the first coin. my selection of coins consisted of only coins available on an exchange with an api, had to research each coin from the market list of cryptorush, poloniex and cryptsy.
if you pay me, i will build your idea.