Welcome to our tutorial where we’ll guide you through the process of creating
an offline Karlsen Wallet and starting to mine KLS in just a few minutes.
Step 1: Prepare the Files
Begin by creating a new folder on your computer to store your related files (let’s name it “karlsen” for example).
To ensure your antivirus does not interfere with mining operations, add this folder to your antivirus exclusions.
This can typically be done by navigating to “Virus & Threat Protection” > “Manage Settings” > “Exclusions.”
Next, download the latest release from Karlsen on GitHub,
which includes the Node, Wallet Application, and other files like the Karlsen miner. (we only going to use the node and wallet from here)
https://github.com/karlsen-network/karlsend/releases/tag/v1.0.0
After extracting the files into your folder, create a BAT file.
To do this, enable “File name extensions” in the folder’s view settings.
Right-click in the folder, select New > Text Document, and name the file “karlsend” with a “.bat” extension.
Edit this BAT file and paste “karlsend.exe –utxoindex,” then save it. Running this file will start the Karlsen Node in a CMD window.
It may take several hours for the node to sync, but you can proceed to create a wallet in the meantime.
Step 2: Create a Wallet
With the node running in the background (even if not fully synced), open a new CMD window.
Change the directory to your root folder (e.g., “cd C:\Users\MM\Documents\karlsend”) and execute “karlsenwallet.exe create” to generate a new wallet.
You’ll be prompted to set and confirm a password for securing your wallet. After setting the password, you’ll see your extended public key.
To retrieve your seed mnemonic phrase, use the command “karlsenwallet dump-unencrypted-data“
Note down these seed words securely and avoid saving them locally on your computer.
To obtain a public wallet address, open another CMD window in the same root folder and run “karlsenwallet.exe start-daemon“
This will start the wallet and connect it to the node running in the background.
With a node CMD window, a wallet CMD window, and a root CMD window open, you can use wallet commands in your root CMD window.
Use “karlsenwallet new-address” to display your wallet address for receiving funds or mining.
The wallet is accessible at “C:\Users[Your User]\AppData\Local\Karlsenwallet,” allowing you to transfer it to another computer if needed.
Step 3: Start Mining!
Download the mining software – for this tutorial, we’re using SRBMiner
(v2.4.2, which includes improvements for Karlsenhash).
https://github.com/doktor83/SRBMiner-Multi/releases
Choose the release appropriate for your operating system, extract the content into the root folder, and edit the “start-mining-karlsen.bat” file.
Replace the pool and wallet address with your own. For this tutorial, we’re using Karlsen HeroMiners.
Choose a pool URL closest to your location (e.g., de.karlsen.herominers.com:1195 for Germany).
Here’s how your BAT file should look before the last pause line:
SRBMiner-MULTI.exe –algorithm karlsenhash –pool de.karlsen.herominers.com:1195 –wallet YOURWALLETADDRESS.YOURWORKERNAME
After your saved the file, you can run it and it will open the mining cmd which will start mining to your wallet.
The Payout interval with HeroMiners is 2hours! If you decide to send your coins out from your wallet,
you can just open your node, wait until it 100% synced, than open a new cmd (cd into root) and use
“karlsenwallet.exe start-daemon” to connect the wallet app to node and than you can open the 3rd cmd window
where you use commands to control your wallet.
Commands:
karlsenwallet balance shows the balance of your main wallet address.
karlsenwallet balance -v shows the balance of your main wallet + change wallets
karlsenwallet send -v AMOUNT -t WALLETADDRESS send amount of KLS to the given walletaddress
A few words about how change wallets work:
so if you sent some KLS from your wallet for testing purpose, but the remaining balance of KLS also has been sent out, its landed on your change wallet
When you send out transaction from your Karlsen wallet:
Basically, a new change address is generated whenever coins are going off that address,
and the amount being sent (+its fees) isn’t strictly equal to the sum of UTXOs used in tx.
The remnants of that sum – the change – is sent back to the wallet but not to the address of the origin;
instead it’s sent to the newly generated change one, that is related to the origin one
in the sense of keys derivation sequence.
(just like in Kaspa…)