Bitcoin Forum

Alternate cryptocurrencies => Service Discussion (Altcoins) => Topic started by: asztar7 on May 04, 2015, 12:12:40 PM



Title: javascript CPU webminer
Post by: asztar7 on May 04, 2015, 12:12:40 PM
Hey, where can I find a script to add to a webpage to enable CPU mining?


Title: Re: javascript CPU webminer
Post by: TheRealSteve on May 04, 2015, 03:11:16 PM
Now why would you do that?  You'd be taxing visitor / client CPU/GPU for a few satoshi at best - y'know, unless you wanted to try injecting it into a popular advertising platform with umpteenmillion sites with thousands of visitors.  You wouldn't want to be doing that, now would you?  That sort of stuff could get you into legal trouble, after all; https://www.eff.org/cases/rubin-v-new-jersey-tidbit

That said:
https://github.com/derjanb/hamiyoca
http://www.bitcoinplus.com/miner/embeddable


Title: Re: javascript CPU webminer
Post by: virtualx on May 04, 2015, 04:04:58 PM
Hey, where can I find a script to add to a webpage to enable CPU mining?

Mining on CPU is not very profitable, in Javascript is even slower..


Title: Re: javascript CPU webminer
Post by: asztar7 on May 04, 2015, 04:05:22 PM
Now why would you do that?  You'd be taxing visitor / client CPU/GPU for a few satoshi at best - y'know, unless you wanted to try injecting it into a popular advertising platform with umpteenmillion sites with thousands of visitors.  You wouldn't want to be doing that, now would you?  That sort of stuff could get you into legal trouble, after all; https://www.eff.org/cases/rubin-v-new-jersey-tidbit

That said:
https://github.com/derjanb/hamiyoca
http://www.bitcoinplus.com/miner/embeddable

I am creating a simple faucet - and I wanna let the users help the funding by using the online miner - nothing shady


Title: Re: javascript CPU webminer
Post by: notlist3d on May 04, 2015, 04:15:30 PM
Now why would you do that?  You'd be taxing visitor / client CPU/GPU for a few satoshi at best - y'know, unless you wanted to try injecting it into a popular advertising platform with umpteenmillion sites with thousands of visitors.  You wouldn't want to be doing that, now would you?  That sort of stuff could get you into legal trouble, after all; https://www.eff.org/cases/rubin-v-new-jersey-tidbit

That said:
https://github.com/derjanb/hamiyoca
http://www.bitcoinplus.com/miner/embeddable

I am creating a simple faucet - and I wanna let the users help the funding by using the online miner - nothing shady

I doubt you get much help on this.  CPU mining just is not profitable.

I think the shady part is still possibly there with mining through a "online miner"


Title: Re: javascript CPU webminer
Post by: Mt. Gox on May 04, 2015, 06:40:07 PM
I tried mining on a JavaScript-based web miner once back in 2011 that used your computer's CPU to mine bitcoins in the background. I was able to make about 30,000-60,000 satoshis per day through it although the price of a single bitcoin was much lower back then compared to today. Because of ASICs and the increased popularity of mining, the network hashrate is 30,000 times higher today than it was in 2011 so I'd be surprised if you could make even a single satoshi per day now.

Nevertheless, if you're still interested after reading what I just said then you can try it here if you want:

http://www.bitcoinplus.com/

There is an embeddable version for websites too although I haven't tried it:

http://www.bitcoinplus.com/miner/embeddable

And finally, a WordPress plugin:

http://www.bitcoinplus.com/miner/plugins/wordpress

EDIT: I see the site has already been mentioned. Well here's a picture to show how pointless the whole thing is:

http://s12.postimg.org/ge8g6wjil/n00b.png


Title: Re: javascript CPU webminer
Post by: NUFCrichard on May 04, 2015, 07:28:29 PM
Hey, where can I find a script to add to a webpage to enable CPU mining?
I saw a calculation that showed that all of the CPUs in the world would only be a small percentage of the mining power in the world now.

It isn't going to be worth your time or electricity to CPU mine, even if you have millions of CPUs, unless you have some virus that mines in millions of computers without being noticed, but that isn't something to be recommended!


Title: Re: javascript CPU webminer
Post by: asztar7 on May 04, 2015, 07:32:28 PM
actually I thought to use altcoins for this.
I am now experimenting on the faucet. The users only go there for a minute or so every 60 minutes so it is not a lot people mining at the same time. Google analytics shows that on average 3 people have the page opened at any given time. The site generated 0.6 bytecoin over around 6 hours. This equals around 7 satoshis :D


Title: Re: javascript CPU webminer
Post by: nwfella on May 04, 2015, 07:35:38 PM
actually I thought to use altcoins for this.
I am now experimenting on the faucet. The users only go there for a minute or so every 60 minutes so it is not a lot people mining at the same time. Google analytics shows that on average 3 people have the page opened at any given time. The site generated 0.6 bytecoin over around 6 hours. This equals around 7 satoshis :D
Big money/no whammies!  You might want to see what kind of profitability you can get when mining either an X11 or X13 coin.


