11

It is true that mining Bitcoins like this is impossible. (I can't speak for altcoins though.) Let us run through a back-of-envelope calculation based on some facts and assumptions. Network hash rate is 800 000 terahashes per second as of 2016-01-18 [source]. Remember that currently 25 BTC are rewarded every 10 minutes. A modern consumer-grade CPU has 4 ...


4

First off, without the visitor's consent it would be unethical. Besides that, no it is not impossible. In the past there were sites doing that getting a fee for the service and providing the profits to visitors. Having said that it would provide way less than $0.005 per visitor. But with so many visitors it might still worth it. Also this might be of ...


2

I think there are some great answers here, hopefully this isn't too repetitive... First, the metric you gave (2m daily unique visitors) is a great number, but it's not the right one when you're talking about proof-of-work mining. In that world, the relevant metric is more like the number of CPU-seconds you have available to you (a "cycles per second" number)...


1

One of the key aspects of a mining protocol is that the miners should be informed immediately when a new block is confirmed on the network. Otherwise, they will continue working on the old block which would then be useless work. This is why there is not a simple GET/POST protocol for mining. The miners keep a connection open to the pool servers, so that ...


1

You probably want this: http://pastebin.com/ZYMNFAXt It is a BTC miner that works in JS. I took it from bitcoinplus.com I don't think that this is economically feasible though - cpu mining is a total waste - unless you're looking to do something malicious with the code like having others use your tools that also happen to utilize CPU power to mine for ...


1

This kinda thing gets your website put in blacklists. The only way (I know of at least) to mine in the browser is Bitcoin Plus, which actually is just a wrapper around a background Java applet. So you would probably want to make a Java miner and then work off that.


1

Here's a current option for adding mining to your website: https://coinhive.com/


Only top voted, non community-wiki answers of a minimum length are eligible