Mining

From DERO Wiki
Jump to navigation Jump to search

Cryptocurrency Mining is the process where miners perform various mathematical proofs on cryptocurrency transactions in order to verify the validity of these transactions. As an incentive for supporting the cryptocurrency network, miners are given mining rewards in the form of the cryptocurrency. These rewards often either come as brand new coins, or as fees from the transactions.

The algorithms for validating transactions are often very computationally difficult and expensive, and as such a relatively powerful processing unit is usually required. While most cryptocurrencies take advantage of GPU/ASIC mining, DERO currently only (efficiently) supports CPU mining. DERO utilizes a version of the AstroBWT algorithm.

FOR A LIST OF COMMUNITY SUBMITTED BENCHMARKS, CLICK HERE

CLI Mining

Mining using the CLI (Command Line Interface) tool is the currently recommended method of mining, however it can be difficult for less tech-savvy users. The following is a step-by-step guide for downloading and running the CLI mining tool.

  • Download the most recent release of the Dero suite of software. Binaries are available for Windows, MacOS, Linux x86/ARM, and FreeBSD. The software can also be compiled from source for power users who wish to do so.
  • Extract the .zip or .tar.gz file with 7zip, winrar, or your archive software of choice. It is recommended to extract the binaries to their own directory purely for Dero.
  • Using the CMD on Windows, or the terminal on Linux/Mac, navigate to the folder containing your extracted binaries. Navigation is done using the cd (Change Directory) command. Type help cd on Windows or man cd on Linux/Mac to learn more about the change directory command.
  • On Windows, run the command dero-miner-windows-amd64.exe --mining-threads=4 --daemon-rpc-address=http://daemon.node:10100 --wallet-address=dero1qyy0axk0hkdz3uc43dwc43jfp97684s44fxsgxzvug9vxlpq2xcqkqgrtv780. Of course, replace the wallet address with your wallet, and the daemon-rpc-address with your node of choice.
  • On Linux, Mac, or FreeBSD, run the command ./dero-miner --mining-threads=4 --daemon-rpc-address=http://daemon.node:10100 --wallet-address=dero1qyy0axk0hkdz3uc43dwc43jfp97684s44fxsgxzvug9vxlpq2xcqkqgrtv780. Similarly, change the wallet address and daemon-rpc-address. You may have to change the name of the command, as it may be different for your specific binary.
  • If all went well, you should now be mining DERO! See the green mining information at the bottom to see the current network difficulty and your hashrate.

CLI Mining with Stratum Protocol support (like BTC or ETH)

Whalesburg has set up a mining pool with stratum protocol support and PPLNS payout scheme. Whalesburg charges only 4% fee instead of 9% a DERO node charges. To use this pool proceed with following steps:

  • Create and register a DERO Wallet as described in the DERO Forum
  • Download the latest release of the stratum miner software provided by Whalesburg. There are various version all sorts of operating systems and CPUs. It is also possible to compile the miner by yourself with the provided source code.
    • Arch Linux users can also install the provided AUR package with yay -S dero-stratum-miner-bin. Skip the next steps and advance directly to the linux command below.
  • Extract the archive to a new directory.
  • Using the CMD on Windows, or the terminal on Linux/Mac/BSD, navigate to the folder containing your extracted binaries. Navigation is done using the cd (Change Directory) command. Type help cd on Windows or man cd on Linux/Mac to learn more about the change directory command.
  • On Windows, run the command dero-stratum-miner.exe -r pool.whalesburg.com:4300 -w YOUR_WALLET_ADDRESS. Please replace "YOUR_WALLET_ADDRESS" with the actual DERO address you use for mining.
    • for SSL encrypted connections run the command dero-stratum-miner.exe -r stratum+ssl://pool.whalesburg.com:4300 -w YOUR_WALLET_ADDRESS
  • On Linux, run the command ./dero-stratum-miner -r pool.whalesburg.com:4300 -w YOUR_WALLET_ADDRESS. Please replace "YOUR_WALLET_ADDRESS" with the actual DERO address you use for mining.
    • for SSL encrypted connections run the command ./dero-stratum-miner -r stratum+ssl://pool.whalesburg.com:4300 -w YOUR_WALLET_ADDRESS
  • If all went well, you should now be mining DERO! See the green mining information at the bottom to see the current network height, stratum difficulty, accepted and rejected shares and your hashrate.

Dero Stratum miner console output

GUI Mining

GUI (Graphical User Interface) mining, while quite a bit easier to set up, is still in development, and you may experience issues. The following is a step-by-step guide for downloading and running the GUI mining tool.

NOTE: In the current version of Engram, mining uses half of the available threads. This is not currently configurable. If you want more power, use the CLI miner.

  • Download the current alpha binary of the Engram wallet. Binaries are available for Windows, MacOS, and Linux. The software can also be compiled from source for power users who wish to do so.
  • Extract the .zip or .tar.gz with 7zip, winrar, or your archive software of choice. It is recommended to extract the binary to your main Dero folder.
  • Run the executable with your method of choice, just clicking it should work.
  • Enter your wallet information, after which the window should look similar to this:

Photo 2022-07-03 12-41-42.jpg

  • Click this icon in the bottom right of the window

Photo 2022-07-03 13-30-18 (2).jpg

  • Click start to start mining

Photo 2022-07-24 19-08-10.jpg

  • You should now see something similar to this on your window, which is confirmation that you are now mining DERO!

Photo 2022-07-24 19-08-14.jpg