Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

readme.md

Blockchain Mining Guide

Welcome to the Blockchain Mining Guide! This document provides detailed instructions on setting up and participating in blockchain mining, including hardware and software requirements, configuration steps, and additional resources.


Table of Contents

  1. Introduction
  2. Support and Links
  3. Stack Overview
  4. Mining Setup
  5. Step-by-Step Guides
  6. Warnings and Experimental Sections
  7. Resources

Introduction

Blockchain mining allows you to actively participate in the blockchain environment without requiring large investments. This guide walks you through setting up a mining rig, from hardware to software, and provides useful links for further learning.


📢 Support the UniversalBit Project

Help us grow and continue innovating!


Stack Overview

Component Description Links
NetNode Blockchain node implementation Details
Buy-Sell Marketplace integration Details
CPU Mining CPU-based mining setup Details
ESP32 MicroMiner MicroMiner implementation using ESP32 Details

Mining Setup

Hardware Requirements

  • GPU: GigaByte WindForce R9290 (not supported in kfd) ROCR Experiments
  • Power Supply: ATX 620W Cooler Master 80Plus
  • Motherboard: ASRock Q1900M (BIOS P2.00 12/20/2018)
  • CPU: Intel(R) Celeron(R) J1900 @ 1.99GHz
  • RAM: 4GB DDR3
  • Storage: Kingston DataTraveler 64GB (USB 3.0)

Software Requirements

  • OS: SimpleMining (Pricing)
  • Drivers: AMD Driver 22.40
  • Tools: OpenCL headers, Mesa driver, Vulkan-SDK

Step-by-Step Guides

Note: For configuring repositories in Ubuntu, please refer to the official documentation and guide at Ubuntu Community Help: Repositories for up-to-date and comprehensive instructions instead of manually editing your sources.list as previously described. Save the file with CTRL+O and exit with CTRL+X.

System Update and Upgrade

Run the following command to update and upgrade the operating system:

sudo apt update && sudo apt upgrade

Installing Dependencies

Install OpenCL headers, Mesa drivers, Vulkan SDK, and other necessary tools:

sudo apt-get -y install ocl-icd-opencl-dev opencl-headers mesa-common-dev mesa-opencl-icd mesa-utils-extra clinfo libvulkan1 mesa-vulkan-drivers vulkan-utils amd64-microcode intel-microcode iucode-tool

Install the Vulkan SDK:

sudo wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.2.189-focal.list https://packages.lunarg.com/vulkan/1.2.189/lunarg-vulkan-1.2.189-focal.list
sudo apt update
sudo apt install vulkan-sdk

Install AMD Driver 22.40:

sudo wget https://repo.radeon.com/amdgpu-install/22.40.6/ubuntu/focal/amdgpu-install_5.4.50406-1_all.deb
sudo dpkg --add-architecture i386
amdgpu-install --opencl=rocr,legacy --vulkan=amdvlk,pro

Warnings and Experimental Sections

Experimental AMD Driver Installation

Warning: A wrong combination of kernel version and AMD Driver can make the operating system unusable. Proceed with caution.

Use the following tool to upgrade or downgrade the kernel:

sudo wget https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh
chmod +x ubuntu-mainline-kernel.sh
sudo mv ubuntu-mainline-kernel.sh /usr/local/bin/

Find the available kernel versions:

sudo ubuntu-mainline-kernel.sh -r

NiceHash and GPU Mining Overview

NiceHash Model

NiceHash acts as a broker, connecting miners with buyers who want to rent computing power for mining various cryptocurrencies. As a miner (seller), you run the NiceHash Miner software, which automatically selects the most profitable algorithm at any given time and pays you in Bitcoin (BTC), regardless of the actual coin being mined. This eliminates the need for miners to manually switch between altcoins or manage complex configurations.

GPU Mining Focus

GPUs are suitable for mining ASIC-resistant altcoins (e.g., Ethereum Classic, Monero), as dedicated ASIC hardware dominates the more popular Bitcoin mining. NiceHash handles the algorithm switching automatically to maximize returns for the GPU owner.


Implications of 100% Free Electricity

Free electricity is the single most significant factor in mining profitability, as power costs are typically the largest operating expense.

  • Maximized Profit Margins: With 100% free electricity, the entire gross income from mining becomes net profit, minus platform fees and the initial hardware cost.
  • Viability of Older Hardware: Even less efficient or older GPUs that are unprofitable with standard electricity costs can become viable sources of income with free power.
  • Focus on Uptime and Efficiency: The primary focus shifts from minimizing power draw to maximizing the GPU's uptime and raw hashing power, ensuring consistent earnings.

Possible Earnings (as of January 2026)

Earnings fluctuate based on market conditions, algorithm demand, and GPU performance.


Key Considerations

  • Platform Fees: NiceHash charges fees. For sellers (miners), there is a 2% fee on payouts to a NiceHash Wallet, and buyers have fees for placing orders. These fees slightly reduce your total earnings.
  • Market Volatility: The value of cryptocurrencies is highly volatile. Your earnings, paid in BTC, will fluctuate with the Bitcoin exchange rate.
  • Hardware Lifespan: Continuous mining puts wear and tear on your GPUs, potentially shortening their lifespan or impacting resale value.
  • Check Real-time Estimates: For the most accurate, up-to-date estimates, use the official NiceHash Profitability Calculator and input your specific GPU models.

Resources