Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
RedTeamCoin — Red Team Coin for crypto-mining operations. | Kitploit
Tools/GitHubGitHub/xyplex3/redteamcoin
ExploitationCryptographyPenetration TestingCommand and ControlRed TeamingPayload Development
GitHubxyplex3/redteamcoin

RedTeamCoin

Red Team Coin for crypto-mining operations.

View Repository
2525 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

RedTeamCoin

RedTeamCoin Logo

License Pre-Commit Security Scanning Release Test & Build Verification Windows Miner Test


RedTeamCoin is a blockchain-based cryptocurrency mining pool implementation designed for authorized security testing and red team operations. Built in Go with Java client support, it simulates real-world cryptomining attacks to help organizations assess their detection capabilities and quantify potential damage from threat actor mining operations.

This tool enables security teams to safely and legally demonstrate cryptomining attack scenarios on corporate systems, generate comprehensive impact reports, and validate security controls—all within a controlled environment using an isolated, non-public blockchain.

Table of Contents

  • Overview
  • Features
  • Quick Start
  • How It Works
  • Usage
    • Running the Server
    • Running a Miner
    • Connecting to Remote Servers
  • GPU Mining
  • Configuration
  • API Reference
  • Architecture
  • Development
  • Contributing
  • Troubleshooting
  • Documentation
  • License
  • Acknowledgments

Overview

Why use RedTeamCoin?

  • Demonstrate the real-world impact of cryptojacking attacks
  • Test and validate security monitoring and detection systems
  • Generate quantifiable damage assessments for executive reporting
  • Safely simulate mining operations without connecting to public blockchains

System Components:

  • Mining Pool Server - Manages blockchain and coordinates work distribution
  • Client Miners - CPU/GPU mining clients (Go and Java implementations)
  • Web Dashboard - Real-time monitoring, control, and statistics
  • Analysis Tools - Generate comprehensive damage assessment reports

Features

  • Blockchain Implementation: Custom proof-of-work blockchain with configurable difficulty
  • Mining Pool Server: Manages multiple miners and work distribution via gRPC
  • Client Miners: Automated mining clients (Go and Java) with IP address and hostname logging
  • Java Standalone Miner: GUI-enabled desktop miner with visual interface
  • Java gRPC Client: Headless gRPC client for servers and automation
  • Server-Side Miner Control: Pause, resume, throttle CPU usage, and delete miners remotely
  • CPU Throttling: Limit miner CPU usage from 0-100% to manage resources
  • GPU Mining Support: CUDA and OpenCL support for GPU-accelerated mining
  • Hybrid Mining: Simultaneous CPU and GPU mining for maximum performance
  • Web Dashboard: Real-time monitoring of miners, statistics, and blockchain with control buttons
  • REST API Authentication: Secure token-based authentication for API endpoints
  • Client gRPC TLS Encryption: Optional TLS encryption for secure client-server gRPC connections
  • Dual IP Tracking: Records both client-reported and server-detected IP addresses
  • CPU & GPU Statistics: Comprehensive resource usage tracking and reporting
  • Protocol Buffers: Efficient client-server communication using protobuf/gRPC
  • Auto-Termination: Miners automatically shut down and self-delete when removed from the server

Quick Start

Get RedTeamCoin running in under 5 minutes:

Prerequisites

  • Go 1.21 or later
  • Protocol Buffer Compiler (protoc)

Ubuntu/Debian:

root@kitploit:~
sudo apt update
sudo apt install -y golang-go protobuf-compiler

macOS:

root@kitploit:~
brew install go protobuf

Windows:

  • Install Go from https://golang.org/dl/
  • Install protoc from https://github.com/protocolbuffers/protobuf/releases

Installation

root@kitploit:~
# Clone the repository
git clone https://github.com/xyplex3/RedTeamCoin.git
cd RedTeamCoin

# Install dependencies
make install-tools
make deps

# Build server and client
make build

Verification

Verify the build completed successfully:

root@kitploit:~
ls -lh bin/
# Expected output: server and client binaries (1-5 MB each)

./bin/server --help
# Expected output: Usage information for the server

Running Your First Mining Pool

1. Start the server:

root@kitploit:~
make run-server

You should see output like:

root@kitploit:~
RedTeamCoin Mining Pool Server
Authentication Token: abc123def456...
Dashboard URL: http://localhost:8080?token=abc123def456...
gRPC server listening on port 50051

2. Start a miner (in a new terminal):

root@kitploit:~
make run-client

