Skip to content

Conversation

Copy link

Copilot AI commented Feb 2, 2026

Implements a comprehensive installer for RustChain miners supporting Linux (Ubuntu/Debian/Fedora) and macOS (Intel/Apple Silicon) with virtualenv isolation, persistent service setup, and clean uninstall.

Changes

Installer enhancements (install.sh)

  • Virtualenv isolation at ~/.rustchain/venv - dependencies install without touching system Python
  • Systemd user service (Linux) and launchd agent (macOS) for auto-start on boot with failure restart
  • --uninstall flag removes services, files, virtualenv, and configuration cleanly
  • --wallet WALLET_NAME argument for non-interactive installations
  • Post-install output includes wallet balance check commands and service management instructions

Platform support

  • Linux: x86_64, ppc64le, ppc, POWER8 with systemd service
  • macOS: Intel (x86_64), Apple Silicon (arm64), PowerPC with launchd agent

Documentation

  • Updated README.md with installation examples and service management commands
  • New INSTALL.md (371 lines) covering installation, troubleshooting, service management, and security notes

Usage

# Install with auto-generated wallet
curl -sSL https://raw.githubusercontent.com/Scottcjn/Rustchain/main/install.sh | bash

# Install with specific wallet (non-interactive)
curl -sSL https://raw.githubusercontent.com/Scottcjn/Rustchain/main/install.sh | bash -s -- --wallet my-miner

# Uninstall completely
curl -sSL https://raw.githubusercontent.com/Scottcjn/Rustchain/main/install.sh | bash -s -- --uninstall

# Manage service (Linux)
systemctl --user status rustchain-miner

# Manage service (macOS)
launchctl list | grep rustchain

Technical notes

  • Virtualenv creation uses python -m venv with fallback to virtualenv module
  • Services run as user (no root/sudo required)
  • SSL verification disabled for self-signed node certificate (documented in security notes)
  • Service logs to ~/.rustchain/miner.log
Original prompt

Fetch this issue and all it's comment and implement the features ( https://github.com/Scottcjn/ rustchain-bounties/ issues/4) I spaced the link out so the issue does not get tagged , don't tag the issue in the final pr, implement all features requested in the issue


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits February 2, 2026 16:42
…re to installer

Co-authored-by: samuel-asleep <210051637+samuel-asleep@users.noreply.github.com>
Co-authored-by: samuel-asleep <210051637+samuel-asleep@users.noreply.github.com>
…ocumentation

Co-authored-by: samuel-asleep <210051637+samuel-asleep@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement features from issue 4 Add production-ready one-command miner installer with virtualenv isolation and service management Feb 2, 2026
Copilot AI requested a review from samuel-asleep February 2, 2026 16:50
@samuel-asleep samuel-asleep marked this pull request as ready for review February 2, 2026 16:53
@samuel-asleep samuel-asleep reopened this Feb 2, 2026
@samuel-asleep samuel-asleep deleted the copilot/implement-issue-4-features branch February 2, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants