from Hacker News

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

by bradoyler on 12/18/17, 8:48 PM with 70 comments

  • by noahdesu on 12/18/17, 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 ralmidani on 12/18/17, 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 gregman1 on 12/19/17, 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 babaganoosh89 on 12/18/17, 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 bradoyler on 12/18/17, 10:33 PM

    Thx y'all. Im getting about 500 H/s right now.
  • by teej on 12/18/17, 10:40 PM

    This is giving me major idle/incremental game vibes. This could so easily be converted into an interesting incremental experience.
  • by kjrose on 12/19/17, 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 davmar on 12/19/17, 12:30 AM

    monero is where it's at imho
  • by kpenc on 12/19/17, 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.