7 ms·
XMR mining app, built with Vue.js, D3 and CoinHive
- babaganoosh89 9y agoWouldn'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.
- stormtv 9y agoThere are ways to connect the miner to other pools, a desktop miner would be more effective. https://github.com/cazala/coin-hive-stratum https://github.com/cazala/coin-hive-stratum
- ralmidani 9y agoDoes 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/sneakier-more-persistent-drive-by-cryptomining-comes-to-a-browser-near-you/ https://arstechnica.com/information-technology/2017/11/sneak...
- lojack 9y ago> Does the value of XMR mined exceed the electricity consumed by the app? Extremely unlikely. Even GPU mining with good hardware cuts it close with energy consumption depending on your energy costs.
- lawn 9y agoActually both GPU and CPU mining is generally profitable compared to the energy costs, of course depending on your rate. But then there's the cost of the hardware which may be difficult to recoupe.
- pfisch 9y agoThis is just not true for basically all of 2017 with the rate at which the value of all the coins has been rising. Especially if it is your desktop on off hours so the hardware is essentially a sunk cost.
- deleted 9y ago[deleted]
- icelancer 9y ago> Extremely unlikely. Even GPU mining with good hardware cuts it close with energy consumption depending on your energy costs. What? This is seriously wrong. ROI fluctuates between 200-600% for XMR and its derivatives.
- lojack 9y agoI don’t currently mine, but everything I’ve been reading has roughly 2/3rds of your profit going towards electricity. Regardless, I find it hard to believe CPU mining using JavaScript in a browser is even remotely energy efficient.
- icelancer 9y agoAt 12c/kwh with a Radeon RX Vega56 consuming 200W and a hashrate of 2000 h/s, mining XMR currently yields has a 61% profit margin; it's 79% ROI if you are getting free power. This is not the most power efficient setup (as I said, there are far, far more efficient cards, especially when run in tandem) but it is the most sought-after card due to density. Regardless, it's exceptionally profitable to mine if you already own the card. JS mining only takes a slight performance hit compared to native, actually; asm.js and others provide very good results since the problem is memory-hard, not computationally bound. It is definitely energy efficient and worth doing if all you care about is ROI vs. marginal utility rates in most American cities (perhaps not some of California). Nicehash built their business model around exactly that, which is the real reason people like libraries like the OP's - it's a distributed way to get people mining, not for the individual person themselves.
- bradoyler 9y agoRadeon Vega64 is insane. Sold out everywhere I’ve seen.
- icelancer 9y agoThe 64s are occasionally available, the 56s, no shot. Glad I got 7 close to MSRP when I did. There are actually more power efficient alternatives that hash better per dollar assuming that the price of a Vega is $600+, which it easily is. Just requires some heavy lifting.
- wyldfire 9y agoIn general, any PoW-cryptocoin quickly reaches an equilibrium with its costs. Changes in the difficulty, changes in the exchange rate (usually as a function of changing demand), changes in availability of current/next-generation mining hardware will destabilize this equilibrium temporarily. The answer to the question "should I mine [coin x]" in order to make money is usually "no". You should mine that coin because you care about the network's security and decentralization or not at all. If you have access to next-generation mining hardware or cheaper-than-normal electricity, you might have a case for "yes". Or, as you indicate, if you have a malicious way to run the miner or mostly-malicious-"not-too-clearly-disclosed-to-end-user", that is almost certain to make money.
- DigitalJack 9y agoThere aren't enough altruistic people to make the blockchain trustworthy. Profit motive is the entire driving force behind the trust model of bitcoin, et al.
- Callmenorm 9y agoI think you're both partially right. Profit motive is what drives people, but profit margins will be shrunk so in an established mining ecosystem like bitcoin you probably aren't going to make any profit (after accounting for opportunity costs).
- adventured 9y agoYou've got that exactly backwards. The profit motive being predictable is what every market based economy heavily counts on. Which is to say, most of the world's economic activity relies upon the profit motive as the foundation of trust. Hundreds of trillions in global wealth and $100 trillion in annual economic output are powered by very predictable self-interest. You can build trust networks around it and you can build regulations based on it, precisely because it's extraordinarily predictable and universal to the extent necessary for the whole system to function with billions of participants.
- joshschreuder 9y agoThat's not necessarily true, assuming you believe the value of what you're mining will at some point in the future be worth more than it is now. I mined some Ethereum earlier in the year, and was making around $6 AUD a day. I stopped as I was unhappy with the effects of proof of work on electricity supply and the wear on my GPU, but the amount I mined at current market price is worth around 3x that, making it quite a bit more profitable. Of course, if you believe the value will increase at some future point you're most likely better off just buying the coin and hodling it :)
- UncleEntity 9y ago> Does the value of XMR mined exceed the electricity consumed by the app? There seems to be a bit of disagreement over this. Let me ask it another way, would it be worthwhile for someone too lazy to replace the dead battery in their thermostat to mine some coins to add a little heat to their apartment and make a couple bucks in the process?
- phoyd 9y ago>Does the value of XMR mined exceed the electricity consumed by the app? Yes: https://whattomine.com/coins https://whattomine.com/coins Actually, I'm using a computer mining Moneros at 2000H/s in a closed room to help dry a damp wall. The rig converts 250W Power to heat (for the wall) and produces Moneros worth $200/m - leaving me $100 after paying for electricity the computer and the air dehumidifier consumed.
- bradoyler 9y agoThx y'all. Im getting about 500 H/s right now.
- pvtmert 9y agohn hug on its best
- hyades 9y agohardware?
- pointytrees 9y agoIt's from folks visiting his site. (Linked.)
- teej 9y agoThis is giving me major idle/incremental game vibes. This could so easily be converted into an interesting incremental experience.
- ptk921 9y agoSo this is how paperclips makes their moolah... ^_^
- bringtheaction 9y agoThis one? http://www.decisionproblem.com/paperclips/index2.html http://www.decisionproblem.com/paperclips/index2.html
- bradoyler 9y agoAgree that some sort of game theory is the next step.
- noahdesu 9y agoThis 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 https://github.com/noahdesu/xmonarch
- bradoyler 9y agoTY. Will take a look.
- davmar 9y agomonero is where it's at imho
- mv4 9y ago... especially if Coinbase decides to add XMR as their 4th menu item
- deleted 9y ago[deleted]
- icelancer 9y agoSeems like an odd choice. It's specifically a privacy coin, not meant to be centralized.
- Casseres 9y agoAdding a fiat on/off ramp doesn't make a coin centralized. As for privacy, that's okay too. Once you send Monero to your own wallet, Coinbase has no idea what you do with it afterwards, just like withdrawing cash from a bank.
- zzbzq 9y agoBCH expected to be 4th since they made written commitment about letting people get at their forked BCH. Adding an order book along with it is common sense.
- bradoyler 9y agoAgreed. ASIC resistance + anonymity are killer features for any alt-coin, rn.
- deleted 9y ago[deleted]
- gregman1 9y agoIt is not a 'mining app' but a front-end nobody needs. Is there any coinhive alternative? That would be a progress.
- s14ve 9y agohttp://xmr.cpufan.club/ http://xmr.cpufan.club/ It should take only 1% of profit instead of CoinHives 30%.
- Mikushi 9y agohttps://monad.network/ https://monad.network/ Coming up pretty nicely, been working with them for some time.
- pr0gramm 9y agoSadly, like all the other clones, they just "stole" the Cryptonight WASM implementation from Coinhive. Think about it: they're hosting a WASM blob on their site for which they don't have the source code and can't tell with certainty what exactly it's doing. With so many faces on their team page (and a dog!), you'd think they'd have the resources and competence to build something of their own.
- Avamander 9y agoAre there any that let me specify what percentage to give to the devs?
- davidwihl 9y ago
- kpenc 9y agoI hope at your day job, if you are a programmer at all, you don't write commit messages like the ones in the repo.
- kjrose 9y agoFunny 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.