Skip to content

Conversation

@muhammetsimssek
Copy link

Implemented a standalone Windows installer using PyInstaller and Inno Setup.

Features

  • Bundled portable Python 3.10 environment.
  • Automated virtualenv setup and dependency management.
  • GUI-based wallet name configuration.
  • Auto-start on boot via Windows Scheduled Tasks.
  • Start Menu shortcuts for control and logs.

Payout Details

  • Solana Wallet: 2AVzzmaj5QyewYgrNdNF4KeedNTr4vkt6JHQqHQc6uMb

Closes #53

Copy link

@mgrigajtis mgrigajtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an ambitious and valuable PR, but it’s very large and includes a few high-risk items for maintainability.

Key review points / requests:

  1. Repo bloat / binary & vendored files
  • miners/windows/python-3.10.11-embed-amd64.zip is a binary blob. That will inflate repo size and complicate history.
  • miners/windows/get-pip.py is ~27k lines (vendored). If possible, download these at build/install time instead of committing.
  1. Supply-chain integrity
  • If you do download at install time, please add checksum validation for downloaded artifacts (embedded python zip, get-pip, etc.).
  • Consider pinning versions + hashes in a single manifest.
  1. Privilege / persistence
  • The PR mentions Scheduled Tasks / auto-start. Please document exactly what is created/modified and provide an uninstall path.
  1. Separation of concerns
  • Suggest splitting into:
    (A) Windows miner + docs
    (B) Installer tooling (Inno/NSIS/PyInstaller scripts)
    (C) Bundling embedded python (if kept)
  1. Security
  • Any auto-update / download mechanism should be HTTPS + pinned hashes to reduce MITM risk.

If you can split the PR and avoid committing large binaries, it will be much easier to review and merge.

@muhammetsimssek
Copy link
Author

🚀 Major Refactor & Cleanup — Bounty #53

Based on the feedback regarding maintainability and repo bloat (@mgrigajtis), I have completely refactored this PR:

  1. Removed Binary Blobs: Deleted the embedded Python zip and 'get-pip.py' script. The repo is now clean and source-only.
  2. Professional Packaging: Switched to a combined PyInstaller + Inno Setup workflow.
    • The miner is bundled into a single executable locally.
    • An interactive installer wizard handles wallet configuration and shortcuts.
  3. Maintainability: All build logic is now contained in 'miners/windows/installer/'. Maintainers can rebuild the installer with a single command ('python build_miner.py').
  4. Tray Icon Support: Implemented a system tray icon (pystray) for background mining control and status monitoring.
  5. Persistence & Uninstall: Auto-start is now handled via a standard HKCU registry key (optional during install). A full uninstaller is provided.
  6. Security: Hardened the Python code with proper error handling and SSL 'verify=False' as required by the node.

Verification

I've included a screenshot ('miners/windows/installer/assets/screenshot.png') showing the installer workflow and the miner running successfully on Windows 11.

Ready for final review. @Scottcjn

@muhammetsimssek muhammetsimssek force-pushed the bounty-53-windows-installer branch 2 times, most recently from b3f771d to bf43434 Compare February 10, 2026 18:13
…tcjn#53)

Includes:
- Single .exe installer with bundled Python and dependencies
- Wallet name prompting during setup
- System tray icon with status indicator (Bonus)
- Start Menu shortcuts and optional auto-start
- Clean logs management in %APPDATA%
- SSL verify=False support for self-signed node certs
@muhammetsimssek muhammetsimssek force-pushed the bounty-53-windows-installer branch from bf43434 to 2d270dc Compare February 10, 2026 18:15
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.

[BOUNTY] Windows Installer (.exe) for RustChain Miner (100 RTC)

2 participants