<p>Well, lets look at the outcomes for the user:</p>

<ul>
<li>your user burns hundreds of times their normal power usage mining, thousands of dollars of their money goes into their power bill</li>
<li>your user potentially ruins their hardware (Mac hardware will die, there's no question of that)</li>
<li>your users computer becomes sluggish and unresponsive</li>
<li>their virus protection removes the miner, as they're almost always marked as malware</li>
</ul>

<p>The outcomes for you:</p>

<ul>
<li>you make a couple of cents a day</li>
<li>you look like a complete dirtbag to your users</li>
</ul>

<p>Doesn't seem worthwhile to me. Just ask them for donations if you really think your software deserves financing. </p>

CC BY-SA 3.0
2013-10-20T05:29:56.243Z
2013-10-20T05:29:56.243Z
Anonymous
<p>If you are informing users about this in a user agreement, then this is legal (but I am not a layer). Another thing is that most of the users are not reading what is written in the agreement and just assume that everything is ok. Read <a href="http://www.foxnews.com/tech/2010l/04/15/online-shoppers-unknowingly-sold-souls/" rel="nofollow">this</a> as an example. So if later they figure out that they were screwed up they most probably will be really mad.</p>

<p>Another thing is that you will gain absolutely nothing, except of bad reputation. Most probably no one would use your software because there will be tons of other apps which are doing completely the same without using 98% of CPU or GPU.</p>

<p>When I told that you will get absolutely nothing - this is because with a current hash rate, there is no point of mining with CPU or GPU.</p>

<p>If you think that your software would be so cool, that millions of user would use it - just ask for donation and you will get much more from people who would be happy to give you money.</p>

CC BY-SA 3.0
2013-11-25T17:13:53.093Z
Link down..............
Pacerier
CC BY-SA 3.0
2013-10-20T05:50:37.750Z
2013-10-20T05:50:37.750Z
Salvador Dali
<p>Sounds pretty shady to me. There have been some malware schemes that do this, though usually users are not being informed on what's going on.</p>

<p>If you do decide to do this, make sure you clearly tell people what you are doing. Don't bury this in the bottom of some user agreement or something.</p>

<p>You'd probably protect your reputation by offering a program without the embedded Bitcoin miner. But why would any user choose to download the Bitcoin embedded miner?</p>

<p>In general, taking over the GPU and processes of another user for your own benefit seems ethically questionable.</p>

<p>Now something that might improve your reputation would be to offer to donate the mined Bitcoins to a charity of your choice. This way, people who download the program will know that you are just trying to help out.</p>

<p>As long as you inform the user of what you are doing, however, and they agree to it, there shouldn't be any legal implications. </p>

CC BY-SA 3.0
2013-10-20T09:01:50.527Z
2013-10-21T08:21:43.363Z
2013-10-21T08:21:43.363Z
BTC_Hamster
<p>The problem is that it would be a very inefficient way for users to pay you; sort of a very indirect way of paying your electricity bill. With a lot of bandwidth consumed to manage your bot farm.</p>

<p>Micro-transactions would work better.</p>

CC BY-SA 3.0
2013-10-20T07:37:49.880Z
2013-10-20T07:37:49.880Z
LateralFractal
<p>So say I am writing an open source program, or any program really, and I embed a Bitcoin miner in the code, so that when people run my program, they would be earning Bitcoins for me. </p>

<p><em>Would this be legal?</em> </p>

<p><em>Would I get sued for doing this?</em> </p>

<p>The reason why this is important is because I love free and open source software, the only problem being that this doesn't pay the bills. I fully intend to at least inform the users of my program that there is a Bitcoin miner embedded in the program, if not also make a non-miner version available.</p>

CC BY-SA 3.0
2013-10-20T05:17:30.217Z
Part of me wants to slap you in the face for this idea, the other part of me want's to come over and shake your hand for the idea. AND for asking versus just doing it. I guess if you would program your own miner you could... I believe all miners available are GPL. But then there's the morals. Plus the fact that most countries are watching bitcoins closely. And if you have a large number of bot miners, some pools ban you for the botnet... So I'm not going to give an official answer. Morality and legality are now always one and the same.
Is it worth possibly having the scorn of BTC against you?
Joe White
<development><legal>
Is it legal to embed a miner in another open source program for benifit of the programmer?
user7172
# Is it legal to embed a miner in another open source program for benifit of the programmer?

(Asked by: username_0 on 2013-10-20)

So say I am writing an open source program, or any program really, and I embed a Bitcoin miner in the code, so that when people run my program, they would be earning Bitcoins for me.

*Would this be legal?*

*Would I get sued for doing this?*

The reason why this is important is because I love free and open source software, the only problem being that this doesn't pay the bills. I fully intend to at least inform the users of my program that there is a Bitcoin miner embedded in the program, if not also make a non-miner version available.

**Tags:** development, legal

> **Comments:**
> **username_1**: Part of me wants to slap you in the face for this idea, the other part of me want's to come over and shake your hand for the idea. AND for asking versus just doing it. I guess if you would program your own miner you could... I believe all miners available are GPL. But then there's the morals. Plus the fact that most countries are watching bitcoins closely. And if you have a large number of bot miners, some pools ban you for the botnet... So I'm not going to give an official answer. Morality and legality are now always one and the same. Is it worth possibly having the scorn of BTC against you?  

---

## 4 answers

### Answer by username_2 on 2013-10-20. Score: 6

Well, lets look at the outcomes for the user:

* your user burns hundreds of times their normal power usage mining, thousands of dollars of their money goes into their power bill
* your user potentially ruins their hardware (Mac hardware will die, there's no question of that)
* your users computer becomes sluggish and unresponsive
* their virus protection removes the miner, as they're almost always marked as malware

The outcomes for you:

* you make a couple of cents a day
* you look like a complete dirtbag to your users

Doesn't seem worthwhile to me. Just ask them for donations if you really think your software deserves financing.


---

### Answer by username_3 on 2013-10-20. Score: 2

If you are informing users about this in a user agreement, then this is legal (but I am not a layer). Another thing is that most of the users are not reading what is written in the agreement and just assume that everything is ok. Read [this](http://www.foxnews.com/tech/2010l/04/15/online-shoppers-unknowingly-sold-souls/) as an example. So if later they figure out that they were screwed up they most probably will be really mad.

Another thing is that you will gain absolutely nothing, except of bad reputation. Most probably no one would use your software because there will be tons of other apps which are doing completely the same without using 98% of CPU or GPU.

When I told that you will get absolutely nothing - this is because with a current hash rate, there is no point of mining with CPU or GPU.

If you think that your software would be so cool, that millions of user would use it - just ask for donation and you will get much more from people who would be happy to give you money.

> **Comments:**
> **username_4**: Link down..............  

---

### Answer by username_5 on 2013-10-20. Score: 1

Sounds pretty shady to me. There have been some malware schemes that do this, though usually users are not being informed on what's going on.

If you do decide to do this, make sure you clearly tell people what you are doing. Don't bury this in the bottom of some user agreement or something.

You'd probably protect your reputation by offering a program without the embedded Bitcoin miner. But why would any user choose to download the Bitcoin embedded miner?

In general, taking over the GPU and processes of another user for your own benefit seems ethically questionable.

Now something that might improve your reputation would be to offer to donate the mined Bitcoins to a charity of your choice. This way, people who download the program will know that you are just trying to help out.

As long as you inform the user of what you are doing, however, and they agree to it, there shouldn't be any legal implications.


---

### Answer by username_6 on 2013-10-20. Score: 1

The problem is that it would be a very inefficient way for users to pay you; sort of a very indirect way of paying your electricity bill. With a lot of bandwidth consumed to manage your bot farm.

Micro-transactions would work better.


---