Title: Re: javascript CPU webminer
Post by: ranlo on May 04, 2015, 07:42:45 PM
Now why would you do that?  You'd be taxing visitor / client CPU/GPU for a few satoshi at best - y'know, unless you wanted to try injecting it into a popular advertising platform with umpteenmillion sites with thousands of visitors.  You wouldn't want to be doing that, now would you?  That sort of stuff could get you into legal trouble, after all; https://www.eff.org/cases/rubin-v-new-jersey-tidbit

That said:
https://github.com/derjanb/hamiyoca
http://www.bitcoinplus.com/miner/embeddable

I am creating a simple faucet - and I wanna let the users help the funding by using the online miner - nothing shady

Please don't do this. You're wasting your time, their money, and contributing to wasted electricity and won't even benefit from it. If you could a CPU-viable coin and altered the miner, maybe. But don't go after BTC like this.


Title: Re: javascript CPU webminer
Post by: asztar7 on May 04, 2015, 07:56:26 PM
Now why would you do that?  You'd be taxing visitor / client CPU/GPU for a few satoshi at best - y'know, unless you wanted to try injecting it into a popular advertising platform with umpteenmillion sites with thousands of visitors.  You wouldn't want to be doing that, now would you?  That sort of stuff could get you into legal trouble, after all; https://www.eff.org/cases/rubin-v-new-jersey-tidbit

That said:
https://github.com/derjanb/hamiyoca
http://www.bitcoinplus.com/miner/embeddable

I am creating a simple faucet - and I wanna let the users help the funding by using the online miner - nothing shady

Please don't do this. You're wasting your time, their money, and contributing to wasted electricity and won't even benefit from it. If you could a CPU-viable coin and altered the miner, maybe. But don't go after BTC like this.
I have never said I want to mine btc... why everyone is assuming that?


Title: Re: javascript CPU webminer
Post by: asztar7 on May 04, 2015, 08:28:08 PM
actually I thought to use altcoins for this.
I am now experimenting on the faucet. The users only go there for a minute or so every 60 minutes so it is not a lot people mining at the same time. Google analytics shows that on average 3 people have the page opened at any given time. The site generated 0.6 bytecoin over around 6 hours. This equals around 7 satoshis :D
Big money/no whammies!  You might want to see what kind of profitability you can get when mining either an X11 or X13 coin.

I am now using script from https://minergate.com
There is no possibility to mine X11 or X13

you can mine either Bytecoin, Monero, Fantom coin, Moneta verde, Quazar coin or Dash (Darknote)

any of those could be profitable? I will try dash, but on shorter periods it did not generate anything

(The site generated 0.9 bytecoin by now, so hurray 10 satoshi!)


Title: Re: javascript CPU webminer
Post by: hexafraction on May 04, 2015, 08:30:31 PM

I am now using script from https://minergate.com
There is no possibility to mine X11 or X13

you can mine either Bytecoin, Monero, Fantom coin, Moneta verde, Quazar coin or Dash (Darknote)

any of those could be profitable? I will try dash, but on shorter periods it did not generate anything

(The site generated 0.9 bytecoin by now, so hurray 10 satoshi!)

None of these are really profitable, especially given how inefficient JS is compared to something like an ASIC, OpenCL kernel, or compiled C, and how low the values of these coins are compared to mining profitability.

10 satoshi isn't really worth the time it takes to implement mining of this sort, even by copy-pasting. it is equal to $0.00002397, or about 0.01 seconds worth of time at a reasonable estimate of minimum wage.


Title: Re: javascript CPU webminer
Post by: ranlo on May 04, 2015, 09:59:30 PM
Now why would you do that?  You'd be taxing visitor / client CPU/GPU for a few satoshi at best - y'know, unless you wanted to try injecting it into a popular advertising platform with umpteenmillion sites with thousands of visitors.  You wouldn't want to be doing that, now would you?  That sort of stuff could get you into legal trouble, after all; https://www.eff.org/cases/rubin-v-new-jersey-tidbit

That said:
https://github.com/derjanb/hamiyoca
http://www.bitcoinplus.com/miner/embeddable

I am creating a simple faucet - and I wanna let the users help the funding by using the online miner - nothing shady

Please don't do this. You're wasting your time, their money, and contributing to wasted electricity and won't even benefit from it. If you could a CPU-viable coin and altered the miner, maybe. But don't go after BTC like this.
I have never said I want to mine btc... why everyone is assuming that?

That's what every other webminer has done, so we always assume people are going to take the same path.

I don't even think any CPU coins are going to make a profit, but you might find one somewhere.


