I recently open Bitcoin Pie, a site that compares crypto-currencies.
Given the exchange rate in BTC, I would like to add another column that tells "relative mining profitability", regardless of the hardware used.
So, if at a given moment, BTC mines at difficulty X, NMC at Y, and FooCoin at Z, with the conversion rates to BTC being 1, N_BTC, and F_BTC respectively, just comparing X, Y*N_BTC, and Z*F_BTC should give an indication of which one a rational miner should mine.
What is a good number to use in the difficulty column? Where are the APIs for it? Is it just plain "difficulty", or is it some other number?
I'm not sure how to take merged Namecoin mining into account here. Any ideas?
CPU and GPU coins should not be measured on the same scale.