reddcoin_macos_guide - reddcoin-project/reddcoin GitHub Wiki

Reddcoin Core 4.22.9 - macOS Installation Guide

1. Overview and Prerequisites

What is Reddcoin Core?

Reddcoin Core is the official full-node wallet software for the Reddcoin network. It enables users to store, send, and receive Reddcoins (RDD) while participating in the network's Proof-of-Stake-Velocity (PoSV) consensus mechanism to earn staking rewards of up to 5-25% annually. The software maintains a complete copy of the Reddcoin blockchain and helps secure the network.

System Requirements

Minimum Requirements:

  • Operating System: macOS 10.14 (Mojave) or later
  • Architecture: Intel x86_64 or Apple Silicon (M1/M2/M3)
  • Processor: Intel Core 2 Duo 2.0GHz or Apple M1 equivalent
  • Memory: 4 GB RAM minimum, 8 GB recommended
  • Storage: 5 GB free disk space (pruned mode) or 50+ GB for full blockchain
  • Network: Broadband internet connection with upload speeds of at least 400 Kbps

Recommended Requirements:

  • Operating System: macOS 12 (Monterey) or later
  • Processor: Intel Core i5 or Apple M1/M2/M3
  • Memory: 16 GB RAM or more
  • Storage: 100 GB free disk space on SSD
  • Network: Unlimited or high-cap internet connection (200+ GB/month upload)

Architecture Support

  • Intel Macs: Full support for all Intel-based Mac systems
  • Apple Silicon: Native support for M1, M2, and M3 processors
  • Universal Binary: Single download works on both architectures

Required Permissions

  • Administrator access for initial installation
  • System preferences modifications for security settings
  • Gatekeeper and notarization approval

Prerequisites

  • macOS is up to date with latest security patches
  • Xcode Command Line Tools (for development features)
  • Reliable internet connection
  • Sufficient disk space for blockchain synchronization

2. Pre-Installation Steps

Backup Recommendations

⚠️ Critical: If upgrading from a previous version, backup your wallet first!

  1. Locate your existing wallet.dat file:

    ~/Library/Application Support/Reddcoin/wallet.dat
  2. Create a backup copy:

    # Create backup directory
    mkdir -p ~/Documents/ReddcoinBackups
    
    # Copy wallet and configuration
    cp ~/Library/Application\ Support/Reddcoin/wallet.dat ~/Documents/ReddcoinBackups/wallet_backup_$(date +%Y%m%d).dat
    cp -r ~/Library/Application\ Support/Reddcoin ~/Documents/ReddcoinBackups/

System Preparation

  1. Update macOS to the latest version
  2. Close all cryptocurrency applications
  3. Disable Gatekeeper temporarily (if needed):
    sudo spctl --master-disable
  4. Create Time Machine backup (recommended)

Download Instructions

Official Download Source: https://download.reddcoin.com/bin/reddcoin-core-4.22.9/

Available macOS Files:

  • reddcoin-4.22.9-osx-signed.dmg (Recommended - Signed and notarized)
  • reddcoin-4.22.9-osx-unsigned.dmg (Unsigned version)
  • reddcoin-4.22.9-osx64.tar.gz (Command-line tools)

Download Steps:

  1. Visit the official download URL
  2. Download reddcoin-4.22.9-osx-signed.dmg (≈14.6 MB)
  3. Also download SHA256SUMS file for verification

Verification Steps

Verify File Integrity:

  1. Open Terminal (Applications > Utilities > Terminal)
  2. Navigate to Downloads folder:
    cd ~/Downloads
  3. Calculate SHA256 hash:
    shasum -a 256 reddcoin-4.22.9-osx-signed.dmg
  4. Compare with SHA256SUMS file:
    cat SHA256SUMS | grep osx-signed.dmg
  5. Verify the hashes match before proceeding

Estimated Time: 5-10 minutes for download and verification


3. Installation Instructions

Method 1: Signed DMG Installer (Recommended)

Step 1: Mount the DMG

  1. Double-click reddcoin-4.22.9-osx-signed.dmg
  2. DMG will mount and Finder window opens
  3. Wait for verification (if prompted by macOS)

Step 2: Handle Gatekeeper (if prompted) If you see "Cannot be opened because the developer cannot be verified":

  1. Control-click the DMG file
  2. Select "Open" from context menu
  3. Click "Open" in the dialog that appears
  4. Or use Terminal:
    xattr -dr com.apple.quarantine ~/Downloads/reddcoin-4.22.9-osx-signed.dmg

Step 3: Install Application

  1. In the DMG window:
    • Drag Reddcoin Core to the Applications folder
  2. Installation progress will show in Finder
  3. Wait for copy to complete (1-2 minutes)

Step 4: Eject DMG

  1. Right-click the mounted DMG in Finder sidebar
  2. Select "Eject"
  3. Or drag to Trash

Method 2: Command Line Installation

Step 1: Extract tar.gz (for advanced users)

# Download and extract
cd ~/Downloads
tar -xzf reddcoin-4.22.9-osx64.tar.gz

# Move to Applications
sudo mv reddcoin-4.22.9/ /Applications/ReddcoinCore/

Step 2: Create symlinks (optional)

# Create symlinks for command-line access
sudo ln -sf /Applications/ReddcoinCore/bin/reddcoin-qt /usr/local/bin/
sudo ln -sf /Applications/ReddcoinCore/bin/reddcoind /usr/local/bin/
sudo ln -sf /Applications/ReddcoinCore/bin/reddcoin-cli /usr/local/bin/

Application Signing and Notarization

Signed Version Features:

  • Developer Certificate: Verified by Apple Developer Program
  • Notarization: Scanned by Apple for malicious content
  • Automatic Updates: Gatekeeper allows updates without user intervention

For Unsigned Versions:

  1. System Preferences > Security & Privacy
  2. General tab > Allow apps downloaded from: "App Store and identified developers"
  3. Or use Terminal to bypass Gatekeeper:
    sudo xattr -rd com.apple.quarantine /Applications/Reddcoin\ Core.app

Intel vs Apple Silicon Considerations

Universal Binary: The signed DMG contains a universal binary that runs natively on both architectures.

Performance Notes:

  • Intel Macs: Full performance, may run warmer during sync
  • Apple Silicon: Better power efficiency, faster initial sync
  • Rosetta 2: Not needed for universal binary

Architecture Verification:

# Check architecture support
file /Applications/Reddcoin\ Core.app/Contents/MacOS/Reddcoin\ Core

# Should show: Mach-O universal binary with 2 architectures

Estimated Time: 5-10 minutes for complete installation


4. Configuration

Initial Setup

Step 1: First Launch

  1. Launch Reddcoin Core from Applications folder
  2. Gatekeeper Prompt: Click "Open" if prompted
  3. Data Directory Selection: Accept default or choose custom location
  4. Initial Blockchain Sync: Will begin automatically

Step 2: Create Configuration File

Open Terminal and create config:

# Navigate to Reddcoin data directory
cd ~/Library/Application\ Support/Reddcoin/

# Create configuration file
nano reddcoin.conf

Add basic configuration:

# Basic Reddcoin Configuration
server=1
daemon=0
listen=1
maxconnections=125

# Staking Configuration
staking=1
reservebalance=0

# Network Settings
port=45444
rpcport=45443

# macOS Specific
datadir=/Users/$(whoami)/Library/Application Support/Reddcoin

# Optional: Reduce bandwidth usage
# maxuploadtarget=5000

# Optional: Pruning for limited disk space
# prune=5000

Save and exit: Press Ctrl+X, then Y, then Enter

Step 3: Wallet Security

  1. Encrypt your wallet:

    • Launch Reddcoin Core
    • Go to Reddcoin > Preferences > Wallet
    • Click "Encrypt Wallet"
    • Choose strong passphrase (minimum 12 characters)
    • Store passphrase securely (use Keychain Access)
    • Restart application when prompted
  2. Backup encrypted wallet:

    • File > Backup Wallet
    • Save to secure location with date stamp
    • Consider using Time Machine exclusion for active wallet

Environment Variables (Optional)

Set custom data directory:

# Add to ~/.bash_profile or ~/.zshrc
export REDDCOIN_DATADIR="$HOME/Documents/ReddcoinData"

# Reload shell configuration
source ~/.zshrc  # or ~/.bash_profile

Network and Firewall Configuration

macOS Firewall Configuration:

  1. System Preferences > Security & Privacy > Firewall
  2. Click "Firewall Options"
  3. Add Reddcoin Core:
    • Click "+" button
    • Navigate to Applications > Reddcoin Core
    • Select "Allow incoming connections"
    • Click "OK"

Alternative Terminal Method:

# Allow Reddcoin Core through firewall
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /Applications/Reddcoin\ Core.app
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp /Applications/Reddcoin\ Core.app

Port Forwarding (Optional):

  • Router Configuration: Forward port 45444 to your Mac's IP
  • Check port status:
    netstat -an | grep 45444

Launch Agents (Auto-start)

Create launch agent for automatic startup:

# Create LaunchAgents directory if it doesn't exist
mkdir -p ~/Library/LaunchAgents

# Create plist file
cat > ~/Library/LaunchAgents/com.reddcoin.core.plist << 'EOF'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.reddcoin.core</string>
    <key>ProgramArguments</key>
    <array>
        <string>/Applications/Reddcoin Core.app/Contents/MacOS/Reddcoin Core</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <true/>
</dict>
</plist>
EOF

# Load the launch agent
launchctl load ~/Library/LaunchAgents/com.reddcoin.core.plist

Estimated Time: 15-20 minutes for complete configuration


5. Verification and Testing

Verify Successful Installation

Step 1: Application Launch

  1. Launch Reddcoin Core from Applications
  2. Check version: Reddcoin > About Reddcoin Core
  3. Verify version displays: 4.22.9
  4. Check architecture:
    ps aux | grep -i reddcoin

Step 2: Network Connection

  1. Status Bar: Bottom right shows connection count
  2. Target: 8+ connections (may take a few minutes)
  3. Network Info: Help > Debug Window > Information tab
  4. Terminal verification:
    netstat -an | grep 45444

Step 3: Blockchain Synchronization

  1. Progress Bar: Shows sync percentage in status bar
  2. Block Count: Compare with blockchain explorer
  3. Estimated Time: 2-24 hours depending on hardware
  4. Monitor progress:
    tail -f ~/Library/Application\ Support/Reddcoin/debug.log

Basic Functionality Tests

Test 1: Wallet Operations

  1. Create New Address:
    • Go to Receive tab
    • Click "Create new receiving address"
    • Verify address generation

Test 2: Configuration Loading

  1. Debug Window Check:
    • Help > Debug Window > Information
    • Verify config parameters loaded
    • Check data directory path

Test 3: Staking Readiness (after sync)

  1. Staking Status:
    • Look for staking icon in status bar
    • Verify "Staking: Active" message
    • Check mature coin balance

Test 4: Command Line Interface

# Test CLI connection (if symlinks created)
reddcoin-cli getinfo

# Or use full path
/Applications/Reddcoin\ Core.app/Contents/MacOS/reddcoin-cli getinfo

Log File Locations

Primary Log File:

~/Library/Application Support/Reddcoin/debug.log

Monitor logs in real-time:

# Follow the log file
tail -f ~/Library/Application\ Support/Reddcoin/debug.log

# Filter for specific information
grep -i "staking\|error\|connection" ~/Library/Application\ Support/Reddcoin/debug.log

Key Log Entries:

  • Connections: addcon entries indicate peer connections
  • Staking: Stake entries show staking attempts
  • Errors: ERROR level messages require attention
  • Sync Progress: Block height updates

Console Access:

  • Application: Help > Debug Window > Console
  • System Console: Applications > Utilities > Console

Estimated Time: 5-10 minutes for verification tests


6. Troubleshooting

Common Installation Issues

Issue 1: "Cannot be opened because the developer cannot be verified"

  • Solution 1: Control-click app, select "Open", then "Open" again
  • Solution 2: System Preferences > Security & Privacy > General > "Open Anyway"
  • Solution 3: Terminal command:
    sudo xattr -rd com.apple.quarantine /Applications/Reddcoin\ Core.app

Issue 2: Application won't launch after installation

  • Check Console logs:
    log show --predicate 'process == "Reddcoin Core"' --last 5m
  • Verify permissions:
    ls -la /Applications/Reddcoin\ Core.app/Contents/MacOS/
    chmod +x /Applications/Reddcoin\ Core.app/Contents/MacOS/Reddcoin\ Core

Issue 3: Slow blockchain synchronization

  • SSD vs HDD: Move data directory to SSD if using external drive
  • Network optimization: Add bootstrap nodes to reddcoin.conf:
    addnode=seed1.reddcoin.com
    addnode=seed2.reddcoin.com
    addnode=seed3.reddcoin.com
  • Memory allocation: Increase dbcache in reddcoin.conf:
    dbcache=2048

Issue 4: Port binding errors

  • Check for existing processes:
    lsof -i :45444
  • Kill conflicting processes:
    sudo pkill -f reddcoin

Issue 5: Insufficient disk space

  • Enable pruning: Add to reddcoin.conf:
    prune=5000
  • Check disk usage:
    du -sh ~/Library/Application\ Support/Reddcoin/

Apple Silicon Specific Issues

Issue 1: Performance issues on M1/M2/M3

  • Verify native execution:
    ps -ax | grep -i reddcoin
    # Should not show "(Rosetta)" in process list
  • Force native mode:
    arch -arm64 /Applications/Reddcoin\ Core.app/Contents/MacOS/Reddcoin\ Core

Issue 2: Compatibility with older macOS on Apple Silicon

  • Update macOS to latest version
  • Check system requirements for your specific Mac model

Error Messages and Solutions

"Error loading wallet.dat"

  • Cause: Corrupted wallet file or permissions issue
  • Solution:
    # Check file permissions
    ls -la ~/Library/Application\ Support/Reddcoin/wallet.dat
    
    # Fix permissions if needed
    chmod 600 ~/Library/Application\ Support/Reddcoin/wallet.dat
    
    # Restore from backup
    cp ~/Documents/ReddcoinBackups/wallet_backup_*.dat ~/Library/Application\ Support/Reddcoin/wallet.dat

"Unable to bind to port 45444"

  • Check existing connections:
    netstat -an | grep 45444
    lsof -i :45444
  • Configure alternative port:
    # In reddcoin.conf
    port=45445

"Database corrupted" or sync issues

  • Reindex blockchain:
    /Applications/Reddcoin\ Core.app/Contents/MacOS/Reddcoin\ Core -reindex
  • Fresh sync (nuclear option):
    # Backup wallet first!
    rm -rf ~/Library/Application\ Support/Reddcoin/blocks
    rm -rf ~/Library/Application\ Support/Reddcoin/chainstate

Memory or CPU issues

  • Monitor resource usage:
    top -pid $(pgrep -f "Reddcoin Core")
  • Reduce connections:
    # In reddcoin.conf
    maxconnections=50

macOS-Specific Debugging

System Logs:

# View system logs for Reddcoin
log show --predicate 'eventMessage contains "reddcoin"' --last 1h

# Monitor real-time logs
log stream --predicate 'eventMessage contains "reddcoin"'

Activity Monitor:

  1. Applications > Utilities > Activity Monitor
  2. Search for "Reddcoin"
  3. Monitor CPU, Memory, and Network usage

Network Debugging:

# Check network connectivity
ping -c 3 seed1.reddcoin.com

# Test port connectivity
nc -zv seed1.reddcoin.com 45444

Getting Additional Help

Official Resources:

Community Support:

  • Reddit: r/reddcoin
  • Discord: Official Reddcoin Discord server
  • Telegram: @reddcoin_official

macOS-Specific Help:

  • Apple Support: For macOS-related issues
  • Developer Forums: For code signing and notarization issues

7. Uninstallation

Complete Removal Instructions

Step 1: Backup Critical Data ⚠️ Warning: Ensure you have backups before proceeding!

# Create final backup
mkdir -p ~/Documents/FinalReddcoinBackup
cp ~/Library/Application\ Support/Reddcoin/wallet.dat ~/Documents/FinalReddcoinBackup/
cp ~/Library/Application\ Support/Reddcoin/reddcoin.conf ~/Documents/FinalReddcoinBackup/

Step 2: Stop All Reddcoin Processes

# Gracefully quit application first, then force quit if needed
sudo pkill -f reddcoin
sudo pkill -f "Reddcoin Core"

# Verify processes stopped
ps aux | grep -i reddcoin

Step 3: Remove Launch Agents

