Mining DERO

DERO will be using AstroBWT CPU mining algo created by DERO Project. Read more about AstroBWT here

How to mine DERO:

  1. DERO Installation for Linux, Windows, Mac, FreeBSD, Arm etc.

  2. Run DERO daemon and Create wallet address

  3. Run miner with wallet address and no. of threads based on your CPU.

./dero-miner --mining-threads 4 --daemon-rpc-address=http://explorer.dero.io:20206 --wallet-address dERoXHjNHFBabzBCQbBDSqbkLURQyzmPRCLfeFtzRQA3NgVfU4HDbRpZQUKBzq59QU2QLcoAviYQ59FG4bu8T9pZ1woERqciSL;

NB 1: Check here for reference CPU hashes.

NB 2: There are no mining pools for AstroBWT atm.

NB 3: Replace

--daemon-rpc-address=http://explorer.dero.io:20206;

with your DERO daemon if you are running your own daemon. Incase DERO daemon is running on local-host this option not required.

Mining DERO using official miner with Windows

We will set this up using the remote server only. If you wish to run your own node and mine locally please visit https://medium.com/deroproject/install-a-full-dero-node-with-stats-the-easy-way-b8997347ed9e to set up local node.

First you will need some pre-requisites

DERO Wallet: https://wallet.dero.io/

DERO Address (We do not recommend mining direct to an exchange address)

Step 1

Download binaries here: https://github.com/deroproject/derosuite/releases/tag/AstroBWT

For 32 bit Windows please download: dero_windows_x86_2.2.0–0.Atlantis.Astrobwt+22022020.zip (or latest version)

For 64 bit Windows please download: dero_windows_amd64_2.2.0–0.Atlantis.Astrobwt+22022020.zip (or latest version)

To check which system you are running please go to System information in Windows and it will be under System Type

../_images/min1.png

Step 2

Create a folder on your PC where you wish to store the miner

../_images/min2.png

Step 3

Extract all files to the folder you have created. You will need either 7-zip, Win Rar or similar to extract the files

../_images/min3.png

Step 4

Enable file extensions by following this guide

Windows 10:

Open File Explorer; if you do not have an icon for this in the task bar; click Start, click Windows System, and then File Explorer.

../_images/min4.png

Click the View tab in File Explorer

../_images/min5.png

Click the box next to File name extensions to see file extensions

Click the box next to Hidden items to see hidden files

Close File Explorer if you wish

WIndows 8:

On the Start menu screen start typing “Control”

When you see Control Panel under Apps, click it

../_images/min6.png

If you are in the Category view, click the drop down menu and choose either Large icons or Small icons

../_images/min7.png

Open Folder Options

Click on the View tab at the top of the dialog box

  • To see file extensions, uncheck Hide file extensions for known file types

  • To see hidden files and folders, select Show hidden files, folders, and drives

Click OK

../_images/min8.png

Windows 7

Click Start and open the Control Panel

If you are in the Category view, click the drop down menu and choose either Large icons or Small icons

Open Folder Options

Click on the View tab at the top of the dialog box

  • To see file extensions, uncheck Hide file extensions for known file types

  • To see hidden files and folders, select Show hidden files, folders, and drives

Click OK

Step 5

Create a miner.bat file using the following:

32-bit system

dero-miner-windows-386.exe --daemon-rpc-address=http://explorer.dero.io:20206 --wallet-address=(Insert DERO Address here)
pause

64-bit system

dero-miner-windows-amd64.exe --daemon-rpc-address=http://explorer.dero.io:20206 --wallet-address=(Insert DERO Address here)
pause

Copy the miner.bat file to the same folder you have saved the miner

../_images/min9.png

Right click on the miner.bat file and edit with notepad or similar

../_images/min10.png

Remove (insert DERO Address here)

../_images/min11.png

Insert DERO address and click file and save then exit the notepad

../_images/min12.png

Double click the miner.bat file and it will open a window you are now mining DERO.

