How To Mine Wownero: Junkie Jeff Hard Fork
Categories: [Technology], [How To]
Last Update: July 12, 2021
How to Mine Directly With Wownerod
- Download the latest version of wownero to your mining computer.
- Extract the download
- Change to the new directory
- Run
wownerod --start-mining {YOUR-ADDRESS} --spendkey {SECRET-SPENDKEY} --mining-threads {NUMBER}
- When the blockchain finishes synchronizing mining will begin.
How to Mine Wownero with Xmrig
- Download the latest version of wownero to your mining computer.
- Extract the download
- Change to the new directory
- Run
wownerod
- Wait until the blockchain has finished synchronizing.
- Download the latest version of Xmrig to your mining computer(s).
- Extract the xmrig download.
- Change your directory to the newly extracted directory
- 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 } ],
- 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.
- Create a server ( another computer ) to run Wownerod.
- Download the latest version of Xmrig-Proxy to that computer
- Add
"spend-secret-key": "your-key-here",
to the pools section of theconfig.json
file- There is no CLI parameter for the spend key at the time of writing.
- Here is the full config.json template with added spend key section
- 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 } ],
- Install tmux and run
tmux
(gnu screen works too) - Start Wownero in the new tmux session:
./wownerod
- Open a new tmux window:
ctrl-b c
- Start Xmrig-Proxy:
./xmrig-proxy
On Your Miner(s):
- Download the latest version of Xmrig to your mining computer(s).
- Updated the config file to point to your
xmrig-proxy
. Example:"pools": [ { "url": "xmrig-proxy-ip:port-number", "rig-id": "rig-name" } ],
- 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...
- the total miners connected...
- total miners connected ever...
- when you find a block...
- the 24 hour hashrate average
- your shares increase.
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.