You should see mining activity:

root@kitploit:~
Connected to mining pool at localhost:50051
Registered as miner: miner-hostname-1234567890
Mining block #1... Hash rate: 2.5 MH/s
Block found! Nonce: 98765, Hash: 000000ab1cd...

3. View the dashboard:

Open the URL from step 1 in your browser, or navigate to:

root@kitploit:~
http://localhost:8080?token=YOUR_AUTH_TOKEN_HERE

You'll see real-time statistics including active miners, hash rates, and mined blocks.

Note: The server listens on all network interfaces - replace localhost with your server's IP for remote access.

How It Works

The mining pool operates using a proof-of-work consensus mechanism:

  1. Server initializes blockchain with genesis block
  2. Miners connect via gRPC and register with IP/hostname
  3. Server distributes work assignments (block templates)
  4. Miners compute SHA-256 hashes to find valid nonces
  5. Miners submit solutions when difficulty target is met
  6. Server validates and adds blocks to the blockchain
  7. Dashboard displays real-time statistics and miner activity

Each block requires finding a hash with a specific number of leading zeros (configurable difficulty). Miners receive 50 RTC per block mined.

Data Flow

root@kitploit:~
Client Miner                    Server
    |                              |
    |--RegisterMiner(IP,Hostname)->|
    |<--RegistrationResponse-------|
    |--GetWork()------------------>|
    |<--WorkResponse(Block)--------|
    | [Mining: compute hashes]     |
    |--SubmitWork(nonce,hash)----->|
    |                              | [Validate proof-of-work
    |                              |  and add block to chain]
    |<--SubmissionResponse---------|
    |--Heartbeat(stats)----------->|
    |<--HeartbeatResponse----------|

Usage

Running the Server

HTTP (Default):

root@kitploit:~
./bin/server
  • gRPC server: port 50051
  • Web dashboard: http://localhost:8080

HTTPS/TLS (Recommended):

root@kitploit:~
# Generate certificates (one time)
./generate_certs.sh

# Start with TLS
RTC_SERVER_TLS_ENABLED=true ./bin/server
  • gRPC server: port 50051
  • Web dashboard: https://localhost:8443
  • HTTP redirect: http://localhost:8080

Note #1: With HTTPS, browsers will show a security warning for self-signed certificates. Click "Advanced" → "Proceed to localhost".

Note #2: The web dashboard and gRPC server will run on all interfaces of the server and can be used in place of localhost.

Running a Miner

Go Client (Native Binary)

Basic usage:

root@kitploit:~
./bin/client

Run multiple miners: Open additional terminals and run ./bin/client in each.

Java Miners

RedTeamCoin provides two Java miner implementations:

Java gRPC Client (Headless)

Production-ready gRPC client for servers and automation.

Prerequisites:

  • Java 11 or later
  • Maven (for building only)

Build using Makefile:

root@kitploit:~
make build-java-client

Or build manually:

root@kitploit:~
cd java-client
mvn clean package

Run:

root@kitploit:~
# Connect to localhost
java -jar bin/redteamcoin-miner-client.jar

# Connect to remote server
java -jar bin/redteamcoin-miner-client.jar -server 192.168.1.100:50051

Features:

  • gRPC protocol (matches Go client)
  • Headless operation (no GUI)
  • Server control (pause/resume/throttle)
  • Auto-reconnection
  • Self-deletion on server command
Java Standalone Miner (GUI)

Desktop miner with graphical interface.

Prerequisites:

  • Java 21 or later
  • Maven (for building only)

Build using Makefile:

root@kitploit:~
make build-java-standalone

Or build manually:

root@kitploit:~
cd java-standalone
mvn clean package

Run:

root@kitploit:~
# GUI mode (default)
java -jar bin/redteamcoin-miner-standalone.jar

# CLI mode
java -jar bin/redteamcoin-miner-standalone.jar --pool localhost:50051

Features:

  • Desktop GUI interface
  • Visual statistics display
  • Simple JSON/Socket protocol
  • Embedded in applications
Build All Java Miners
root@kitploit:~
make build-java-all

Benefits of Java Miners:

  • Single JAR file, easy to distribute
  • Cross-platform (Windows, Linux, macOS)
  • No compilation needed on target systems
  • Just requires Java Runtime (JRE)

See java-client/README.md for complete Java gRPC client documentation.

Connecting to Remote Servers

By default, clients connect to localhost:50051. To connect to a remote server:

Using command-line flag (recommended):