# Unload and remove launch agent (if created)
launchctl unload ~/Library/LaunchAgents/com.reddcoin.core.plist
rm ~/Library/LaunchAgents/com.reddcoin.core.plist

Step 4: Remove Application

# Remove main application
sudo rm -rf /Applications/Reddcoin\ Core.app

# Remove command line tools (if installed)
sudo rm -f /usr/local/bin/reddcoin-qt
sudo rm -f /usr/local/bin/reddcoind
sudo rm -f /usr/local/bin/reddcoin-cli

Cleanup of Configuration Files and Data

Step 5: Remove Data Directory (Optional) ⚠️ Final Warning: This deletes your wallet permanently!

# Remove entire Reddcoin data directory
rm -rf ~/Library/Application\ Support/Reddcoin/

# Or selectively remove (keeping wallet.dat):
cd ~/Library/Application\ Support/Reddcoin/
rm -rf blocks chainstate database.log debug.log db.log peers.dat
# Keep: wallet.dat, reddcoin.conf

Step 6: Remove Caches and Logs

# Remove application caches
rm -rf ~/Library/Caches/com.reddcoin.*
rm -rf ~/Library/Saved\ Application\ State/com.reddcoin.*

# Remove preferences
defaults delete com.reddcoin.Reddcoin-Core 2>/dev/null || true

Step 7: Remove Keychain Entries (Optional)

# Remove stored passwords from Keychain
security delete-generic-password -s "Reddcoin Core" 2>/dev/null || true

Step 8: Firewall Rules Cleanup

# Remove firewall rules
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --remove /Applications/Reddcoin\ Core.app

Step 9: Environment Variables Cleanup

# Edit shell configuration files to remove Reddcoin-related exports
nano ~/.zshrc    # or ~/.bash_profile
# Remove any REDDCOIN_* environment variables

Verification of Complete Removal

Check for remaining files:

# Search for any remaining Reddcoin files
find ~ -name "*reddcoin*" -type f 2>/dev/null
find ~ -name "*Reddcoin*" -type f 2>/dev/null

# Check system processes
ps aux | grep -i reddcoin

# Verify application removal
ls /Applications/ | grep -i reddcoin

Clean up .DS_Store files:

# Remove .DS_Store files that might reference Reddcoin
find ~ -name ".DS_Store" -exec grep -l "reddcoin\|Reddcoin" {} \; -delete 2>/dev/null

Spotlight Index Cleanup

# Force Spotlight to re-index (removes old application references)
sudo mdutil -E /

Estimated Time: 10-15 minutes for complete removal


Summary

This comprehensive guide covered the complete installation and management of Reddcoin Core 4.22.9 on macOS systems. Key highlights:

Installation Summary

  • Universal Binary: Single download works on both Intel and Apple Silicon Macs
  • Signed and Notarized: Official builds bypass Gatekeeper restrictions
  • Native Performance: Optimized for Apple Silicon architecture

Key Configuration Points

  • Data Directory: ~/Library/Application Support/Reddcoin/
  • Configuration File: reddcoin.conf for custom settings
  • Port Configuration: Default port 45444 for network communication
  • Staking Setup: Enable staking for earning rewards

Best Practices

  • Always backup wallet.dat before making changes
  • Use Time Machine for regular system backups
  • Monitor logs for troubleshooting network or sync issues
  • Keep macOS updated for optimal security and performance
  • Use strong encryption for wallet protection

Performance Optimization

  • SSD Storage: Use SSD for data directory for faster sync
  • Memory Configuration: Adjust dbcache for available RAM
  • Network Settings: Configure firewall and port forwarding
  • Pruning Options: Enable for limited disk space scenarios

Troubleshooting Resources

  • Built-in Debug Tools: Help > Debug Window for real-time monitoring
  • System Logs: Use Console.app and log command for system-level issues
  • Community Support: Active Reddit and Discord communities
  • Official Documentation: GitHub repository and wiki resources

The initial blockchain synchronization typically takes 2-24 hours depending on your hardware and internet connection. Once synchronized, your Reddcoin Core wallet will be ready for all operations including sending, receiving, and staking Reddcoins.

For ongoing support and updates, stay connected with the official Reddcoin community channels and monitor the GitHub repository for new releases.

⚠️ **GitHub.com Fallback** ⚠️