Skip to content

Getting Started with Mining ​

This guide will walk you through setting up your Cloud Service mining operation step by step.

Prerequisites ​

Before you begin, ensure you have:

  • Cloud Service wallet address for receiving rewards
  • Mining software installed
  • Stable internet connection

Step 1: Set Up Your Wallet ​

Generate a wallet address to receive mining rewards:

bash
# Generate new address
cs-cli getnewaddress

# Or use the GUI wallet
# Wallet → Receive → Generate new address

Save this address — you'll need it for mining configuration.

Step 2: Install Mining Software ​

bash
# Download GMiner
wget https://github.com/develsoftware/GMinerRelease/releases/download/3.44/gminer_3_44_linux64.tar.xz

# Extract
tar -xf gminer_3_44_linux64.tar.xz
cd gminer_3_44_linux64

# Make executable
chmod +x miner

T-Rex Miner (NVIDIA) ​

bash
# Download T-Rex
wget https://github.com/trexminer/T-Rex/releases/download/0.26.8/t-rex-0.26.8-linux.tar.gz

# Extract
tar -xzvf t-rex-0.26.8-linux.tar.gz
cd t-rex-0.26.8-linux

# Make executable
chmod +x t-rex

TeamRedMiner (AMD) ​

bash
# Download TeamRedMiner
wget https://github.com/todxx/teamredminer/releases/download/v0.10.19/teamredminer-v0.10.19-linux.tgz

# Extract
tar -xzvf teamredminer-v0.10.19-linux.tgz
cd teamredminer-v0.10.19-linux

# Make executable
chmod +x teamredminer

Step 3: Configure Mining ​

Solo Mining Configuration ​

Create a mining script solo_mine.sh:

bash
#!/bin/bash
# GMiner Solo Mining
./miner --algo zelhash --server localhost --port 16180 \
    --user your_wallet_address \
    --pass x \
    --devices 0,1,2,3

Pool Mining Configuration ​

Create a mining script pool_mine.sh:

bash
#!/bin/bash
# GMiner Pool Mining
./miner --algo zelhash \
    --server cs.miningtothelastblock.top \
    --port 3333 \
    --user your_wallet_address \
    --worker worker_name \
    --pass x \
    --devices 0,1,2,3

T-Rex Configuration (NVIDIA) ​

Create trex_config.json:

json
{
    "algo": "zelhash",
    "url": "stratum+tcp://cs.miningtothelastblock.top:3332",
    "user": "your_wallet_address",
    "pass": "x",
    "worker": "worker_name",
    "devices": [0, 1, 2, 3]
}

Run T-Rex:

bash
./t-rex -c trex_config.json

TeamRedMiner Configuration (AMD) ​

bash
./teamredminer -a zelhash \
    -o stratum+tcp://cs.miningtothelastblock.top:3332 \
    -u your_wallet_address \
    -p x \
    --devices=0,1,2,3

Step 4: Start Mining ​

bash
# Make script executable
chmod +x pool_mine.sh

# Start mining
./pool_mine.sh

Expected Output ​

+---------------------------------------------------------+
|                    GMiner v3.44                          |
+---------------------------------------------------------+
Algorithm: ZelHash
Stratum server: cs.miningtothelastblock.top:3332
User: your_wallet_address

GPU0: NVIDIA GeForce RTX 3080
GPU1: NVIDIA GeForce RTX 3080

Speed:
GPU0: 45.2 Sol/s
GPU1: 44.8 Sol/s
Total: 90.0 Sol/s

Shares accepted: 15/15 (100%)

Step 5: Monitor Mining ​

Check Mining Status ​

bash
# From Cloud Service node
cs-cli getmininginfo

# Output example
{
  "blocks": 524288,
  "currentblockweight": 4000000,
  "currentblocktx": 150,
  "difficulty": 12345678.90123456,
  "networkhashps": 5000000000000000,
  "pooledtx": 250,
  "chain": "main",
  "warnings": ""
}

Monitor GPU Temperature ​

bash
# NVIDIA
nvidia-smi

# AMD
rocm-smi

Auto-Restart Script ​

Create mine.sh:

bash
#!/bin/bash
while true; do
    echo "Starting miner..."
    ./miner --algo zelhash --server cs.miningtothelastblock.top --port 3333 \
        --user your_wallet_address --pass x --devices 0,1,2,3
    echo "Miner crashed, restarting in 10 seconds..."
    sleep 10
done

GPU Optimization ​

NVIDIA Overclocking ​

bash
# Set power limit
nvidia-smi -pl 200

# Set memory clock offset
nvidia-settings -a "[gpu:0]/GPUMemoryTransferRateOffset[3]=1000"

# Set core clock offset
nvidia-settings -a "[gpu:0]/GPUGraphicsClockOffset[3]=-200"

AMD Overclocking ​

bash
# Using rocm-smi
rocm-smi --setpoweroverdrive 150
rocm-smi --setmemoverdrive 1200
rocm-smi --setfan 70

Expected Hash Rates ​

GPUHash RatePowerEfficiency
RTX 4090~85 Sol/s300W0.28 Sol/W
RTX 3080~55 Sol/s220W0.25 Sol/W
RTX 3070~40 Sol/s130W0.31 Sol/W
RX 6800 XT~50 Sol/s180W0.28 Sol/W
RX 6700 XT~35 Sol/s120W0.29 Sol/W
RX 5700 XT~30 Sol/s130W0.23 Sol/W

Security Tips ​

  1. Use a dedicated wallet for mining
  2. Never share your wallet private key
  3. Use pool passwords to secure your account
  4. Monitor for unauthorized access to your mining rig
  5. Keep mining software updated

Next Steps ​

Released under the MIT License.