XMR mining app, built with Vue.js, D3 and CoinHive

by bradoyleron 12/18/2017, 8:48 PMwith 70 comments

by noahdesuon 12/18/2017, 10:54 PM

This is really cool. I didn't know about CoinHive. It looks like it's a sort of profit sharing setup with CoinHive, who provides all the technical bits.

Another option is to build your own. I published one of the more unapproachable aspects, which is an Emscripten-compiled implementation of the Cryptonight hash function [0]. One could slap a basic WebSocket proxy on top of existing mining server, and the adding the coordination logic in Javascript in the client.

[0]: https://github.com/noahdesu/xmonarch

by ralmidanion 12/18/2017, 9:06 PM

Does the value of XMR mined exceed the electricity consumed by the app?

There are already malicious websites using hidden windows to mine XMR, but to the benefit of the person in control of the site rather than the people who pay the electricity bills:

https://arstechnica.com/information-technology/2017/11/sneak...

by gregman1on 12/19/2017, 6:33 AM

It is not a 'mining app' but a front-end nobody needs.

Is there any coinhive alternative? That would be a progress.

by babaganoosh89on 12/18/2017, 9:01 PM

Wouldn't a user mining for themselves use a desktop program miner? Coinhive has the overhead of running in a browser and takes 30% of the haul.

by bradoyleron 12/18/2017, 10:33 PM

Thx y'all. Im getting about 500 H/s right now.

by teejon 12/18/2017, 10:40 PM

This is giving me major idle/incremental game vibes. This could so easily be converted into an interesting incremental experience.

by kjroseon 12/19/2017, 3:58 PM

Funny side question. Is there any crypto currency that it’s worth mining as a non consortium these days? I used to do bitcoin way back in the day but I’m curious if any of the other currencies are worth enough to make it worthwhile.

by davmaron 12/19/2017, 12:30 AM

monero is where it's at imho

by kpencon 12/19/2017, 10:28 AM

I hope at your day job, if you are a programmer at all, you don't write commit messages like the ones in the repo.