<p>I did this, actually! In terms of disclosure, @eric allam is absolutely correct, above; you should let your users know that's going on, at a minimum, and ideally have some sort of "Start mining" button they can click to have an explicit opt-in type procedure. That said, it's wildly unlikely to generate a profit unless you have a huge base of users and are providing some sort of content (a game, streaming music, etc.) that they would want to stick around for. </p>

<p>I started <a href="https://allmine.io" rel="nofollow noreferrer">(Let's) All Mine</a> as a sort of experiment (to raise money for grad school) inspired by <a href="https://en.wikipedia.org/wiki/The_Million_Dollar_Homepage" rel="nofollow noreferrer">The Million Dollar Homepage</a>, thinking that a site that is <em>only</em> about mining would be a curious thing users might want to be engaged with, similar to how that site was only a site of ads. I also thought it was a low bar for users to engage with, considering they can run it in the background on their browser while they're doing other stuff. The reality, though, is that I'm asking users to give up some fraction of their CPU, which, even though most users aren't using nearly all of it, is an ask. Also, it is very hard to get users to stay on a particular web page; given short attention spans and the habit of closing pages when we're done, it takes a special kind of user to stick around and mine for a while. And that's really what it takes: Coinhive's own site says with 10-20 "active users" (which I interpret to mean "users who are consistently mining 24 hours/day"), you can expect $30-40 per <em>month</em>. Maybe that covers your hosting and domain costs, maybe it doesn't, but you're not walking away with a whole lot. Finally, there are dedicated mining pools that reward users with some amount of currency depending on their contributions; what I'm asking for is a donation of time + resources, so it's not as palatable.</p>

<p>In any case, for my project in particular, it was exciting to make something in a weekend that was functional and get it out there. I've had a bunch of people stop by and mine for a minute or two, and the rare few miners that stay for a while, but I chalk it up to a learning experience. You have to get the incentives right to get users to come, and stay.</p>

CC BY-SA 3.0
2017-12-28T19:08:59.930Z
2017-12-28T21:55:08.453Z
2017-12-28T21:55:08.453Z
Will Jobs
<p>I know that CPU mining wouldn't pay for electricity bill, but what if some sort of CPU miner was deployed to a website? Similarly to CoinHive with Monero. Would such mining make sense? 
I started mining Monero with CoinHive on my website today.</p>

<p>I did a little research on slushpool's mining proxy. I wanted to deploy it on a server to be able to mine on non-supported mining tools. I had no luck with that - my shares were always REJECTED.</p>

<p>I'm planning to do the same research with ETH. Would such approach make sense on any other currency than Monero? </p>

CC BY-SA 3.0
2017-11-02T15:32:31.607Z
Other than the ethical (and legal) implications of surreptitiously running mining software on other peoples computers, mining ETH using a CPU is just not at all possible anymore. Also, there is an [Ethereum answer to mining with CPU over at the Ethereum SE](https://ethereum.stackexchange.com/questions/2325/is-cpu-mining-even-worth-the-ether)
Eric Allam
<ethereum><javascript><monero><proxy><minerd>
Coinhive for bitcoin/ethereum
Heisenbug
# Coinhive for bitcoin/ethereum

(Asked by: username_0 on 2017-11-02)

I know that CPU mining wouldn't pay for electricity bill, but what if some sort of CPU miner was deployed to a website? Similarly to CoinHive with Monero. Would such mining make sense?
I started mining Monero with CoinHive on my website today.

I did a little research on slushpool's mining proxy. I wanted to deploy it on a server to be able to mine on non-supported mining tools. I had no luck with that - my shares were always REJECTED.

I'm planning to do the same research with ETH. Would such approach make sense on any other currency than Monero?

**Tags:** ethereum, javascript, monero, proxy, minerd

> **Comments:**
> **username_1**: Other than the ethical (and legal) implications of surreptitiously running mining software on other peoples computers, mining ETH using a CPU is just not at all possible anymore. Also, there is an [Ethereum answer to mining with CPU over at the Ethereum SE](https://ethereum.stackexchange.com/questions/2325/is-cpu-mining-even-worth-the-ether)  

---

## 1 answers

### Answer by username_2 on 2017-12-28. Score: 2 | Accepted answer

I did this, actually! In terms of disclosure, @username_1 username_1 is absolutely correct, above; you should let your users know that's going on, at a minimum, and ideally have some sort of "Start mining" button they can click to have an explicit opt-in type procedure. That said, it's wildly unlikely to generate a profit unless you have a huge base of users and are providing some sort of content (a game, streaming music, etc.) that they would want to stick around for.

I started [(Let's) All Mine](https://allmine.io) as a sort of experiment (to raise money for grad school) inspired by [The Million Dollar Homepage](https://en.wikipedia.org/wiki/The_Million_Dollar_Homepage), thinking that a site that is *only* about mining would be a curious thing users might want to be engaged with, similar to how that site was only a site of ads. I also thought it was a low bar for users to engage with, considering they can run it in the background on their browser while they're doing other stuff. The reality, though, is that I'm asking users to give up some fraction of their CPU, which, even though most users aren't using nearly all of it, is an ask. Also, it is very hard to get users to stay on a particular web page; given short attention spans and the habit of closing pages when we're done, it takes a special kind of user to stick around and mine for a while. And that's really what it takes: Coinhive's own site says with 10-20 "active users" (which I interpret to mean "users who are consistently mining 24 hours/day"), you can expect $30-40 per *month*. Maybe that covers your hosting and domain costs, maybe it doesn't, but you're not walking away with a whole lot. Finally, there are dedicated mining pools that reward users with some amount of currency depending on their contributions; what I'm asking for is a donation of time + resources, so it's not as palatable.

In any case, for my project in particular, it was exciting to make something in a weekend that was functional and get it out there. I've had a bunch of people stop by and mine for a minute or two, and the rare few miners that stay for a while, but I chalk it up to a learning experience. You have to get the incentives right to get users to come, and stay.


---