../_images/min13.png

Mining DERO using official miner with Linux

How to compile

First of all, check that you have Golang in version 1.12.12 minimum installed, we reccomend to use the v1.13.5.

We need to get the DERO sources to compile the miner. To do this, execute the following command to get the sources from the official github repository:

go get -u github.com/deroproject/derosuite/…
../_images/min14.png

It may take a few minutes, depending on your connection.

This will compile all the executables (dero-wallet-cli, derod, explorer, dero-miner).

Once finished, Once finished, you can go to your ~/go/bin folder and you will find your binaries there.

We can also only compile the DERO miner with the following command:

go build github.com/deroproject/derosuite/cmd/dero-miner
../_images/min15.png

The dero-miner executable will be created in your current folder.

How to mine

../_images/min16.png

You have different options for the miner, as shown above. What interests us is to be able to SOLO mine on our own node / a remote node.

The command we are interested in is:

./dero-miner — wallet-address=<ADDRESS> — daemon-rpc-address=<DAEMON>
../_images/min17.png

Congratulations you are now mining DERO.

Mining DERO with CPU using XMRig

Step 1

Download latest version of XMRig here https://github.com/xmrig/xmrig/releases

Note

If your browser does not allow you to download XMRig please try using alternative browser. You will also need to add exception to your antivrus as most will flag this up and will not allow you to download

Step 2

Create a folder on your PC where you wish to store the miner

../_images/min2.png

Step 3

Extract all files to the folder you have created. You will need either 7-zip, Win Rar or similar to extract the files

../_images/xmrig1.png

Step 4

Enable file extensions by following this guide

Windows 10:

Open File Explorer; if you do not have an icon for this in the task bar; click Start, click Windows System, and then File Explorer.

../_images/min4.png

Click the View tab in File Explorer

../_images/min5.png

Click the box next to File name extensions to see file extensions

Click the box next to Hidden items to see hidden files

Close File Explorer if you wish

WIndows 8:

On the Start menu screen start typing “Control”

When you see Control Panel under Apps, click it

../_images/min6.png

If you are in the Category view, click the drop down menu and choose either Large icons or Small icons

../_images/min7.png

Open Folder Options

Click on the View tab at the top of the dialog box

  • To see file extensions, uncheck Hide file extensions for known file types

  • To see hidden files and folders, select Show hidden files, folders, and drives

Click OK

../_images/min8.png

Windows 7

Click Start and open the Control Panel

If you are in the Category view, click the drop down menu and choose either Large icons or Small icons

Open Folder Options

Click on the View tab at the top of the dialog box

  • To see file extensions, uncheck Hide file extensions for known file types

  • To see hidden files and folders, select Show hidden files, folders, and drives

Click OK

Step 5

Create a miner.bat file using following the below.

Open Start.

Search for Notepad and click the top result to open the text editor.

Type the following lines in the text file to create a batch file:

@echo off
xmrig.exe -o miners.dero.network:3333 -u REPLACE-WITH-DERO-ADDRESS --algo AstroBWT -t REPLACE-WITH-NUMBER-OF-THREADS
pause

Save the file as miner.bat

Step 6

Double click the miner.bat file you have just created

Step 7

Congratulations you are now mining with CPU using XMRig

../_images/xmrig2.png

Mining DERO with GPU using XMRig

Step 1

Download latest version of XMRig here https://github.com/xmrig/xmrig/releases

Download latest version of the XMRig CUDA plugin here https://github.com/xmrig/xmrig-cuda/releases

Note

If your browser does not allow you to download XMRig please try using alternative browser. You will also need to add exception to your antivrus as most will flag this up and will not allow you to download

Step 2

Create a folder on your PC where you wish to store the miner

../_images/min2.png

Step 3

Extract all files to the folder you have created. You will also need to extract the CUDA file into this folder. You will need either 7-zip, Win Rar or similar to extract the files

../_images/xmrig1.png

Step 4

Enable file extensions by following this guide

Windows 10:

Open File Explorer; if you do not have an icon for this in the task bar; click Start, click Windows System, and then File Explorer.

../_images/min4.png

Click the View tab in File Explorer

../_images/min5.png

Click the box next to File name extensions to see file extensions

Click the box next to Hidden items to see hidden files

Close File Explorer if you wish

WIndows 8:

On the Start menu screen start typing “Control”

When you see Control Panel under Apps, click it

../_images/min6.png

If you are in the Category view, click the drop down menu and choose either Large icons or Small icons

../_images/min7.png

Open Folder Options

Click on the View tab at the top of the dialog box

  • To see file extensions, uncheck Hide file extensions for known file types

  • To see hidden files and folders, select Show hidden files, folders, and drives

Click OK

../_images/min8.png

Windows 7

Click Start and open the Control Panel

If you are in the Category view, click the drop down menu and choose either Large icons or Small icons

Open Folder Options

Click on the View tab at the top of the dialog box

  • To see file extensions, uncheck Hide file extensions for known file types

  • To see hidden files and folders, select Show hidden files, folders, and drives

Click OK

Step 5

Create a miner.bat file using following the below.

Open Start.

Search for Notepad and click the top result to open the text editor.

Type the following lines in the text file to create a batch file:

xmrig.exe -o miners.dero.network:3333 -u REPLACE-WITH-DERO-ADDRESS --cuda --coin dero -a astrobwt --no-cpu

Save the file as miner.bat

Step 6

Double click the miner.bat file you have just created

Step 7

Congratulations you are now mining with GPU using XMRig

../_images/xmrig3.png

Mining DERO with CPU & GPU using XMRig

Step 1

Download latest version of XMRig here https://github.com/xmrig/xmrig/releases

Download latest version of the XMRig CUDA plugin here https://github.com/xmrig/xmrig-cuda/releases

Note

If your browser does not allow you to download XMRig please try using alternative browser. You will also need to add exception to your antivrus as most will flag this up and will not allow you to download

Step 2

Create a folder on your PC where you wish to store the miner

../_images/min2.png

Step 3

Extract all files to the folder you have created. You will also need to extract the CUDA file into this folder. You will need either 7-zip, Win Rar or similar to extract the files

../_images/xmrig1.png

Step 4

Enable file extensions by following this guide

Windows 10:

Open File Explorer; if you do not have an icon for this in the task bar; click Start, click Windows System, and then File Explorer.

../_images/min4.png

Click the View tab in File Explorer

../_images/min5.png

Click the box next to File name extensions to see file extensions

Click the box next to Hidden items to see hidden files

Close File Explorer if you wish

WIndows 8:

On the Start menu screen start typing “Control”

When you see Control Panel under Apps, click it

../_images/min6.png

If you are in the Category view, click the drop down menu and choose either Large icons or Small icons

../_images/min7.png

Open Folder Options

Click on the View tab at the top of the dialog box

  • To see file extensions, uncheck Hide file extensions for known file types

  • To see hidden files and folders, select Show hidden files, folders, and drives

Click OK

../_images/min8.png

Windows 7

Click Start and open the Control Panel

If you are in the Category view, click the drop down menu and choose either Large icons or Small icons

Open Folder Options

Click on the View tab at the top of the dialog box

  • To see file extensions, uncheck Hide file extensions for known file types

  • To see hidden files and folders, select Show hidden files, folders, and drives

Click OK

Step 5

Create a miner.bat file using following the below.

Open Start.

Search for Notepad and click the top result to open the text editor.

Type the following lines in the text file to create a batch file:

xmrig.exe -o miners.dero.network:3333 -u REPLACE-WITH-DERO-ADDRESS --cuda --coin dero -a astrobwt -t REPLACE-WITH-NUMBER-OF-THREADS

Save the file as miner.bat

Step 6

Double click the miner.bat file you have just created

Step 7

Congratulations you are now mining with CPU & GPU using XMRig

../_images/xmrig4.png