root@kitploit:~
./bin/client -server 192.168.1.100:50051
./bin/client -s mining-pool.example.com:50051

Using environment variable:

root@kitploit:~
export RTC_CLIENT_SERVER_ADDRESS=192.168.1.100:50051
./bin/client

Priority: Command-line flag > Environment variable > Default (localhost:50051)

GPU Mining

RedTeamCoin supports GPU-accelerated mining for NVIDIA (CUDA) and AMD/Intel (OpenCL) GPUs. GPU mining is 100-400x faster and significantly more energy efficient than CPU mining.

GPU Installation

NVIDIA CUDA:

root@kitploit:~
sudo apt install cuda-toolkit
make build-cuda

AMD/Intel OpenCL:

root@kitploit:~
sudo apt install ocl-icd-opencl-dev
make build-opencl

Auto-detect:

root@kitploit:~
make build-gpu  # Automatically detects and builds for available GPU

GPU Usage

root@kitploit:~
# Auto-detect GPU (default)
./bin/client

# Force CPU only
RTC_CLIENT_MINING_GPU_ENABLED=false ./bin/client

# Hybrid mode (CPU + GPU)
RTC_CLIENT_MINING_HYBRID_MODE=true ./bin/client

# GPU with remote server
./bin/client -server mining-pool.example.com:50051

Performance Comparison

Note: GPU mining is 100-150x more energy efficient than CPU mining.

Testing GPU Functionality

root@kitploit:~
# Test GPU detection
./bin/client 2>&1 | grep -i "gpu\|cuda\|opencl"

# Force CPU mining (verify fallback works)
RTC_CLIENT_MINING_GPU_ENABLED=false ./bin/client

# Force GPU mining (if available)
RTC_CLIENT_MINING_GPU_ENABLED=true ./bin/client

# Test hybrid CPU+GPU mode
RTC_CLIENT_MINING_HYBRID_MODE=true ./bin/client

See docs/GPU_MINING.md for complete GPU mining guide.

Configuration

RedTeamCoin uses Viper for flexible configuration management. Settings can be specified via environment variables, YAML config files, or command-line flags with the following precedence:

Command-line flags > Environment variables > Config files > Defaults

Setup

Initialize configuration files:

root@kitploit:~
# Initialize both server and client configs
make init-config

# Or initialize individually
make init-server-config  # Creates server-config.yaml
make init-client-config  # Creates client-config.yaml

This copies example YAML files to your working directory for editing. You can also place config files in ~/.rtc/ or /etc/rtc/.

Override with environment variables:

root@kitploit:~
# Environment variables take precedence over config files
export RTC_SERVER_MINING_DIFFICULTY=8
export RTC_CLIENT_SERVER_ADDRESS=pool.example.com:50051
./bin/server

Environment Variables

All environment variables use prefixes: RTC_SERVER_ for server, RTC_CLIENT_ for client.

Server Configuration:

Client Configuration:

Config File Examples

Server config (server-config.yaml):

root@kitploit:~
network:
  grpc_port: 50051
  api_port: 8443
  http_port: 8080
mining:
  difficulty: 8
  block_reward: 100
tls:
  enabled: true
  cert_file: /etc/rtc/certs/server.crt
  key_file: /etc/rtc/certs/server.key
logging:
  update_interval: 30s
  file_path: /var/log/rtc/pool.json

Client config (client-config.yaml):

root@kitploit:~
server:
  address: pool.example.com:50051
  tls:
    enabled: false
    insecure_skip_verify: true
    ca_cert_file: ""
mining:
  gpu_enabled: true
  hybrid_mode: false
  auto_delete: true
gpu:
  nonce_range: 1000000000
  cpu_start_nonce: 5000000000
network:
  heartbeat_interval: 30s
  retry_interval: 10s
  max_retry_time: 5m

Authentication

All API endpoints (except the dashboard homepage) require Bearer token authentication.

Auto-generated token: The server generates a secure token on startup and displays it in the console.

Custom token:

root@kitploit:~
export RTC_AUTH_TOKEN="your-secret-token"
./bin/server

Performance

Expected mining times vary by CPU performance and luck:

  • Difficulty 4: ~1-10 seconds/block (single CPU)
  • Difficulty 5: ~10-60 seconds/block
  • Difficulty 6: ~1-10 minutes/block

HTTPS Configuration

root@kitploit:~
# Generate certificates
./generate_certs.sh

