logo

Mining Lyra2z

Getting Started

When mining the Lyra2z algorithm you’ll need a miner and of course a wallet to receive your mined coins. For this tutorial we’ll be using $BZX aka BitcoinZero as an example. First you’ll need to get yourself a wallet-address. This can be achieved by installing the wallet-software for your device.
Now most wallets and mining software will get flagged as a virus by anti-virus scanners. Because of this, if your mining on your normal everyday use or gaming computer that has an antivirus installed, you will want to exclude the mining software from the antivirus. To handle this unpleasantry you can create a folder on your desktop which you can exclude from scans by your antivirus-software. Below you’ll see how it’s done on Bitdefender AV. If you use another scanner, check the manual of your AV-scanner on how to do this.

Open Bitdefender
Open Bitdefender
Add Exclusion
Add folder
Save Exclusion

The Wallet

In this case we’ll be installing the 64bit windows-version of the BitzoinZero wallet. Like most coins this wallet can be found at a GitHub-repository
Download the version for you device to the folder you’ve just created on your desktop and unpack the zipfile.

Download Wallet
Unpack Wallet
Wallet In Folder

Once unpacked you’ll have a couple of new files in the folder. In this particular case we have the daemon ‘bitcoinzerod.exe‘, the commandline-interface ‘bitcoinzero-cli.exe‘ and the graphical-interface (aka GUI) ‘bitcoinzero-qt.exe‘. In this tutorial we’re gonna use the GUI and we’ll first need to start it.
Just open the bitcoinzero-qt.exe and wait for it to load. You probably get a pop-up of windows-firewall, just allow it to use private networks and you’ll be fine. ( for obvious security reasons it’s recommended not to use the wallet-software on public-networks).

Start Wallet
Firewall Warning
Wallet Open

Now that the wallet is running you can see the green bar on the bottom of the screen. This bar indicates the syncing with the network. In the bottom-right corner you’ll find 2 icons which indicate the connections to the network and the chain-status. When hovering over these icons the current value becomes visible. In our case you’ll notice the values remain zero. In the next step we’ll be dealing with this issue.

Add Nodes

For the blockchain to synchronise with the network you’ll need connections to nodes. To make this work on the BZX wallet we’ll need to add these nodes manually to the configuration file. Lists of nodes can be found all over the internet and usually these lists can be found in the Announcement-threads on BitcoinTalk or on the discord-server of the respective coin. To make life easier the nodes for Bitcoinzero can be found here.

Wallet Config
Node list
Paste Nodes

The configuration file you’ll need to edit is located in the %appdata%/Roaming/WALLETNAME directory. So first we need to shutdown the wallet and open the windows file-explorer. In the address-bar of the file-explorer type %appdata% .This will open up the roaming-folder on Windows 10 where we can find a folder named after the coin we’re planning to mine. In our case the folder is named bitcoinzero. Open the folder and look for the file ‘bitcoinzero.conf‘ and open it in your preferred text-editor. Now you’ll need to add the nodes at the bottom of the text. Just copy the contents of the bzxaddnodes.txt to the file and save it. Leave the bitcoinzero -folder open for the next step.

Import Blockchain

As BZX is a fork from an exciting chain it’s going to take some time to sync. To overcome the endless waiting for your wallet to syncronize Bitcoinzero made the blockchain available for download.  You can download the chain in zip-format Here and it’s also available as a torrent-download Here.
When you’ve finished downloading the chain go to the bitcoinzero-folder in %appdata% and delete the folders “blocks” & “chainstate“. Now copy and unpack the downloaded zip-file into the bitcoinzero-folder. Wait for it to finish and restart your Wallet, wait some time, and you’ll see it starts syncing.

Delete folders
Unpack Chain

Wallet-Address

Next you’ll have to get an wallet-address. In the wallet click on the tab ‘recieve‘. Here you can put in the label field whatever you like to name your address. After that click on ‘request payment’ which will open a pop-up with a QR-code and your wallet-address. We’ll minimize wallet as we’ll need this later on for our miner configuration.

Create new address
Wallet Address

Lyra2z Miner

There are a few things to understand before you mine Lyra2z coins. Lyra2z uses core clock which means overclocking memory gives you no advantage. You don’t have to worry about setting the power limit as it only draws less than 60% of your card’s power consumption. You might experience crashes while overclocking and it even makes your computer become unstable. The Lyra2z Algorithm is CPU friendly, runs quieter and cooler.

Since this algorithm can be mined using CPU, AMD and NVIDIA GPUs there are many mining applications available.

For this tutorial we’ll first handle GPU-mining for it’s most profitable compared to cpu-mining. First make sure you have the latest drivers for your GPUs. Next you’ll need to download the mining-software. There are several miners available for windows. A few of them you’ll find below.

CCminer

For this guide we’ll be using ccminer as I’m using a Nvidia GPU (make sure you have the latest CUDA drivers installed). Just download the zip-file to the mining-folder we’ve created earlier to keep your AV quiet. Extract the zip-file in the same folder.

Download Miner
Miner Download
Unpack Miner

Next we’ll need to configure the miner. For this we have a configurator on every coinpage which will help you get the right configuration for your miner. Go to the coin-page on our website. In this case https://www.lyra2z.com/bzx/

On the bottom of the page you’ll find the configurator. Fill in your wallet-address and worker-name and click on “Copy to Clipboard”.

Use Configurator
Create new textfile
Save as BZX.cmd

Open Notepad and start the first line with ccminer-x64 behind this paste the outcome of the configurator and end the line with --cpu-priority 3.
On the second line you type pause. And that’s it.
Your configuration should look similar to this:

ccminer-x64 -a lyra2z -o stratum+tcp://pool.lyra2z.com:4569 -u your_wallet_address.worker_name -p c=BZX --cpu-priority 3
pause

Now save the file as a .cmd file (for e.g. BZX.cmd) in the same folder where you had extracted the miner binary earlier.

To start mining double-click the .cmd file you’d just created and a new window should open.

Start Mining

If you’re seeing your shares as accepted, you should be good to go! Note that it make take a few minutes for the correct speed to be reflected on the pool’s website and your mining command line. Happy mining!

Image 01 Image 13 Image 14 Image 15 Image 20 Image 21 bg dark bg white