Skip to content

herominers/cryptonote-proxy

Repository files navigation

HeroMiners Proxy Mining Control https://herominers.com

cryptonote-proxy

switch

Discord Channel: https://discord.gg/gvWSs84

Telegram Channel: https://t.me/HeroMinersPool

Twitter: https://twitter.com/HeroMinerss

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/herominers/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: https://graft.herominers.com/#linux

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/herominers/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/herominers/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.herominers.com",

"port":"10100",

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

"api":"https://graft.herominers.com/api" },

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.herominers.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.herominers.com/api)

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!

HeroMiners Crypto Mining Pools

Different Pool Regions for Best Hashrate Experience

• Central Europe (Germany)

• North Europe (Finland)

• North America (Canada)

• Asia (HongKong)

• SouthEast Asia (Singapore)

Ethereum (ETH): https://ethereum.herominers.com

Ethereum Classic (ETC): https://etc.herominers.com

Pirl (PIRL): https://pirl.herominers.com

Callisto (CLO): https://callisto.herominers.com

Expanse (EXP): https://expanse.herominers.com

Grin (GRIN): https://grin.herominers.com

MimbleWimble (MWC): https://mwc.herominers.com

Cortex (CTXC): https://cortex.herominers.com

Beam (BEAM): https://beam.herominers.com

Monero: https://monero.herominers.com

Haven (XHV): https://haven.herominers.com

Conceal (CCX): https://conceal.herominers.com

TurtleCoin (TRTL): https://turtlecoin.herominers.com

Wownero (WOW): https://wownero.herominers.com

Swap (XWP): https://swap.herominers.com

Quantum Resistant Ledger (QRL): https://qrl.herominers.com

BitTube (TUBE): https://bittube.herominers.com

Uplexa (UPX): https://uplexa.herominers.com

KevaCoin (KVA): https://kevacoin.herominers.com

Dero (DERO): https://dero.herominers.com

Aeon (AEON): https://aeon.herominers.com

ArQmA (ARQ): https://arqma.herominers.com

Scala (XLA): https://stellite.herominers.com

Sumokoin (SUMO): https://sumo.herominers.com

X-Cash: https://xcash.herominers.com

Happy Mining.

About

HeroMiners Proxy Mining Control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published