# Start with HTTPS using new config system
export RTC_SERVER_TLS_ENABLED=true
export RTC_AUTH_TOKEN="my-secure-token"
./bin/server

# Custom certificates
export RTC_SERVER_TLS_CERT_FILE="/path/to/cert.pem"
export RTC_SERVER_TLS_KEY_FILE="/path/to/key.pem"
./bin/server

See docs/TLS_SETUP.md for detailed TLS configuration.

API Reference

REST API Endpoints

Public endpoints:

  • GET / - Web dashboard (HTML)
  • GET /blocks - View all blocks page (HTML)

Authenticated endpoints:

  • GET /api/stats - Pool statistics (JSON)
  • GET /api/miners - List of all miners (JSON)
  • GET /api/blockchain - Complete blockchain (JSON)
  • GET /api/blocks/{index} - Specific block details (JSON)
  • GET /api/validate - Validate blockchain integrity (JSON)
  • GET /api/cpu - CPU and GPU usage statistics (JSON)
  • POST /api/miner/pause - Pause mining for a specific miner
  • POST /api/miner/resume - Resume mining for a specific miner
  • POST /api/miner/delete - Delete a miner (auto-terminates and self-deletes)
  • POST /api/miner/throttle - Set CPU throttle percentage (0-100%)

Authentication Examples

cURL:

root@kitploit:~
# Get stats
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:8080/api/stats

# Get miners
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:8080/api/miners

# Pause a miner
curl -X POST -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"miner_id":"miner-hostname-1234567890"}' \
  http://localhost:8080/api/miner/pause

# Set CPU throttle to 50%
curl -X POST -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"miner_id":"miner-hostname-1234567890","throttle_percent":50}' \
  http://localhost:8080/api/miner/throttle

# HTTPS (with self-signed cert)
curl -k -H "Authorization: Bearer YOUR_TOKEN" https://localhost:8443/api/stats

JavaScript:

root@kitploit:~
const token = "YOUR_TOKEN_HERE";
const headers = { Authorization: `Bearer ${token}` };

fetch("http://localhost:8080/api/stats", { headers })
  .then((r) => r.json())
  .then((data) => console.log(data));

Python:

root@kitploit:~
import requests

headers = {'Authorization': 'Bearer YOUR_TOKEN'}
response = requests.get('http://localhost:8080/api/stats', headers=headers)
print(response.json())

gRPC Services

root@kitploit:~
service MiningPool {
  rpc RegisterMiner(MinerInfo) returns (RegistrationResponse);
  rpc GetWork(WorkRequest) returns (WorkResponse);
  rpc SubmitWork(WorkSubmission) returns (SubmissionResponse);
  rpc Heartbeat(MinerStatus) returns (HeartbeatResponse);
  rpc StopMining(MinerInfo) returns (StopResponse);
}

Architecture

Technology Stack

  • Language: Go 1.21+
  • RPC Framework: gRPC with Protocol Buffers
  • Web Server: Go net/http standard library
  • Dependencies: google.golang.org/protobuf, google.golang.org/grpc

Development

Build Commands

root@kitploit:~
make proto                # Generate protobuf code
make build                # Build server and client (CPU only)
make build-gpu            # Build with GPU support (auto-detect)
make build-cuda           # Build with NVIDIA CUDA
make build-opencl         # Build with AMD/Intel OpenCL
make build-windows        # Cross-compile for Windows
make build-all-platforms  # Cross-compile for all platforms
make clean                # Remove build artifacts
make deps                 # Download dependencies
make init                 # Full initialization

Testing

RedTeamCoin includes comprehensive unit tests for both server and client components.

Run all tests:

root@kitploit:~
make test                 # Run all tests (server + client)

Run specific test suites:

root@kitploit:~
# Server tests
cd server && go test -v

# Client tests
cd client && go test -v -short

# With coverage
cd server && go test -cover
cd client && go test -cover

Test Coverage:

  • Server: 76 tests, 66.3% coverage

    • blockchain_test.go: 15 tests - Blockchain validation, hash calculation, concurrent access
    • pool_test.go: 26 tests - Miner management, work distribution, statistics
    • grpc_server_test.go: 17 tests - gRPC endpoints, miner control, heartbeats
    • api_test.go: 18 tests - REST API, authentication, miner operations
  • Client: 41 tests, 16.2% coverage

    • main_test.go: 24 tests - Mining logic, hash calculation, state management
    • gpu_test.go: 18 tests - GPU detection, device management, statistics

Total: 117 unit tests covering core functionality

