blbruegg / cryptonote-proxy

Proxy Mining Control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proxy Mining Control

cryptonote-proxy

switch

Support: https://discord.gg/mdkP3qu

Windows Installation Guide

cryptonote-proxy is a node.js program written by Seb Green that acts as a link between cryptonight mining software and the pool. Typically it is used by most users to quickly change pools without needing to restart their mining software. It can be used for any pool requiring the cryptonight algorithm (most cryptonote coins use this algorithm).

A stratum-capable cryptonight mining software (eg. xmrstak, xmrig, cast-xmr etc.) is required to make use of cryptonote-proxy. When in doubt, any third-party mining software (i.e. not the one that came with your coin's daemon or wallet), is a stratum-capable miner.

This guide is written with Debian/Ubuntu Linux in mind. However, it can be used for any Linux distro, by substituting the package manager-specific commands with the ones used by your distro.

1. Download and install the latest nodejs version from https://nodejs.org/en/

switch

2. Download and install Git for Windows - https://git-scm.com/download/win

During package installation, deselect the both options as shown (we don’t need that)

switch

Use Git from Windows Command Prompt

switch

Then everything else, is just next, next, next and install.

Now open command prompt by going Search, type cmd, enter

git clone https://github.com/blbruegg/cryptonote-proxy.git

switch

cd cryptonote-proxy

switch

Cd to the cryptonote-proxy source directory and run npm update

npm update

switch

Go to directory of cryptonote-proxy, open config.json and edit the pool settings.

switch

Save the config.json

To run the proxy, double click run.sh

switch

At this point of time, you can open the browser and the address would be http://localhost:2350

If you are opening from another computer within the local network (eg. 192.168.1.x network),

Use http://192.168.1.77:2350 (If your proxy server IP is 192.168.1.77) If you can see this page, congratulations!

switch

switch

Now we have to configure miner config to use proxy server. For example i’m using XMRIG in this case.

Now run the miner.

switch

One of the pool should be selected by default. Click on whichever pool you want to mine on and start the your miner.

Until you close cryptonote-proxy, you can switch between pools without shutting down your miner or even add new pools to config.json.

Now you are able to enjoy the switching from coin to coin with just 1 single mouse click.

That’s it!

Linux Installation Guide

1. Installation of the required software.

If you haven't updated your linux install in a long time (or are running into errors in the next few steps), it is a good idea to update/upgrade your system:

$ sudo apt-get update
$ sudo apt-get upgrade

Next we need to install git, node.js, and nano.

$ sudo apt-get install git nodejs nano

Node.js is required for cryptonote-proxy to work.

Git is a convenience, and will make this guide a lot easier to follow.

If you do not wish to install git, you'll have to download and extract the cryptonote-proxy manually from https://github.com/blbruegg/cryptonote-proxy

Nano is simply an easy-to-use console-base text editor. If you are running a desktop version of Linux or have a Bash on Windows installation of Linux, you can skip installing this.

We can now clone the latest version of cryptonote-proxy from github and install its dependencies using the node.js package manager (npm):

$ cd ~

$ git clone https://github.com/blbruegg/cryptonote-proxy.git

$ cd cryptonote-proxy

$ npm i

Replace "cd ~" with your preferred install directory.

Git will create a sub-directory under this directory. If there are no errors so far, then you have successfully installed cryptonote-proxy.

switch

2. Configuring your 'cryptonote-proxy'

Copy the example config file, and open it up in nano (or your favorite text editor):

$ nano config.json

switch

For Bash on Windows Users: you can find your linux rootfs at: C:\Users\USERNAME\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_11erwerewfef\LocalState\rootfs
However, it is not recommended that you edit files in your Linux rootfs directly from Windows.

This is due Windows programs not handling the extra permission features used by Linux correctly (Editing Window’s file from within Linux is fine).

To use Window-based text editing software, it is better to copy config.json to your desktop, edit it.

Then copy it back over to your linux rootfs (e.g. “$ cp /mnt/c/USERNAME/Desktop/config.json .”).

If you do edit the file directly from Windows, you’ll need to run “$ chmod +rw config.json” to reset the file permission correctly – don’t turn this into a habit or it’ll get messy quick!

Inside your config.json, you'll see a couple of options and a list of sample pools, which you'll have to replace with your own. Leave the option for "workerport" and "httpport" alone for now.

Under the "pools" option tree you'll see "userA" and "userB". You can change "userA" and "UserB" to whatever you want.

If you do not have a multi-rig setup or not planning on connecting to two different pool at the same time, you can delete the entire tree under "userB".

Each pool has an entry that looks like this:

{ "symbol":"Graft",

"name":"GAhmkFwdUqLW6cKUwjH44scujPpb2kS4yWSrLhSYAj1zdLXkvsnUmrFTSFJ45sAi1AY1eN1rs4N6QQbGxxcAGjndMyrUMi4",

"host":"graft.smartcoinpool.com",

"port":"3934",

"url":"https://graft.smartcoinpool.com",

"api":"https://graft.smartcoinpool.com/api/stats" },

Configuring this is fairly straightforward if you have used mining software before.

"symbol" is the name of your coin. You can use ticker symbol, full name, pool name, or whatever you like.

One of these can be set to the "default" option above, which will auto-select that pool when you start cryptonote-proxy.

"url" is the url of the pool (for example: https://graft.smartcoinpool.com). If the pool supports it, this will also autofill your wallet info in its stat tracker.

"api" is the pool api where your proxy pull to display additional stats (for example: https://graft.smartcoinpool.com/api/stats)

Save the file once done (Press Ctrl-X in nano to exit and save).

3. Configuring your mining software.

If the proxy is being run on the same machine as the miner: Point your pool address to "localhost:2349" set "UserA" (or whatever username you defined in the proxy) as your user/wallet address Password is used to identify your worker in cryptonote-proxy.

In xmr-stak, your config.txt should have something like the following entry under "pool_list":

{ "pool_address" : "localhost:2349", "wallet_address" : "userA", "pool_password" : "myRig1", "use_nicehash" : false, "use_tls" : false, "tls_fingerprint" : "", "pool_weight" : 1 },

Any number of mining instances can be pointed to cryptonote-proxy.

If you're connecting your miner from a different machine, replace "localhost" with the ip of the machine running cryptonote-proxy.

4. Running/Using

start cryptonote-proxy:

$ node proxy.js

Open up your browser to "localhost:2350" if cryptonote-proxy is located on the same machine, otherwise, replace localhost with the ip of the machine cryptonote-proxy is being run on.

Enter “UserA” (or whatever you set it to) and hit load and you should see something similar to the screen below:

http://localhost:2350

switch

switch

Now we have to configure miner config to use proxy server. For example i’m using XMRIG in this case.

Now run the miner.

switch

One of the pool should be selected by default. Click on whichever pool you want to mine on and start the your miner.

Until you close cryptonote-proxy, you can switch between pools without shutting down your miner or even add new pools to config.json.

Now you are able to enjoy the switching from coin to coin with just 1 single mouse click.

That’s it!

Smartcoinpool CryptoNight Pool List

CryptoNight Dero Mining Pool: https://dero.smartcoinpool.com/ Geem Mining Pool: https://geem.smartcoinpool.com/ Beldex Mining Pool: https://beldex.smartcoinpool.com/

CryptoNight v8 Graft Mining Pool: https://graft.smartcoinpool.com/ Pyrex Mining Pool: https://pyrex.smartcoinpool.com/ Monero Mining Pool: https://monero.smartcoinpool.com/ Safex Mining Pool: https://safex.smartcoinpool.com/

CryptoNight v7 Mutex Mining Pool: https://mutex.smartcoinpool.com/

CryptoNight Heavy Loki Mining Pool: https://loki.smartcoinpool.com/ Ryo Mining Pool: https://ryo.smartcoinpool.com/ Niobio Mining Pool: https://niobio.smartcoinpool.com/ Koson Mining Pool: https://koson.smartcoinpool.com/ Ombre Mining Pool: https://ombre.smartcoinpool.com/

CryptoNight Heavy-Saber BitTube Mining Pool: https://bittube.smartcoinpool.com/

CryptoNight Heavy-Haven Haven and BLOC.money merged Mining Pool: https://blochaven.smartcoinpool.com/ Saronite Mining Pool: https://saronite.smartcoinpool.com/ Italo Mining Pool: https://italo.smartcoinpool.com/

CryptoNight XTL Stellite Mining Pool: https://stellite.smartcoinpool.com

CryptoNight Light v1 Aeon Mining Pool: https://aeon.smartcoinpool.com/ ArQmA and Iridium Merged Mining Pool: https://arqidium.smartcoinpool.com/ Triton and Iridium Merged Mining Pool: https://triton.smartcoinpool.com/ Bitsum Mining Pool: https://bitsum.smartcoinpool.com/ BitcoiNote Mining Pool: https://bitcoinote.smartcoinpool.com/ Lumeneo Mining Pool: https://lumeneo.smartcoinpool.com/ Tritanium Mining Pool: https://tritanium.smartcoinpool.com/

CryptoNight Pico TurtleCoin Mining Pool: https://turtle.smartcoinpool.com/ Plenteum Mining Pool: https://plenteum.smartcoinpool.com/

Happy Hashing.

About

Proxy Mining Control


Languages

Language:HTML 50.4%Language:JavaScript 38.2%Language:CSS 11.4%Language:Shell 0.1%