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.
- Introduction
- Support and Links
- Stack Overview
- Mining Setup
- Step-by-Step Guides
- Warnings and Experimental Sections
- Resources
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.
Help us grow and continue innovating!
| 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 |
- 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)
- OS: SimpleMining (Pricing)
- Drivers: AMD Driver 22.40
- Tools: OpenCL headers, Mesa driver, Vulkan-SDK
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.listas previously described. Save the file withCTRL+Oand exit withCTRL+X.
Run the following command to update and upgrade the operating system:
sudo apt update && sudo apt upgradeInstall 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-toolInstall 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-sdkInstall 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,proWarning: 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 -rNiceHash 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.
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.
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.
Earnings fluctuate based on market conditions, algorithm demand, and GPU performance.
- 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.
- How Bitcoin Mining Really Works
- Web3 Overview
- Release Notes for AMD Driver 22.40
- Bypass PCIe 3.0 Atomics Limitation
- Ubuntu Archive
- MultiArchitecture How-To