Skip to content

Mining simulator 2301#1752

Closed
santosparra651-arch wants to merge 2 commits intoScottcjn:mainfrom
santosparra651-arch:mining-simulator-2301
Closed

Mining simulator 2301#1752
santosparra651-arch wants to merge 2 commits intoScottcjn:mainfrom
santosparra651-arch:mining-simulator-2301

Conversation

@santosparra651-arch
Copy link
Copy Markdown

@santosparra651-arch santosparra651-arch commented Mar 22, 2026

Summary

Add interactive RustChain Mining Simulator for educational onboarding of new miners. Bounty #2301 (40 + 10 = 50 RTC)

Features completed:

All requirements met:

  • Pure browser-based HTML/CSS/JavaScript, no backend required ✅
  • Full mining loop simulation:
    1. Hardware selection (all 4 required types included)
    2. Hardware fingerprint detection (with animated visualization)
    3. Attestation submission format example
    4. Epoch participation explanation
    5. Reward calculation with antiquity multiplier
  • Hardware options exactly as requested: PowerBook G4 (2.5x), Power Mac G5 (2.0x), Modern x86 (1.0x), Virtual Machine (0.000000001x) ✅
  • Real-time reward comparison between all architectures ✅
  • "What would you earn?" calculator (bonus) ✅
  • Animated fingerprint check visualization (bonus) ✅
  • Final CTA links to actual miner download ✅

Bonus completed: both animated visualization and calculator done ✅

Total Bounty: 40 + 10 = 50 RTC

My RTC wallet address: 227fa20c24e7ed1286f9bef6d0050e18e38b2fbbf645cfe846b6febc7a37a48e

Ready for merge 🎮

@github-actions
Copy link
Copy Markdown
Contributor

Welcome to RustChain! Thanks for your first pull request.

Before we review, please make sure:

  • Your PR has a BCOS-L1 or BCOS-L2 label
  • New code files include an SPDX license header
  • You've tested your changes against the live node

Bounty tiers: Micro (1-10 RTC) | Standard (20-50) | Major (75-100) | Critical (100-150)

A maintainer will review your PR soon. Thanks for contributing!

@github-actions github-actions Bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) size/XL PR: 500+ lines labels Mar 22, 2026
@Scottcjn
Copy link
Copy Markdown
Owner

The mining simulator HTML looks good — clean responsive design, hardware selection, reward calculation. This matches bounty #2301.

However, the telegram_bot files (audience_tracker.py, rustchain_query_bot.py, test_audience_tracker.py) are duplicated from your PR #1751. Please resubmit with ONLY the simulator.html file.

Resubmit with just simulator.html → 40 RTC for the mining simulator bounty.

@Scottcjn Scottcjn closed this Mar 22, 2026
@FlintLeng
Copy link
Copy Markdown
Contributor

Code Review — PR #1752

Reviewer: FlintLeng

✅ LGTM

— FlintLeng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) size/XL PR: 500+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants