Table of Contents
Solo Mining on Linux (NVIDIA GPU)
This guide covers solo mining Lethean using an NVIDIA GPU on Ubuntu with the ProgPoWZ algorithm.
Prerequisites
- A running Lethean node (
lethean-chain-node) - A Lethean CLI wallet with a receive address
- An NVIDIA GPU with at least 2 GB VRAM
- Ubuntu 20.04 LTS or later
If you have not yet set up a CLI wallet, see the Wallet Guide.
Step 1: Synchronise the Daemon
Open a terminal in the directory containing lethean-chain-node and start it:
./lethean-chain-node
Allow the daemon to fully synchronise with the network while you complete the remaining steps.
Step 2: Install TT-Miner
TT-Miner supports the ProgPoWZ algorithm used by Lethean and is optimised for NVIDIA GPUs.
Open another terminal in the same directory and download TT-Miner:
wget https://github.com/TrailingStop/TT-Miner-release/releases/download/2023.1.0/TT-Miner-2023.1.0.tar.gz
Extract and remove the archive:
tar -xf TT-Miner-2023.1.0.tar.gz
rm TT-Miner-2023.1.0.tar.gz
Enter the TT-Miner directory:
cd TT-Miner
The directory contains a helper script LTHN-SOLO.sh with basic configuration instructions, but we will run the miner directly with the correct flags.
Step 3: NVIDIA Driver Installation
Ubuntu ships with open-source NVIDIA drivers by default. For mining with CUDA (required by TT-Miner and the ProgPoWZ algorithm), you need the proprietary driver.
3a. Check your current drivers
sudo ubuntu-drivers devices
This shows which driver is installed and which proprietary driver is recommended.
3b. Install the proprietary driver (if needed)
If you do not already have proprietary drivers:
sudo ubuntu-drivers autoinstall
Reboot after installation:
sudo reboot
3c. Install CUDA toolkit
TT-Miner requires CUDA libraries. Install them:
sudo apt install nvidia-cuda-toolkit
Verify the installation:
nvcc --version
If you see an error like
libcuda.so.1: cannot open shared object file, the CUDA toolkit is not installed properly.
Step 4: Start Mining
Once the daemon is fully synced, stop it with Ctrl+C. Restart it with the stratum server enabled, replacing <YOUR_WALLET_ADDRESS> with your Lethean receive address (not your wallet name or rig name):
./lethean-chain-node --stratum --stratum-miner-address=<YOUR_WALLET_ADDRESS> --stratum-bind-port=11555
If you use an invalid address, the daemon will return an error. Make sure you use the full receive address starting with
iTHN.
The daemon should start and confirm synchronisation.
Now open a new terminal in the TT-Miner directory and start mining:
./TT-Miner -luck -coin LTHN -u miner -o 127.0.0.1:11555
The miner will display your hashrate and statistics. In the daemon terminal, you should see stratum activity confirming that mining is active.
You are now solo mining Lethean with your NVIDIA GPU using the ProgPoWZ algorithm.
Pool Mining Alternative
If you prefer pool mining instead of solo mining, point TT-Miner at the pool's stratum address rather than 127.0.0.1:11555. For example:
./TT-Miner -luck -coin LTHN -u <YOUR_WALLET_ADDRESS> -o <POOL_STRATUM_ADDRESS>:<PORT>
Check the Mining Overview for more details on pool vs solo mining.
Troubleshooting
| Problem | Solution |
|---|---|
libcuda.so.1 not found |
Install nvidia-cuda-toolkit and reboot |
| Wrong wallet address error | Use the full receive address (starts with iTHN), not the wallet filename |
| Daemon fails to start stratum | Check that no other daemon instance is running |
| No blocks found after extended mining | Solo mining depends on your hashrate vs network difficulty -- consider pool mining |