Skip to content

Add Hall of Fame Machine Detail Pages (Bounty #505)#477

Closed
ansomeck wants to merge 1 commit intoScottcjn:mainfrom
ansomeck:hall-of-fame-machine-details
Closed

Add Hall of Fame Machine Detail Pages (Bounty #505)#477
ansomeck wants to merge 1 commit intoScottcjn:mainfrom
ansomeck:hall-of-fame-machine-details

Conversation

@ansomeck
Copy link
Contributor

@ansomeck ansomeck commented Mar 1, 2026

Overview

Complete implementation of clickable machine detail pages for the Hall of Fame.

Changes

Frontend (40 RTC)

explorer/machine.html - Complete machine profile page

  • Accessible via /explorer/machine.html?id=<fingerprint_hash>
  • CRT terminal aesthetic matching existing Hall of Fame
  • All required information displayed
  • Memorial styling for deceased machines
  • Responsive design
  • 30-day attestation timeline
  • Epoch participation stats

Backend (10 RTC)

node/hall_of_rust.py - New API endpoint

  • GET /api/hall_of_fame/machine?id=<hash>
  • Complete machine details
  • 30-day attestation timeline
  • Epoch participation statistics
  • Proper error handling
    ity
  • SQL injection protection (parameterized queries)
  • Input validation
  • XSS protection
  • Error handling

Testing

  • ✅ Python syntax validated
  • ✅ API structure correct
  • ✅ HTML/CSS/JS valid
  • ✅ Security reviewed

Closes #505 (50 RTC)

RTC Wallet: RTCf4c3ff0e8443fb3c420fa7c23e7fef36cde61cab

Frontend (40 RTC):
- New machine.html page with CRT terminal aesthetic
- Displays complete machine profile with all required fields
- 30-day attestation timeline visualization
- Memorial styling for deceased machines (grayscale, faded)
- Responsive design for mobile/desktop
- Error handling and loading states
- Bonus: epoch participation stats, RTC earnings, thermal events

Backend (10 RTC):
- New API endpoint: GET /api/hall_of_fame/machine?id=<hash>
- Returns complete machine details from hall_of_rust table
- Includes 30-day attestation timeline
- Epoch participation statistics
- Proper error handling (400, 404, 500)
- SQL injection protection (parameterized queries)

Security:
- All SQL queries use parameterized placeholders
- Input validation and error handling
- XSS protection with proper encoding
- No sensitive data in error messages

Code Quality:
- Python syntax validated
- Clean, modular code structure
- Comprehensive error handling
- Follows existing code style

Closes Scottcjn#505 (50 RTC total)
@github-actions github-actions bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) node Node server related size/XL PR: 500+ lines labels Mar 1, 2026
@Scottcjn
Copy link
Owner

Scottcjn commented Mar 1, 2026

Closing in favor of #479 by @createkr which includes both the machine detail page and the API endpoint. Thanks for the submission @ansomeck — first complete PR with working API wins the bounty.

@Scottcjn Scottcjn closed this Mar 1, 2026
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) node Node server related size/XL PR: 500+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants