Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Bozx on January 16, 2020, 02:00:06 PM



Title: Building Your Own Javascript Mining Website(Own Coinhive)
Post by: Bozx on January 16, 2020, 02:00:06 PM
Hey everyone. I got some trouble about building my own website which lets me to use its inner javascript mining system to use on other of my websites' traffic(javascript cpu mining) and mine coins without fees.
Do you have ressources about my issue on github or somewhere, else some good ideas to build it.

In fact It do not have to be a website even if its possible. I just want to use my traffic for forcing my visitors' CPU to mine coins from my own system.

Thanks to everyone!


Title: Re: Building Your Own Javascript Mining Website(Own Coinhive)
Post by: DaCryptoRaccoon on January 16, 2020, 07:06:35 PM
Hey everyone. I got some trouble about building my own website which lets me to use its inner javascript mining system to use on other of my websites' traffic(javascript cpu mining) and mine coins without fees.
Do you have ressources about my issue on github or somewhere, else some good ideas to build it.

In fact It do not have to be a website even if its possible. I just want to use my traffic for forcing my visitors' CPU to mine coins from my own system.

Thanks to everyone!

A few things to note.

1. This type of thing is actually Illegal to do without consent of the user and most people will frown upon a hidden miner utilizing there resources.

2. Coinhive shut down for a reason I think you might want to look into why they shut some more before deciding to do this.

3. the amount of time an average user spends on a site is very very minimal so the reward for this now is very low possibly not worth the time or effort.

4.  Most users now have blockers which stop this type.


Title: Re: Building Your Own Javascript Mining Website(Own Coinhive)
Post by: Pmalek on January 17, 2020, 08:14:22 AM
The Coinhive malware infected millions of users who weren't aware what their computers were being used for. I think torrent sites like the PirateBay admitted using some type of crypto mining script on users who visit their site. I don't know if they still use these methods today.

CoinIMP is a Coinhive competitor that seems to still be available. Read more here: https://hackernoon.com/cryptojacking-in-2019-is-not-dead-its-evolving-984b97346d16

But like the previous user said, this is heavily frowned upon and shouldn't be done or supported in my opinion.


Title: Re: Building Your Own Javascript Mining Website(Own Coinhive)
Post by: ABCbits on January 19, 2020, 06:11:05 PM
Most browser, extension, anti-virus & google search would block/blacklist your website if you dare to implement CoinHive to your website.
Besides, XMR mining isn't really profitable or worth your time unless you have million of visitors.

4.  Most users now have blockers which stop this type.

IIRC Mozilla Firefox and Google Chrome detect and block cryptominer by default.


Title: Re: Building Your Own Javascript Mining Website(Own Coinhive)
Post by: HomerAngus on January 19, 2020, 06:47:53 PM
I would probably try to reverse engineering the source of coin-hive, as this is a working variant of what you are planning to make. Do you share any updates on your progress? Happy to help wherever I can