What's tested:

  • Blockchain validation and integrity
  • Block mining and proof-of-work
  • Mining pool work distribution
  • Miner registration and management
  • Server-side miner control (pause/resume/delete/throttle)
  • gRPC communication protocols
  • REST API endpoints and authentication
  • GPU device detection and initialization
  • Hash rate calculation and statistics
  • Concurrent operations and thread safety
  • Error handling and edge cases

CI/CD Testing:

All tests run automatically on:

  • Pull requests
  • Commits to main branch
  • Release builds

See .github/workflows/build-verification.yaml for CI configuration.

Cross-Compilation

Windows (CPU-only):

root@kitploit:~
make build-windows

Creates bin/client.exe

Windows with OpenCL (GPU support):

root@kitploit:~
# Requires MinGW-w64 and Windows OpenCL SDK
make build-windows-opencl

Creates bin/client-windows-opencl.exe

See docs/WINDOWS_BUILD.md for complete Windows build instructions including:

  • Native Windows builds with GPU support
  • Cross-compilation setup from Linux
  • Authentication token configuration
  • Troubleshooting guide

Multiple Platforms:

root@kitploit:~
make build-all-platforms

Creates:

  • client-linux-amd64 - Linux 64-bit
  • client-linux-arm64 - Linux ARM64
  • client-windows-amd64.exe - Windows 64-bit
  • client-darwin-amd64 - macOS Intel
  • client-darwin-arm64 - macOS Apple Silicon

Note: Cross-compiled binaries are CPU-only (CGO disabled) unless using build-windows-opencl.

Analysis Tools

Generate damage assessment reports for mining impact analysis:

root@kitploit:~
make build-tools
./bin/generate_report -log pool_log.json

Report includes:

  • Resource consumption analysis
  • Performance impact assessment
  • Infrastructure damage
  • Security implications
  • Financial impact summary
  • System-by-system analysis
  • Remediation recommendations

Cost Assumptions:

Converting Reports:

root@kitploit:~
# PDF
pandoc Report_Miner_Activity_from_<date>_to_<date>.md -o report.pdf

# HTML
pandoc Report_Miner_Activity_from_<date>_to_<date>.md -o report.html

# DOCX
pandoc Report_Miner_Activity_from_<date>_to_<date>.md -o report.docx

Use Cases:

  • Post-incident analysis
  • Executive briefings
  • Financial justification
  • Compliance documentation
  • Insurance claims
  • Legal evidence

See tools/README.md for complete documentation.

Troubleshooting

Remote Connection Issues

Testing connectivity:

root@kitploit:~
# Test connection
ping <server_ip>
nc -zv <server_ip> 50051

# Check server (on server side)
lsof -i :50051
ss -an | grep 50051

Common issues:

  • Verify server address and port
  • Ensure server is running
  • Check firewall rules (client and server)
  • Confirm network connectivity
  • Verify port 50051 is listening

GPU Mining Issues

General Issues

Build failures:

  • Ensure Go 1.21+ installed
  • Run make deps to install dependencies
  • Run make install-tools for protoc tools

Connection refused:

  • Check server is running
  • Verify port not in use: lsof -i :50051
  • Check firewall settings

Authentication errors:

  • Verify token matches server output
  • Check Authorization: Bearer TOKEN header format
  • Ensure token included in URL or headers

Documentation

User Guides

  • docs/GPU_MINING.md - GPU mining with CUDA and OpenCL
  • docs/WINDOWS_BUILD.md - Windows build guide (native and cross-compilation)
  • docs/TLS_SETUP.md - HTTPS/TLS configuration
  • java-client/README.md - Java gRPC client (headless miner)
  • tools/README.md - Analysis tools and damage reports

Technical References

  • docs/WORKFLOWS.md - CI/CD workflows and development processes

Examples

  • docs/examples/ - Sample reports and usage examples

Contributing

We welcome contributions! Here's how to get started:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and add tests
  4. Run the test suite: make test
  5. Commit your changes: git commit -m 'Add amazing feature'
  6. Push to the branch: git push origin feature/amazing-feature
  7. Open a Pull Request

Development Setup

root@kitploit:~
# Clone your fork
git clone https://github.com/YOUR_USERNAME/RedTeamCoin.git
cd RedTeamCoin

# Install dependencies
make install-tools
make deps

# Run tests
make test

# Build and test locally
make build
make run-server  # Terminal 1
make run-client  # Terminal 2

