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 addressSave this address — you'll need it for mining configuration.
Step 2: Install Mining Software
GMiner (Recommended)
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 minerT-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 -xzf t-rex-0.26.8-linux.tar.gz
cd t-rex-0.26.8-linux
# Make executable
chmod +x t-rexTeamRedMiner (AMD)
bash
# Download TeamRedMiner
wget https://github.com/todxx/teamredminer/releases/download/v0.10.19/teamredminer-v0.10.19-linux.tgz
# Extract
tar -xzf teamredminer-v0.10.19-linux.tgz
cd teamredminer-v0.10.19-linux
# Make executable
chmod +x teamredminerStep 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,3Pool 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,3T-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.jsonTeamRedMiner Configuration (AMD)
bash
./teamredminer -a zelhash \
-o stratum+tcp://cs.miningtothelastblock.top:3332 \
-u your_wallet_address \
-p x \
--devices=0,1,2,3Step 4: Start Mining
bash
# Make script executable
chmod +x pool_mine.sh
# Start mining
./pool_mine.shExpected 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-smiAuto-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
doneGPU 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 70Expected Hash Rates
| GPU | Hash Rate | Power | Efficiency |
|---|---|---|---|
| RTX 4090 | ~85 Sol/s | 300W | 0.28 Sol/W |
| RTX 3080 | ~55 Sol/s | 220W | 0.25 Sol/W |
| RTX 3070 | ~40 Sol/s | 130W | 0.31 Sol/W |
| RX 6800 XT | ~50 Sol/s | 180W | 0.28 Sol/W |
| RX 6700 XT | ~35 Sol/s | 120W | 0.29 Sol/W |
| RX 5700 XT | ~30 Sol/s | 130W | 0.23 Sol/W |
Security Tips
- Use a dedicated wallet for mining
- Never share your wallet private key
- Use pool passwords to secure your account
- Monitor for unauthorized access to your mining rig
- Keep mining software updated
Next Steps
- Explore Mining Pools
- Read Troubleshooting
- Learn about Node Types