Skip to content

Instantly share code, notes, and snippets.

@zpalmtree
Last active April 10, 2018 14:00
Show Gist options
  • Save zpalmtree/f8d2f193f30d33cde10d7d012e58ff01 to your computer and use it in GitHub Desktop.
Save zpalmtree/f8d2f193f30d33cde10d7d012e58ff01 to your computer and use it in GitHub Desktop.
How to use xmrig after the 350k algorithm switch for turtlecoin
# xmr-stak doesn't currently support the algorithm that turtlecoin uses after the 350k fork, so we can use xmrig instead
# xmrig is similar to xmr-stak, and some prefer it's output and config files
#
# Unfortunately it doesn't support combined gpu and cpu mining, so you have to run one instance for your nvidia/amd
# and another for your cpu
# Download links:
# xmrig (cpu) - https://github.com/xmrig/xmrig/releases (You probably want xmrig-2.6.0-beta1-gcc-win64.zip if you're on windows)
# xmrig-nvidia - https://github.com/xmrig/xmrig-nvidia/releases (You probably want xmrig-nvidia-2.5.2-cuda9-win64.zip)
# xmrig-amd - https://github.com/xmrig/xmrig-amd/releases (You probably want xmrig-amd-2.6.0-beta1-win64.zip)
# You can use this pool to test if your miner will work after the swap: https://trtltest.mine2gether.com/
# If you need an address to test you can use this: TESTgq1wWNG5Neezh43jCCLyKqvQhxzdhcvKoJNiZGn5LU4y6bR3wHc8dtwyYv8RmMZdB2d7kzSTWhfwLJ1xudiQ5MA9ByUhx1
# This pool is running a testnet which has already passed the 350k algo change
# When the fork happens for real, you will need to be using your standard TRTL address and whatever pool you like to use instead
# Using your standard TRTL address and pool won't work with the below methods until the 350k fork occurs
# When mining cryptonite-lite-variant-1 you will see hashrates of roughly double your normal hashrate.
# You can choose to use only the command line example, only the config example, or mix and match both
# If you want to know more options for xmrig, start the program with the argument --help, i.e. xmrig --help
# Command line example
#
# If you are using windows you can put this into a batch script
# (Open notepad, paste this in, change type to all files, and change name to something like mine.bat, then double click to run)
# Note that this should all be pasted on one line, i have split it up so you can read the arguments with more ease.
xmrig --algo=cryptonight-lite
--variant=1
--user=TESTgq1wWNG5Neezh43jCCLyKqvQhxzdhcvKoJNiZGn5LU4y6bR3wHc8dtwyYv8RmMZdB2d7kzSTWhfwLJ1xudiQ5MA9ByUhx1
--url=trtltest.mine2gether.com:9999
# Config.json example
#
# Paste this into a file called config.json
# If xmrig doesn't automatically find it, you can specify the config file like so:
# xmrig --config config.json
# If you want an easy startup you can put this into a batch script - follow the instructions above
# You may potentially need to let xmrig auto generate the config and then you can edit it later
# The two things you want to be editing are "algo": "cryptonight-lite" and "variant": "1"
{
"algo": "cryptonight-lite",
"background": false,
"colors": true,
"retries": 5,
"retry-pause": 5,
"syslog": false,
"log-file": null,
"print-time": 60,
"threads": null,
"pools": [
{
"url": "trtltest.mine2gether.com:9999",
"user": "TESTgq1wWNG5Neezh43jCCLyKqvQhxzdhcvKoJNiZGn5LU4y6bR3wHc8dtwyYv8RmMZdB2d7kzSTWhfwLJ1xudiQ5MA9ByUhx1",
"pass": "x",
"keepalive": true,
"nicehash": false,
"variant": 1
}
],
"api": {
"port": 0,
"access-token": null,
"worker-id": null
}
}
@zpalmtree
Copy link
Author

zpalmtree commented Apr 6, 2018

Let me know here or on discord (@zpalm - WHEN WEB WALLET) if you're having issues or something in the guide is incorrect and I'll get it sorted/updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment