← Back to Home

⛏️ Mining Guide

Step-by-step instructions to start mining QBM

1

Prerequisites

Before you start mining QBM, ensure you have the following:

✅ System Requirements

  • CPU: Modern x64 processor (2+ cores, 4+ recommended)
  • RAM: 4 GB minimum (8 GB+ for optimal performance)
  • Storage: 1 GB free space for blockchain sync
  • OS: Linux (Ubuntu 20.04+), Windows 10/11, macOS 11+
  • Network: Stable internet (open port 19090 for P2P)

Download all required software from the Downloads page.

2

Setup QBM Node

First, you need to run a full QBM node to sync the blockchain.

Linux / macOS:

# Extract the archive
tar -xvf qbm-daemon-linux-x64.tar.gz
cd qbm-daemon

# Make executable
chmod +x qbm-daemon

# Run the node
./qbm-daemon

Windows:

# Extract qbm-daemon-windows-x64.zip
# Open Command Prompt in the extracted folder
# Run:
qbm-daemon.exe
⚠️
Initial sync may take several hours!
The daemon needs to download and verify the entire blockchain. Keep it running until "Synchronized OK" appears.
3

Create Your Wallet

Create a new wallet to receive mining rewards.

Run the CLI Wallet:

# Linux/macOS
./qbm-wallet-cli

# Windows
qbm-wallet-cli.exe

Create New Wallet:

# When prompted, enter wallet name:
MyQBMWallet

# Set a strong password
# IMPORTANT: Write down your 25-word seed phrase!
# This is the ONLY way to recover your funds.
🔐
CRITICAL: Save your seed phrase!
Write it down on paper and store it safely. Never share it with anyone. If you lose it, your coins are gone forever.

After wallet creation, get your address with:

Sample wallet address: 
Q5qUXyxzdv99BiFdVLkAZTvL2hAHd6jfqQgtx9bdrTUMc1NyHFZM3Kkffa4pWHQ2CWZY8ED741KunGE7eXAFKyDN1RdVMujTX

Copy your QBM address (starts with "Q"). You'll need it for mining configuration.

4

Setup P2Pool (Decentralized Pool)

P2Pool allows you to mine QBM without centralized control.

Extract and Run P2Pool:

# Linux/macOS
tar -xvf p2pool-linux-x64.tar.gz
cd p2pool
chmod +x p2pool

# Run P2Pool (replace YOUR_WALLET_ADDRESS)
./p2pool --host 127.0.0.1 --rpc-port 19091 --wallet YOUR_WALLET_ADDRESS

# Windows
p2pool.exe --host 127.0.0.1 --rpc-port 19091 --wallet YOUR_WALLET_ADDRESS

💡 P2Pool Benefits

  • No registration required
  • Direct payouts to your wallet
  • 0% pool fees
  • Truly decentralized mining
  • Supports network decentralization
5

Configure XMRig Miner

XMRig is the high-performance CPU miner for RandomX algorithm.

Extract XMRig:

# Linux/macOS
tar -xvf xmrig-linux-x64.tar.gz
cd xmrig

# Windows: Extract xmrig-windows-x64.zip

Create config.json:

{
    "autosave": true,
    "cpu": {
        "enabled": true,
        "huge-pages": true,
        "max-threads-hint": 75
    },
    "pools": [
        {
            "url": "127.0.0.1:3333",
            "user": "YOUR_WALLET_ADDRESS",
            "pass": "x",
            "keepalive": true
        }
    ]
}

Start Mining:

# Linux/macOS
./xmrig

# Windows
xmrig.exe

📊 What to Expect

  • Hashrate: Depends on your CPU (100-5000 H/s typical)
  • Power Usage: Full CPU utilization (adjust max-threads-hint if needed)
  • First Payout: After finding your first share in P2Pool
  • Block Time: 60 seconds average
💡

Pro Mining Tips

🚀 Optimize Your Hashrate

  • Enable Huge Pages: Increases performance by 20-50%
  • Adjust Threads: Use 75-100% of your CPU cores
  • Keep System Cool: Good cooling = stable hashrate
  • Use Fast RAM: RandomX benefits from high memory speed
  • Close Background Apps: Free up CPU resources
Power Consumption Warning:
CPU mining uses significant electricity. Calculate your power costs vs. mining rewards to ensure profitability.
📈

Monitor Your Mining

Track your mining performance and earnings:

🔍 Check Your Stats

  • P2Pool Dashboard: pool.qbtmine.io
  • Block Explorer: explorer.qbtmine.io
  • XMRig Console: Press 'h' for hashrate, 'r' for results
  • Wallet Balance: Run de style="color: var(--accent-green);">balance in qbm-wallet-cli

Common Commands:

# Check wallet balance
balance

# View incoming transfers
show_transfers in

# Get new receiving address
address new

# Exit wallet (saves automatically)
exit
🔧

Troubleshooting

❓ Common Issues

  • P2Pool not connecting: Ensure qbm-daemon is fully synced and running
  • XMRig shows 0 H/s: Check huge pages are enabled, restart as admin/root
  • No shares found: Be patient, it can take time depending on network difficulty
  • Port errors: Make sure ports 19090, 19091, 3333 are not blocked
  • High CPU temp: Reduce max-threads-hint in XMRig config

Need help? Join our community:

Telegram: https://t.me/qbtmine
GitHub: https://github.com/quantumbit-mine