How to Mine Karlsen with BZMiner
BZMiner Karlsen
Karlsen mining was introduced in BZMiner version 8, and this guide will help you set up and start mining Karlsen using BZMiner.
Important Note:
BZMiner supports two network protocols for Karlsen mining: stratum and solo. The “solo” protocol is used for solo mining directly to a node. While BZMiner tries to automatically select the correct protocol, it might not always be accurate, so it’s essential to double-check your setup.
Command Line Interface (CLI) Setup
Download BZMiner:
- Begin by downloading the latest version of BZMiner (Windows & Linux)
- Extract the archive to a convenient location on your computer.
Reference Script:
- Inside the extracted files, you’ll find a reference script (
karlsen.bat
for Windows orkarlsen.sh
for Linux). This script provides a template for mining Karlsen using BZMiner.
Example command:
- Inside the extracted files, you’ll find a reference script (
bzminer -a karlsen -w 000000 -p stratum+tcp://yourpool
- Replace
000000
with your mining wallet address. - Replace
yourpool
with the address and port of the pool you want to mine to.
Example:
bzminer -a karlsen -w karlsen:0000 -p stratum+tcp://us.karlsen.herominers.com:1195 --nc 1
Config.txt Setup
Download and Extract:
- As before, download the latest version of BZMiner and extract it.
Edit Config.txt:
In the extracted folder, open the
config.txt
file.Find the section labeled
pool_configs
near the top of the file.Modify the template to include:
- Algorithm: Set to
karlsen
. - Wallet: Enter your wallet address (you can use multiple addresses separated by commas or spaces).
- URL: Input the pool URL(s) you want to mine to.
- Algorithm: Set to
Example Config:
{
"pool_configs": [{
"algorithm": "karlsen",
"wallet": "00000", // replace 0000 with your own wallet addresses
"url": ["stratum+tcp://us.karlsen.herominers.com:1195"], // replace with the pool you wish to mine to. Add multiple pools for failsafe when a pool fails
"username": "worker_name",
"lhr_only": false
}],
"pool": [0], // pool config you wish to use by default when device_overrides does not specify
"rig_name": "rig",
"log_file": "",
"nvidia_only": false,
"amd_only": false,
"auto_detect_lhr": true,
"lock_config": false,
"advanced_config": false,
"advanced_display_config": false,
"device_overrides": []
}
Hive OS Setup
Visit the Hive OS website to begin the setup process.
- Update Hive OS: Ensure your Hive OS rig is running the latest version for optimal performance and compatibility.
- Create a Flight Sheet: Navigate to the Flight Sheets section and start a new one.
- Set the Coin: Choose
KLS
(Karlsen) as the coin you wish to mine. - Add a Wallet: Enter your Karlsen wallet address to create a new wallet.
- Configure the Pool: In the Pool section, select the “Configure in miner” option to manually input the pool settings later.
- Choose the Miner: Select
BZMiner
from the available miners. - Name Your Flight Sheet: Give your flight sheet a unique name that will help you easily identify it.
In the Miner section, click on “Setup Miner Config.”
In the BzMiner configuration panel that opens, set the Hash algorithm to karlsen
.
For the Wallet template, input %WAL%
or directly enter your wallet address.
Assign a Worker name to identify this rig on the pool.
Enter the Pool URL where you wish to mine (e.g., stratum+tcp://us.karlsen.herominers.com:1195
).
Once all settings are configured, click “Apply Changes” and deploy the setup to the rigs you want to use for mining Karlsen.
Configuring BZMiner in HiveOS
Setting Config Parameters:
To configure config.txt
parameters in HiveOS, utilize the Extra config arguments field in the BZMiner configuration window. This field allows you to input arguments exactly as you would in the config.txt
file.
For instance, to set overclocking (OC) parameters for three devices, you would structure the input like this:
"oc_fan_speed": "[-1, 80, 0]",
"oc_power_limit": "[0, 250, 0]",
"oc_core_clock_offset": "[100, 200, 100]",
"oc_memory_clock_offset": "[0, 0, 0]",
"oc_lock_core_clock": "[0, 0, 0]",
"oc_lock_memory_clock": "[810, 0, 810]"
Starting from version 8.0.0, BZMiner supports using JSON arrays for OC parameters, allowing you to bypass HiveOS’s limitations with valid JSON arrays as values.
Solo Mining Setup:
Run the Node:
- Start by running the node, which can be found here.
- Configure BZMiner:
- Set up BZMiner following the usual steps, but replace the pool URL with the IP address of your node and port number 42110.
- Since the node uses the
grpc
protocol, your URL should start withsolo+tcp://
.
Example Command: If mining on the same PC where the full node is running, use the IP address 127.0.0.1
:
bzminer -a karlsen -w 000000 -p solo+tcp://127.0.0.1:42110