
# If these commands do not work, delete the repository and clone it again. Instructions for upgrading from an older version of nicehash-calculator to a newer one. * Ethereum Classic (ETC) (DaggerHashimoto) As coins become inactive they will become unsupported. * Bitcoin (BTC) (SHA-256) Supported coinsĪs coins are added to What To Mine they should automatically be supported if they use an algorithm on NiceHash. # You can easily determine what your filters include using `-list-coins`

# To monitor all Scrypt coins except Litecoin and also monitor Bitcoin you could do: To monitor all Scrypt coins **except** Litecoin you could do: # You can mix exclusion rules with regular rules.

# To monitor all coins **except** Scrypt coins you could do: # To run on all coins **except** Bitcoin you could do:

# You can prepend a single `-` to any filter (coin name, coin ticker, algorithm name, etc.) to disable that coin (or algorithm) instead of enabling it. # To monitor all Scrypt coins and Bitcoin you could do: # Coin names/tickers and algorithm names can be mixed together. # To monitor all Scrypt coins you could do: # You can also use the names of algorithms to monitor all coins of that algorithm. # A coin's ticker or abbreviation has the same effect as the name: # To monitor only Bitcoin, Litecoin, and Ethereum you could do: # The easiest filtering rule is to simply list the names of the coins you want to monitor. # Warnings will be printed if something you enter is not recognized. 'bitcoin', 'bItCoIn', 'Bitcoin', and 'bITCOIN' all have the same effect. Coin filtering rules allow you to do this: Instead, you probably want to monitor a few specific coins or algorithms that you have wallets or pools setup for. This is slow and probably not what you want. Coinsīy default it will do calculations for all known coins. You can also put arguments you would like to always be added in arguments.txt. 1000 can be replaced with any other number (including 0 to effectively disable a delay, but be warned you might get hit by rate limits)ĭelay between runs with watch mode enabled Valid values for thing are minimum (minimum with miners) and minimum-with-speedĬhanges the time waited between each coin in milliseconds. Valid values for thing are pretty (default), json, and delayed-jsonĬhanges the how prices to buy hashing power are obtained. ArgumentĮnables experimental fee support (only a 3% fee in calculations for now)ĭisables the large message printed at the startĬhanges the format of the output. You should see a warning if you did something wrong. You must use an = to seperate argument names from their value if an arguments takes a value (do not use a space instead of =). You must use - before each argument name, - will not work (it is used for coin filtering). Npm start - ArgumentsĪrgument parsing is very strict. Use a reverse proxy such as nginx if you want things like SSL, caching, etc.# Any of these will work. (hint: use coin or algorithm names and tickers) You'll probably want to change some of the templates in src/views such as GitHub links (index.pug), donation addresses (layout.pug), data licensing (history/list.pug), etc. You can also edit _COINS to restrict or increase the amount of coins to be displayed.
#NICE HASH CALCULATOR UPDATE#
You can edit _TIME to change the time between each data update in milliseconds.

This should also enable automatic data updates unless you made further changes to the configuration. Production SetupĮnable production mode by setting the NODE_ENV environment variable to production (recommended, many services do this for you) or by setting _PRODUCTION to true in src/config.js. You can change the this with the PORT environment variable or by changing in src/config.js. (If you get a TypeError: util.promisify is not a function or similar, make sure you're running Node 8 or higher.)īy default this listens on port 8080, and you can visit in your browser to visit the site.
