GithubHelp home page GithubHelp logo

alex-tmnet / cryptonote-proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from herominers/cryptonote-proxy

0.0 0.0 0.0 53 KB

HeroMiners Proxy Mining Control

HTML 50.33% JavaScript 38.22% Shell 0.07% CSS 11.38%

cryptonote-proxy's Introduction

HeroMiners Proxy Mining Control https://herominers.com

cryptonote-proxy

switch

Support: https://discord.gg/gvWSs84

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 CryptoNight Pool List

CryptoNight Dero Mining Pool: https://dero.herominers.com/ Electroneum Mining Pool: https://electroneum.herominers.com/ Karbo Mining Pool: https://karbo.herominers.com/ Sumokoin (SUMO) Mining Pool: https://sumo.herominers.com/

CryptoNight v8 Graft Mining Pool: https://graft.herominers.com/ Lethean Mining Pool: https://lethean.herominers.com/ Monero Mining Pool: https://monero.herominers.com/ Safex Mining Pool: https://safex.herominers.com/ X-Cash Mining Pool: https://xcash.herominers.com/

CryptoNight v7 Citadel Mining Pool: https://citadel.herominers.com/ MoneroV Mining Pool: https://monerov.herominers.com/ Quantum Resistant Ledger (QRL) Mining Pool: https://qrl.herominers.com/

CryptoNight Heavy Loki Mining Pool: https://loki.herominers.com/ Ryo Mining Pool: https://ryo.herominers.com/

CryptoNight Heavy-Saber BitTube Mining Pool: https://tube.herominers.com/

CryptoNight Heavy-Haven BLOC (Bloc.money) Mining Pool: https://bloc.herominers.com/ Haven Mining Pool: https://haven.herominers.com/ Saronite Mining Pool: https://saronite.herominers.com/

CryptoNight Fast Conceal Mining Pool: https://conceal.herominers.com/ Masari Mining Pool: https://masari.herominers.com/

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

CryptoNight Light v1 Aeon Mining Pool: https://aeon.herominers.com/ ArQmA Mining Pool: https://arqma.herominers.com/ TurtleCoin Mining Pool: https://turtlecoin.herominers.com/

Happy Hashing.

cryptonote-proxy's People

Contributors

herominers avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.