You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.8 KiB
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: How to solo mine Wownero
aliases:
- /docs/mining
---
# How to solo mine Wownero
Wownero is solo-mining only since Junkie Jeff Hardfork (4th july 2021).
## With SuchMiner
To solo mine you can use SuchMiner, a high-performance Wownero miner.
With SuchMiner, running a node isn't required, but it's strongly recommended (less latency = more profit!).
1. [Download SuchMiner](https://github.com/duggavo/SuchMiner/releases) and unzip the downloaded folder.
If you wish you can also verify the hash and signature, or build by yourself.
2. For security reasons it is strongly recommeneded to create a new wallet for mining.
You can use [Wowlet](https://wowlet.app/) or [Wownero Wallet CLI](https://git.wownero.com/wownero/releases).
3. Run SuchMiner and enter your wallet address and private spend key when prompted.
In WowLet you can see them with *wallet*>*keys*.
## Mining Directly With Wownerod
This guide was copied and extended from JR Swab's blog post - read the source [here](https://jrswab.com/blog/how-to-mine-wownero) and consider [supporting him](https://jrswab.com/support) with a small tip.
1. Download the latest version of Wownero to your mining computer here: Wownero releases.
2. Extract the download
3. Open a terminal in the extracted directory (you should see wownerod, wownero-wallet-cli, etc from the ls command)
4. Create a new wallet for mining by running ./wownero-wallet-cli --generate-new-wallet mining
5. Note the wallets mnemonic seed and store it safely
6. Enter spendkey while in the wallet CLI interface and note the secret spend key (aka `{SECRET-SPENDKEY}`)
7. Enter address while in the wallet CLI interface and note the primary address (aka `{YOUR-ADDRESS}`)
8. Run `./wownerod --start-mining {YOUR-ADDRESS} --spend-secret-key {SECRET-SPENDKEY}`
When the blockchain finishes synchronizing, mining will begin.
## With XMRig
Once again copied from [JR Swabs blog post](https://jrswab.com/blog/how-to-mine-wownero).
Perform the above steps but change number 8; wownerod must be running in your terminal without mining options (just run ./wownerod):
1. Download the latest [XMRig release](https://github.com/xmrig/xmrig/releases)
2. Extract the download
3. Open a new terminal in the extracted directory (you should see xmrig from the ls command)
4. Run `./xmrig --url 127.0.0.1:34568 --user {YOUR-ADDRESS} --algo rx/wow --spend-secret-key {SECRET-SPENDKEY} --daemon`; run with sudo for additional performance
## Wen block?
SuchMiner prints the expected block time every few minutes.
If you are not using SuchMiner, then [CryptUnit](https://www.cryptunit.com/coin/WOW) is a great solo mining calculator.
Please keep in mind that solo mining is a lottery - it might take you more or less time to find a block, depending on your luck.
{{< rawhtml >}}
<img src="/mason.svg" style="width:50%;display:block;margin:auto;" alt="Wownero mason">
{{< /rawhtml >}}