The website Minergate has a feature called web mining; where simply having a browser tab open that includes the following code enables mining of one of a number of chosen Cryptonote currencies.
However the speed is a fraction (reporting less than 1 h/s) of what you would get using the same number of cores via a miner such as Claymore's.
Would scripting a miner like Claymore's into a code similar to the following even be possible? Perhaps if you ran it on a VPS or what not?
Here is the webmining script from Minergate:
Thanks!
Strato
That's not the actual script, and JS doesn't allow access to CPU instructions, so not really.
I've used the webminer too; it delivers about 1H/s on an i5, while using all the available CPU power. What's even more interesting though, is that when you try to run it from a mobile phone (Samsung Note 3) it manages about 2-3H/s!!! I'm a bit confused, but I think that's it's a JS routine that does only the computation work and another routine takes the shares for it.
Just speculating of course, I can't say for sure.
The JS is completely emulated - the hashrate you get may as well be the output of a random number generator.
Interesting, but Wolf0, I also noticed that while only 1 h/s is realized, the browser does in fact cause the cpu to jump accordingly. I even bound the browser to cpus, i tried 2 cpus, and it maxes out 2 cpus.
So that said, it's doing something.... What though?
Strato
how can i embed this on my site and make the script use my account?