Skip to content

A mining tool that auto switches to the most profitable coins in the Cryptonight world. Uses cast-xmr.

Notifications You must be signed in to change notification settings

donjor/DonjorNight-Autominer

Repository files navigation

DonjorNight-Autominer

A mining tool that auto switches to the most profitable coins in the CryptoNight world. Uses cast-xmr. Windows only.

How to use:

Edit the DonjorNight-Coin.txt file to set your pools and addresses using the format:

Coin Name, Coin Ticker, Cast-xmr algo#, pool, address,

Eg:

Haven, XHV, 7, haven.miner.rocks:4005, hvi1aCqoAZF19J8pijvqnrUkeAeP8Rvr4XyfDMGJcarhbL15KgYKM1hN7kiHMu3fer5k8JJ8YRLKCahDKFgLFgJMYAfnXRWeBLR9W88Pr7QzE,

Cast-Xmr algos:

0 = CryptoNight (ASICS - Probs no good for gpu mining) 
1 = CryptoNightV7
2 = CryptoNight-Heavy
3 = CryptoNight-Lite
4 = CryptoNightV7-Lite
5 = CryptoNightIPBC-Lite/TUBE-Heavy
6 = CryptoNightXTL
7 = CryptoNightXHV-Heavy
8 = CryptoNight-Fast

All lines starting with * are ignored in the file.

TradeOgre Auto Sell Bot:

Edit the TradeOgre.txt file to set your pools and addresses using the format:

*APIKEY
*APISECRET
**********************
exampleapikey2384d8928hf884
exampleapisecret490thg84928

Get your Api Key and Api Secret from your account settings.

!!!!!!!ENABLING THIS WILL SELL ALL YOUR COINS INTO BTC!!!!!!!!!!!

Every 5 minutes, all orders are cancelled and new orders for all available coins are added at the lowest previous sell ask satoshi price - 1

Static Difficulty:
  • Static diff is automatically applied after benchmarking based on hashrate * 30.
  • currently only supports address.diff format - make sure you use a pool that supports this format.

How it works:

The software reads the DonjorNight-Coins.txt file.

Benchmarking:

The software benchmarks each unique algorithm that could be used. The benchmarking function will stop once the process has elapsed 90 seconds and the increase in average hash rate has increased by < 0.1%

Benchmarking occurs when there is no Benchmark.txt file is found. After benchmarking, the values as saved to the Benchmark.txt file. Once mining starts - if the current hashrate differs between 5-10% after 8 shares the system will rebenchmark.

Auto Restart and monitor:

Run the run.bat file if you have stablity issues on your rig: The timeout is set to 4 hours by default. On previous versions, there was a lot of chrome instances detacting from the software On my notoriously unstable rig, the latest version of the software is much more stable.

call:myDosFunc

:myDosFunc
	START /I DonjorNight-Autominer
	TIMEOUT 14400
	TASKKILL /IM DonjorNight-Autominer.exe /F /T
	TASKKILL /IM chromedriver.exe /F /T
	TASKKILL /IM cast_xmr-vega.exe /F /T
	TASKKILL /IM chrome.exe /F /T
call:myDosFunc

goto:eof

Finding the profitability rates:

Using a Selenium Chrome driver, the software points towards https://cryptoknight.cc/ and references the $ per KH per seconds per day metric. Because of the different algorithms each coin uses, its not possible to compare without the benchmarked rates.

Compatible Coins:

All Coins listed on https://cryptoknight.cc/ are technically compatible.

Mining:

Coin profitability is checked every 2 minutes the results are echoed.

Switching Criteria:

A switch will occur under 2 criteria:

  • A more profitable coin is available, and the current coin has been mined for over 60 mins.
    • This is to insure mining continues without stopping and starting frequently.
    • And to try to get enough shares to warrant a pay-out.
  • A more profitable coin is available and is > 20% more profitable than the current coin.
Cast-xmr Share monitoring:

If a share is not submitted in 15 minutes, the software benchmarks and starts again.

About

A mining tool that auto switches to the most profitable coins in the Cryptonight world. Uses cast-xmr.

Resources

Stars

Watchers

Forks

Packages

No packages published