KARLSEN (KLS) in HiveOS

J
Coinmonks
3 min readDec 4, 2023

--

With the new release of lolMiner 1,78 is it possible to mine now Karlsen. A fork of KASPA with a variant in his algo adding Blake3 to the process.

At the moment of the guide there isn’t any Web Wallet yet, so we need to run a node to get a wallet, you can find some guides in the Discord of KLS

Here is a small guide from the Discord:

Step 1
Get the binaries or build from sources
Releases · karlsen-network/karlsend (github.com) (check releases)

Step2
Open a CMD (Windows) or a Shell (Linux) run and sync a node (Read at the end to have a faster sync)

karlsend --utxoindex

Step3
When the node is synced create a wallet

karlsenwallet create

Time to save the your seed phrase (save it properly)

karlsenwallet dump-unencrypted-data

Step4
You have to run the wallet daemon (in a dedicated CMD/Shell), so open another CMD (Windows) or Shell (Linux)

karlsenwallet start-daemon

And request an address

karlsenwallet new-address

Now it will prompt karlsen:xxxxxxxxxxxxxxxxxxx

When we have the wallet we can start to mine KLS, meanwhile HiveOS doesn’t add the algo that’s the guide:

We should select a KLS and if doesn’t appear lolMiner then click Show All:

And we have to enter in Setup Miner Config:

Remember the OC for Nvidia is:

Parameter Description
--cclk arg (=*) The core clock used for the GPUs. Cards are separated with a comma. "*" can be used to skip a card.
--coff arg (=*) The core offset used for the GPUs. Cards are separated with a comma. "*" can be used to skip a card.
--mclk arg (=*) The memory clock only used for KASPA/ALPH to reduce Watts with value 810. "*" can be used to skip a card.
--moff arg (=*) The memory offset used for the GPUs. Cards are separated with a comma. "*" can be used to skip a card.
--pl arg (=*) The power limit used for the GPUs. Cards are separated with a comma. "*" can be used to skip a card.
--fan arg (=*) The % of the fan used for the GPUs. Cards are separated with a comma. "*" can be used to skip a card.

The OC of the examples is an efficient example not the highest hashrate.

Faster Sync Node Windows:

  1. Download and extract the file from gdrive
Google Drive:
https://drive.google.com/file/d/1FoauwWCABNYg-jciYyBe6wGqadMtulDq/view?usp=sharing

2. delete the old database/datadir2-folder located here

C:\Users\Username\AppData\Local\Karlsend\karlsen-mainnet\datadir2

Remember to change Username for your Windows User

3. and replace it with the downloaded one.

Build from source

If you want the golang backport instructions to build from source as it wont work on the hiveos ubuntu stable as it was compiled for 20.04+

sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install golang-go

--

--