TurtleCoin Docs

TurtleCoin Docs

  • Getting Started
  • About
  • FAQ
  • Guides
  • For Developers

›Mining

Mining

  • Mining Intro
  • Mining Pools
  • Mining with NinjaRig
  • Mining with violetminer
  • Mining with XMRig
  • Solo-mining TurtleCoin
  • Mining with a SBC
  • Optimizing Mining on a RPi
  • Mining with Termux
  • Mining with Crypto Miner (iOS)

Wallets

  • Wallet Intro
  • Making a Paper Wallet
  • Using Proton Wallet
  • Using zedwallet
  • Using Checkpoints to Sync Faster
  • Using a Remote Node
  • Using Shellnet
  • Recovering your Wallet

CryptoCurrency Fundamentals

  • Smart Contract

Misc

  • Using TIPBOT

Config

  • TurtleCoind config
Edit

Mining with violetminer

Downloading and Installing for Windows, Linux, Mac, or ARM

violetminer can be downloaded from its GitHub Page

violetminer-mining

violetminer Setup and Configuration

  1. If on Windows, unzip the file into a new folder. There should be an executable, violetminer.exe, in this folder. If on Linux, Mac, or ARM, untar the file into a new folder. (tar -xf violetminer-linux.tar.gz for example).

Guided Setup

guided-setup

  1. Double click / run the violetminer executable.
  2. You will be prompted for a mining pool to use. You can learn more about picking a pool here. Make sure you include the pool port. You can find this information on most pools 'Getting Started' page.
    • If you're having difficulty copy/pasting into the command window on Windows, you can click in the top left of the window, then select edit, then paste.
  3. Next, you need to enter the pool username. For the majority of pools, this is your TurtleCoin address. It should start with TRTL. If you need to use something else, this will be listed on your pool page.
  4. Next up is the pool password. For most pools, you can just leave this blank, or use x. Some pools will use it to allow extra configuration options. Again, check the getting started page for your pool for more information.
  5. The next thing to choose is the algorithm. Since you're wanting to mine TurtleCoin, just enter turtlecoin here.
  6. Finally, we have the rig ID. This can be used if you have multiple computers mining and want to be able to distinguish between them on the pool side. If you don't, just hit the Enter key here to leave it blank.
  7. You're done! If you want to add another pool, enter y on this step. If not, enter n and you will start mining if you entered everything correctly!

If you need to relaunch the miner, you don't need to enter all your details again - they've been written to a config file, config.json. Just double click violetminer, and it will read all your settings from the config file.

If you want to modify your config, just open up the file (config.json) - it should be in the same folder as the directory you launched violetminer from.

  • Want more information on how to modify the config file? Check out this section.

Command Line Setup

command-setup

It is not recommended to use the command line launching, as it is less configurable, but regardless, here's the explanation.

  • The following tables list all the available command line options.
  • Each Flag should be followed by the corresponding Argument.
  • For example, since --pool takes a String argument, we should specify it like so: violetminer --pool trtl.pool.mine2gether.com:3335.
  • If a flag takes an argument of None, that means you just use the flag, with nothing following it. For example, violetminer --disableCPU.

Mandatory Options

If you use command line launching, you must specify all of the following flags.

FlagArgumentDescription
--algorithmStringThe mining algorithm to use. Should be set to turtlecoin
--usernameStringThe pool username to use. Normally is your TurtleCoin address.
--poolStringThe pool hostname and port, to mine to.

Optional Options

FlagArgumentDescription
--helpNoneLists all options and exits
--versionNoneLists the version of violetminer you are using and exits
--configFilepathUse the config specified instead of the one in config.json
--threadsNumberThe number of CPU threads to use. Defaults to the number of threads your processor has.
--disableCPUNoneDisables CPU mining
--disableNVIDIANoneDisables NVIDIA mining
--disableAMDNoneDisables AMD mining (Does nothing till AMD support is added)
--rigidStringSpecifies a custom rig ID to use with the pool specified

If the config option is specified, any other command line options will be ignored. I repeat, do not mix command line options and config files, use just one or the other.

Example launch command:

violetminer --algorithm turtlecoin --pool trtl.pool.mine2gether.com:3335 --username TRTLv2Fyavy8CXG8BPEbNeCHFZ1fuDCYCZ3vW5H5LXN4K2M2MHUpTENip9bbavpHvvPwb4NDkBWrNgURAd5DB38FHXWZyoBh4wW

Config File Explanation

The config file should be pretty self explanatory, but just in case I'll explain what all the fields do here.

Here's an example config for reference.

