How to mine the #Zcash cryptocurrency on a computer processor

How to mine the #Zcash cryptocurrency on a computer processor

Mine Zcash on your computer processor.

January 27, 2024· 2 min read
36 score

How to mine the #Zcash cryptocurrency on a computer processor

1st Step

To configure XMRig for optimal performance, it is important to correctly place the configuration file. XMRig will sequentially search for the configuration in the following locations:
/etc/xmrig/xmrig.conf, which is most commonly used for system-wide installations,
then in the root user's home directory in the .xmrig.json file (e.g., /root/.xmrig.json),
and finally in the directory where the executable is located, where a config.json file may reside (e.g., /usr/bin/config.json).

You can choose any of these locations to place your configuration file, depending on the ease of management and specific requirements of your system.

Each of these files may contain individual settings for XMRig, including pool parameters, mining algorithm, CPU or GPU settings, as well as additional optimization parameters. Placing the configuration in one of these files ensures that the miner automatically launches with the specified parameters when the system starts.

Place the configuration for XMRig in one of the supported files:

/etc/xmrig/xmrig.conf

/root/.xmrig.json

/usr/bin/config.json

Config file for xmrig:

{    "api": {        "id": null,        "worker-id": "Worker1"    },    "http": {        "enabled": false,        "host": "127.0.0.1",        "port": 0,        "access-token": null,        "restricted": true    },    "autosave": true,    "background": false,    "colors": true,    "title": true,    "randomx": {        "init": -1,        "init-avx2": -1,        "mode": "auto",        "1gb-pages": false,        "rdmsr": true,        "wrmsr": true,        "cache_qos": false,        "numa": true,        "scratchpad_prefetch_mode": 1    },    "cpu": {        "enabled": true,        "huge-pages": true,        "huge-pages-jit": false,        "hw-aes": null,        "priority": null,        "memory-pool": false,        "yield": true,        "asm": true,        "argon2-impl": null,        "argon2": [0, 1, 3],        "cn": [            [1, 0],            [1, 1]        ],        "cn-heavy": [            [1, 0]        ],        "cn-lite": [            [1, 0],            [1, 1],            [1, 3]        ],        "cn-pico": [            [2, 0],            [2, 2],            [2, 1],            [2, 3]        ],        "cn/upx2": [            [2, 0],            [2, 2],            [2, 1],            [2, 3]        ],        "ghostrider": [            [8, 0],            [8, 1]        ],        "rx": [0, 1],        "rx/arq": [0, 2, 1, 3],        "rx/wow": [0, 1, 3],        "cn-lite/0": false,        "cn/0": false,        "rx/keva": "rx/wow"    },    "opencl": {        "enabled": false,        "cache": true,        "loader": null,        "platform": "AMD",        "adl": true,        "cn-lite/0": false,        "cn/0": false    },    "cuda": {        "enabled": false,        "loader": null,        "nvml": true,        "cn-lite/0": false,        "cn/0": false    },    "log-file": null,    "donate-level": 1,    "donate-over-proxy": 1,    "pools": [        {            "algo": null,            "coin": null,            "url": "rx.unmineable.com:3333",            "user": "LTC:ltc1qv0kefxglmrfses0ky4c6vulsth9guynerclyqa.Worker1#hgtr-b26c",            "pass": "x",            "rig-id": null,            "nicehash": false,            "keepalive": false,            "enabled": true,            "tls": false,            "tls-fingerprint": null,            "daemon": false,            "socks5": null,            "self-select": null,            "submit-to-origin": false        }    ],    "retries": 5,    "retry-pause": 5,    "print-time": 60,    "health-print-time": 60,    "dmi": true,    "syslog": false,    "tls": {        "enabled": false,        "protocols": null,        "cert": null,        "cert_key": null,        "ciphers": null,        "ciphersuites": null,        "dhparam": null    },    "dns": {        "ipv6": false,        "ttl": 30    },    "user-agent": null,    "verbose": 0,    "watch": true,    "pause-on-battery": false,    "pause-on-active": false} 

Related Articles