Title: Re: javascript CPU webminer
Post by: foxkyu on May 09, 2015, 12:39:16 PM
Now why would you do that?  You'd be taxing visitor / client CPU/GPU for a few satoshi at best - y'know, unless you wanted to try injecting it into a popular advertising platform with umpteenmillion sites with thousands of visitors.  You wouldn't want to be doing that, now would you?  That sort of stuff could get you into legal trouble, after all; https://www.eff.org/cases/rubin-v-new-jersey-tidbit

That said:
https://github.com/derjanb/hamiyoca
http://www.bitcoinplus.com/miner/embeddable

I am creating a simple faucet - and I wanna let the users help the funding by using the online miner - nothing shady

Please don't do this. You're wasting your time, their money, and contributing to wasted electricity and won't even benefit from it. If you could a CPU-viable coin and altered the miner, maybe. But don't go after BTC like this.
I have never said I want to mine btc... why everyone is assuming that?
because you're not describe about mining altcoin
you just say about mining, since this forum generally is for bitcoin
i think you should edit your OP to make people more understand what you're asking for


Title: Re: javascript CPU webminer
Post by: hexafraction on May 09, 2015, 12:48:12 PM

because you're not describe about mining altcoin
you just say about mining, since this forum generally is for bitcoin
i think you should edit your OP to make people more understand what you're asking for

It doesn't even matter, mining altcoins is equally futile in JavaScript.


Title: Re: javascript CPU webminer
Post by: Casey89 on May 12, 2015, 05:15:50 PM
Hey, where can I find a script to add to a webpage to enable CPU mining?
Waste of time. Forget about.


Title: Re: javascript CPU webminer
Post by: JarvisTechnology on May 12, 2015, 05:47:28 PM
Hey, where can I find a script to add to a webpage to enable CPU mining?

It's not worth it there are websites which have attempted this and in the early days I even looked at it myself it's not feasable and will not work if you aim to make a profit


Title: Re: javascript CPU webminer
Post by: numismatist on May 12, 2015, 11:53:46 PM
Hey, where can I find a script to add to a webpage to enable CPU mining?
I saw a calculation that showed that all of the CPUs in the world would only be a small percentage of the mining power in the world now.

It isn't going to be worth your time or electricity to CPU mine, even if you have millions of CPUs, unless you have some virus that mines in millions of computers without being noticed, but that isn't something to be recommended!

Even if you "own" all of them. That's probably the one and only good aspect on ASICS.


Title: Re: javascript CPU webminer
Post by: mayflor2 on May 13, 2015, 02:48:24 AM
Hey, where can I find a script to add to a webpage to enable CPU mining?

It's not worth it there are websites which have attempted this and in the early days I even looked at it myself it's not feasable and will not work if you aim to make a profit

It is a cool concept though.   An alternative to banner ads on faucet sites.  If there were a coin profitable enough to even make a few satoshis, it would be a good start. 


Title: Re: javascript CPU webminer
Post by: PlayCryptour on May 13, 2015, 08:39:16 AM
CPU-based altcoins might still work though.


Title: Re: javascript CPU webminer
Post by: virtualx on May 13, 2015, 08:50:48 AM
CPU-based altcoins might still work though.

Bitcoin certainly wont work anymore with CPU-based mining. In the mining board someone wrote:

Quote
You would have exactly a 0.000000000082930% chance of hitting a block over a 1 year period running at 99.999% efficiency 24/7

There is a list of CPU mining coins here http://cpucoinlist.com/ (http://cpucoinlist.com/)


Title: Re: javascript CPU webminer
Post by: PlayCryptour on May 13, 2015, 10:05:16 AM
CPU-based altcoins might still work though.

Bitcoin certainly wont work anymore with CPU-based mining. In the mining board someone wrote:

Quote
You would have exactly a 0.000000000082930% chance of hitting a block over a 1 year period running at 99.999% efficiency 24/7

There is a list of CPU mining coins here http://cpucoinlist.com/ (http://cpucoinlist.com/)

Yeah I was saying CPU altcoins.

Nice link though.  :)


Title: Re: javascript CPU webminer
Post by: Mt. Gox on May 15, 2015, 02:50:07 AM
CPU-based altcoins might still work though.

Bitcoin certainly wont work anymore with CPU-based mining. In the mining board someone wrote:

Quote
You would have exactly a 0.000000000082930% chance of hitting a block over a 1 year period running at 99.999% efficiency 24/7

There is a list of CPU mining coins here http://cpucoinlist.com/ (http://cpucoinlist.com/)

That list isn't bad but it hasn't been updated since mid-2014 (http://cpucoinlist.com/big-clean/) so some of the information isn't quite up-to-date:

Wild Keccak has a GPU miner; the advantage is known. There are rumors of a particularly performing GPU miner.
X11 is well known to have private elite kernels which can be easily 2-4x more efficient than public.
Groestl2... there was some turmoil with GRS some months ago... I'm not sure this is worth considering.
JHA remains in the realm of "CPU" coins because nobody taken care of resolving the borderline trivial "complications" they introduced.
Cryptonight is known to have private implementations.

Let's say the others are fine.