J. R. Swab

How To Mine Wownero: Junkie Jeff Hard Fork

Categories: [Technology], [How To]

Last Update: July 12, 2021

How to Mine Directly With Wownerod

  1. Download the latest version of wownero to your mining computer.
  2. Extract the download
  3. Change to the new directory
  4. Run wownerod --start-mining {YOUR-ADDRESS} --spendkey {SECRET-SPENDKEY} --mining-threads {NUMBER}
  5. When the blockchain finishes synchronizing mining will begin.

How to Mine Wownero with Xmrig

  1. Download the latest version of wownero to your mining computer.
  2. Extract the download
  3. Change to the new directory
  4. Run wownerod
  5. Wait until the blockchain has finished synchronizing.
  6. Download the latest version of Xmrig to your mining computer(s).
  7. Extract the xmrig download.
  8. Change your directory to the newly extracted directory
  9. Updated the config file to point to your xmrig-proxy. Example:
    "pools": [
        {
            "coin": "wownero",
            "url": "localhost:34568",
            "user": "your wallet address",
            "spend-secret-key": "your secret spend key",
            "daemon": true
        }
    ],
  10. Run xmrig

How to Mine Wownero with Xmrig-Proxy

On the computer running Wownerod:

I recommend using another computer on the same network as your miners. Having your wallet address and spend key in the config file on a VPS is insecure.

  1. Create a server ( another computer ) to run Wownerod.
  2. Download the latest version of Xmrig-Proxy to that computer
  3. Add "spend-secret-key": "your-key-here", to the pools section of the config.json file
  4. Update the rest of the pools section. Example:
    "pools": [
        {
            "coin": "wownero",
            "url": "localhost:34568",
            "user": "your wallet address",
            "spend-secret-key": "your secret spend key",
            "daemon": true
        }
    ],
  5. Install tmux and run tmux (gnu screen works too)
  6. Start Wownero in the new tmux session: ./wownerod
  7. Open a new tmux window: ctrl-b c
  8. Start Xmrig-Proxy: ./xmrig-proxy

On Your Miner(s):

  1. Download the latest version of Xmrig to your mining computer(s).
  2. Updated the config file to point to your xmrig-proxy. Example:
    "pools": [
        {
            "url": "xmrig-proxy-ip:port-number",
            "rig-id": "rig-name"
        }
    ],
  3. Run Xmrig: xmrig --spend-secret-key <your key here>

When configured correctly, your miners will receive jobs from Xmrig-Proxy.

These jobs will show up in the output of xmrig on your miner(s).

How to See Miner Hashrates in Xmrig-Proxy when Mining Wownero

The following information was given to me by @orklemerkle on the Wownero forums.

Xmrig-Proxy only gets updates on your miner's hashrate upon each share submitted by the miner.

When running Xmrig-Proxy on a daemon (such as wownerod) the miners only submit a share when they find a solution based on the difficulty passed to them by Xmrig-Proxy.

To get around this, we can set the custom-diff property in config.json to any positive whole number.

Also, set custom-diff-stats to true while in the proxy configuration file.

Using this method, the difficulty of every miner attached to the proxy will be what you set after custom-diff.

You can also set the difficulty on a per miner basis...

To do so simply append +num to the username (normally the wallet address). Where num is your desired difficulty.

The minimum difficulty you can set is 100...

... but you'll want the number to be higher so you don't overload your proxy's bandwidth and CPU.

The goal here is to find a difficulty that allows your miner to send a share about very 30 seconds.

This should have no effect on your actual hashrate or the number of blocks you find over all.

It's just a way to get more data into Xmrig-Proxy.

Note: If you do not supply custom difficulties...

... you will not see the total hashrate of your connected miners.

However, you will see...

Example:

[2021-07-11 13:46:09.248]  proxy    speed (1m) 0.00, (10m) 0.00, (1h) 0.00, (12h) 26.56, (24h) 13.28 kH/s
WORKER NAME             | LAST IP         | COUNT | ACCEPTED | REJ |  10 MINUTES |    24 HOURS |
1700                    | 192.168.1.11    |     0 |        1 |   0 |   0.00 kH/s |  13.28 kH/s |
3900x                   | 192.168.1.8     |     1 |        0 |   0 |   0.00 kH/s |   0.00 kH/s |
[2021-07-11 13:46:12.718]  proxy    0.00 kH/s, shares: 1/0 +0, upstreams: 1, miners: 2 (max 2) +0/-0

Once you get the accepted share the funds will appear in you wallet at some point within the next 288 blocks.

Happy Mining, J. R.