{
    "hardwareConfiguration": {
        "cpu": {
            "enabled": true,
            "optimizationMethod": "Auto",
            "threadCount": 12
        },
        "nvidia": {
            "devices": [
                {
                    "desktopLag": 100.0,
                    "enabled": true,
                    "id": 0,
                    "intensity": 50.0,
                    "name": "GeForce GTX 1070"
                }
            ]
        }
    },
    "pools": [
        {
            "agent": "",
            "algorithm": "turtlecoin",
            "host": "trtl.pool.mine2gether.com",
            "niceHash": false,
            "password": "x",
            "port": 2225,
            "priority": 0,
            "rigID": "",
            "ssl": false,
            "username": "TRTLv2Fyavy8CXG8BPEbNeCHFZ1fuDCYCZ3vW5H5LXN4K2M2MHUpTENip9bbavpHvvPwb4NDkBWrNgURAd5DB38FHXWZyoBh4wW"
        },
        {
            "agent": "",
            "algorithm": "turtlecoin",
            "host": "pool.turtle.hashvault.pro",
            "niceHash": true,
            "password": "x",
            "port": 443,
            "priority": 2,
            "rigID": "",
            "ssl": true,
            "username": "TRTLv2Fyavy8CXG8BPEbNeCHFZ1fuDCYCZ3vW5H5LXN4K2M2MHUpTENip9bbavpHvvPwb4NDkBWrNgURAd5DB38FHXWZyoBh4wW"
        },
        {
            "agent": "",
            "algorithm": "wrkz",
            "host": "fastpool.xyz",
            "niceHash": false,
            "password": "x",
            "port": 3005,
            "priority": 1,
            "rigID": "",
            "ssl": false,
            "username": "WrkzjJMM8h9F8kDU59KUdTN8PvZmzu2HchyBG15R4SjLD4EcMg6qVWo3Qeqp4nNhgh1CPL7ixCL1P4MNwNPr5nTw11ma1MMXr7"
        }
    ]
}

hardwareConfiguration

This is the section for configuring your GPUs and CPUs.

cpu

KeyTypeDescription
enabledBooleanWhether CPU mining is enabled or not.
optimizationMethodStringWhich CPU optimizations to use. Defaults to Auto, which should pick the best available. Possible values: AVX-512, AVX-2, SSE4.1, SSSE3, SSE2, NEON None, Auto. Note that not all optimization methods are available on every CPU - The available ones are printed in green at startup.
threadCountIntegerThe number of CPU mining threads to launch.

nvidia

devices - An array of Nvidia GPUs to use.
KeyTypeDescription
desktopLagFloatDetermines how long we sleep between kernel launches. Should be a value between 0 and 100. 100 = Maximum desktop lag, maximum performance, no sleeping between launches. 0 = Minimum desktop lag, minimum performance. Decrease this value if your PC is unusable when mining, and also consider adjusting intensity. This value can be fractional, so a desktopLag of 50.57 for example is just fine.
enabledBooleanWhether mining with this GPU is enabled or not.
idNumberThe internal id of this GPU. It is recommended you do not alter this value, or it may result in confusing results or errors. This lets you identify which GPU is which.
intensityFloatDetermines how much GPU memory and how many GPU threads to launch per iteration. Should be a value between 0 and 100. 100 = Maximum intensity, maximum GPU memory, maximum GPU threads. 0 = Minimum intensity. This value can be fractional. Lowering intensity doesn't necessarily lower hashrate, and may improve power consumption.
nameStringThe name of the GPU this id refers to. It is recommended you do not alter this value, or it may cause confusing results. This lets you identify which GPU is which.

pools

This is the section for configuring your chosen pools. This value takes an array, so you can add multiple pools separated by commas, as you can see in the example config above.

If you specify multiple pools, the pools will be tried in order of their priority, which we'll explain later. If your preferred pool(s) are offline, we will keep trying to reconnect to it while mining on your backup pools.

KeyTypeDescription
agentStringThis value lets you specify a custom user agent. Most pools don't use this, but some may allow for extra configuration using this value.
algorithmStringThe algorithm to mine with on this pool. You can specify multiple pools which all have different algorithms, if you like.
hostStringThe pool host to mine to. Note that this value does not include the pool port!
niceHashBooleanWhether to use nicehash style nonces with this pool. Leave this false if you're not sure.
passwordStringThe password to use with this pool. Most pools will work fine with a blank password, or x, but some will use this to login to their pool, or to specify further pool configuration.
portNumberThe pool port to mine to.
priorityNumberThe priority of this pool. A lower value indicates a higher priority, so a pool with a priority of 0 will be tried before a pool with a priority of 1. If we are not connected to the pool with the highest priority, we will keep trying to reconnect to it.
rigIDStringAllows you to specify a custom rig ID for the pool. If the pool supports this field, it should allow you to distinguish between each mining rig you have on the same pool, to see the hashrate per rig, for example.
sslBooleanWhether to use SSL with this pool. Only use this option if the pool says the port you are using is an SSL port.
usernameStringThe username to use with this pool. Usually is your TurtleCoin address.
disableAutoAlgoSelectBooleanWhether we should respect the "algo" field given by the pool jobs. This allows us to automatically use the correct algorithm even if the user enters it incorrectly, and auto switch algorithms upon network forks. If the pool is providing an incorrect algorithm and you are getting rejected shares, you may want to try enabling this to force the use of the algorithm entered in the config file.

Notes

  • Found a bug? Can't get something working? Start by visiting the TurtleCoin discord and asking in the #mining channel, or open an issue on the repo.
  • Want to compile yourself? Visit here for instructions.
  • Want more info? Visit the github page.

Happy mining!

Last updated on 10/25/2020
← Mining with NinjaRigMining with XMRig →
  • Downloading and Installing for Windows, Linux, Mac, or ARM
  • violetminer Setup and Configuration
    • Guided Setup
    • Command Line Setup
    • Config File Explanation
    • hardwareConfiguration
    • pools
  • Notes
TurtleCoin Docs
Docs
Getting StartedGuidesDeveloper Resources
Community
Discord ChatRedditTwitter
More
BlogGitHubStar
Copyright © 2021 TurtleCoin
Docs released under the MIT License
TurtleCoin released under the GNU General Public V3 License