Code Guidelines

  • Follow Go standard formatting (gofmt)
  • Add unit tests for new functionality
  • Update documentation for user-facing changes
  • Ensure all CI checks pass before submitting PR

Security Note

This is a demonstration/educational project for authorized security testing and red team operations. It is intended for:

  • Authorized penetration testing engagements
  • Security control validation
  • Detection capability assessment
  • Educational and training purposes

This tool is not intended for production use as a real cryptocurrency and lacks many features required for a production system (cryptographic signatures, wallets, transaction validation, network consensus, etc.).

Use only with explicit authorization on systems you own or have permission to test.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Acknowledgments

Created by:

  • Peter Greko (@Xyplex02)
  • Luciano Krigun (@klucho)
  • Jayson Grace (@l50)
Download Tool
ConfigurationHash RateSpeedupEfficiency (MH/W)
CPU (1 core)~2 MH/sBaseline~0.02
CPU (8 cores)~16 MH/s8x~0.02
GPU (RTX 3080)~500 MH/s250x~2.0
GPU (RTX 3090)~600 MH/s300x~2.5
GPU (AMD MI250)~800 MH/s400x~3.0
Hybrid (CPU+GPU)~620 MH/s310x~2.0
VariableDescriptionDefault
RTC_SERVER_NETWORK_GRPC_PORTgRPC server port50051
RTC_SERVER_NETWORK_API_PORTHTTPS API port8443
RTC_SERVER_NETWORK_HTTP_PORTHTTP web interface port8080
RTC_SERVER_MINING_DIFFICULTYMining difficulty (1-64)6
RTC_SERVER_MINING_BLOCK_REWARDBlock reward in coins50
RTC_SERVER_TLS_ENABLEDEnable HTTPS/TLSfalse
RTC_SERVER_TLS_CERT_FILETLS certificate pathcerts/server.crt
RTC_SERVER_TLS_KEY_FILETLS private key pathcerts/server.key
RTC_SERVER_API_READ_TIMEOUTAPI read timeout15s
RTC_SERVER_API_WRITE_TIMEOUTAPI write timeout15s
RTC_SERVER_API_IDLE_TIMEOUTAPI idle timeout60s
RTC_SERVER_LOGGING_UPDATE_INTERVALStats update interval30s
RTC_SERVER_LOGGING_FILE_PATHLog file pathpool_log.json
RTC_AUTH_TOKEN (legacy)Custom authentication tokenAuto-generated
VariableDescriptionDefault
RTC_CLIENT_SERVER_ADDRESSPool server address (host:port)localhost:50051
RTC_CLIENT_SERVER_TLS_ENABLEDEnable TLS for gRPC connectionfalse
RTC_CLIENT_SERVER_TLS_INSECURE_SKIP_VERIFYSkip certificate verificationtrue
RTC_CLIENT_SERVER_TLS_CA_CERT_FILEPath to CA certificate file""
RTC_CLIENT_MINING_GPU_ENABLEDEnable GPU miningtrue
RTC_CLIENT_MINING_HYBRID_MODEEnable CPU+GPU simultaneous miningfalse
RTC_CLIENT_MINING_AUTO_DELETEAuto-delete on shutdowntrue
RTC_CLIENT_GPU_NONCE_RANGENonce range per GPU batch500000000
RTC_CLIENT_GPU_CPU_START_NONCECPU start nonce (avoid GPU overlap)5000000000
RTC_CLIENT_NETWORK_HEARTBEAT_INTERVALStatus update interval30s
RTC_CLIENT_NETWORK_RETRY_INTERVALConnection retry delay10s
RTC_CLIENT_NETWORK_MAX_RETRY_TIMEMax retry duration5m
RTC_CLIENT_BEHAVIOR_WORKER_UPDATE_INTERVALWorker progress report interval100000
POOL_SERVER (legacy)Remote server addresslocalhost:50051
GPU_MINING (legacy)Enable/disable GPU miningAuto-detect
HYBRID_MINING (legacy)Enable CPU+GPU miningfalse
ParameterDefaultNotes
CPU Power150WFull load
GPU Power250WFull load
Electricity$0.12/kWhAdjust for region
Lifespan Reduction20-40%From sustained mining
ProblemSolution
"cannot find -lcuda"export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
"nvcc not found"sudo apt install cuda-toolkit
"No OpenCL device"sudo apt install ocl-icd-opencl-dev
GPU slowexport RTC_CLIENT_MINING_GPU_ENABLED=true
CGo build errorsudo apt install build-essential