Skip to content

[PR #2312] Rent-a-Relic Market 鈥?150 RTC#1743

Closed
kuanglaodi2-sudo wants to merge 10 commits intoScottcjn:mainfrom
kuanglaodi2-sudo:feature/rent-relic-market
Closed

[PR #2312] Rent-a-Relic Market 鈥?150 RTC#1743
kuanglaodi2-sudo wants to merge 10 commits intoScottcjn:mainfrom
kuanglaodi2-sudo:feature/rent-relic-market

Conversation

@kuanglaodi2-sudo
Copy link
Copy Markdown
Contributor

Bounty #2312: Rent-a-Relic Market 鈥?150 RTC

Claimed by: kuanglaodi2-sudo
Wallet: C4c7r9WPsnEe6CUfegMU9M7ReHD1pWg8qeSfTBoRcLbg

What Was Implemented

Complete wRTC-powered reservation system for booking authenticated time on vintage machines.

Files:

elic_market/

  1. RentMarket.sol 鈥?ERC-721 contract for machine NFTs with rental state machine, escrow locking, uptime tracking, and mcpReserve() bridge for AI agent integration

  2. machine_registry.py 鈥?SQLite registry with 5 demo vintage machines:

    • IBM POWER8 "Old Ironsides"
    • Mac G5 "Amber Ghost"
    • UltraSPARC "Solaris Sparrow"
    • VAX "Vax Phantom"
    • Cray X1E "Cray Shade"
  3. **
    eservation_server.py** 鈥?Flask REST API on port 5001:

    • POST /relic/reserve 鈥?book a machine, RTC locked in escrow
    • GET /relic/available 鈥?list machines + upcoming slots
    • POST /relic/complete 鈥?complete session, release escrow, generate signed receipt
    • GET /relic/receipt/ 鈥?fetch + verify provenance receipt
    • GET /relic/rentals?renter= 鈥?list rentals per wallet
    • GET /relic/escrow/summary 鈥?escrow state overview
    • POST /relic/cancel 鈥?cancel pending reservation, refund escrow
  4. provenance_receipt.py 鈥?Ed25519-signed receipts with machine passport ID, session duration, SHA-256 output hash, attestation proof, and Ed25519 signature

  5. escrow.py 鈥?RTC escrow manager with lock/release/refund states and SQLite persistence

  6. marketplace_ui.py 鈥?Full CLI: list, �vailable, �ook, status, complete,
    eceipt, leaderboard, escrow

  7. README.md 鈥?Complete documentation with API reference, usage examples, architecture overview

Bonus Implemented

  • Leaderboard: python marketplace_ui.py leaderboard ranks machines by rental count
  • BoTTube integration ready: receipt's machine_passport_id + ed25519_pubkey serves as hardware authenticity badge for videos rendered on relic hardware

Example Use Cases

  • "I want my LLM inference to run on a POWER8 with 512GB RAM 鈥?book it"
  • "Generate this video on a G5 and prove it" (Relic Render Rite)
  • "Run my benchmark on 5 different architectures simultaneously"

@github-actions
Copy link
Copy Markdown

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 documentation Improvements or additions to documentation BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) size/XL PR: 500+ lines labels Mar 21, 2026
@Scottcjn
Copy link
Copy Markdown
Owner

Thanks for your interest! These PRs have issues: PR #1748 destructively overwrites the project README, multiple PRs contain placeholder data, and 7 high-value bounty claims in one day from a 22-day account suggests bulk generation. Please review our contribution guidelines — start with one small, complete PR and build from there. Quality over quantity.

@kuanglaodi2-sudo
Copy link
Copy Markdown
Contributor Author

👋 Hi @Scottcjn — I'm checking in on the status of payouts for my closed PRs. Here's what I'm tracking as owed:

Bounty PR Amount Status
#2246 #1722 300 RTC CLOSED
#2275 #1734 200 RTC MERGED ✅
#2276 #1736 150 RTC CLOSED
#2277 #1745 250 RTC CLOSED
#2278 #1735 100 RTC CLOSED
#2310 #1742 140 RTC CLOSED
#2311 #1885 75 RTC MERGED ✅
#2312 #1743 150 RTC CLOSED
#2295 #1791 75 RTC CLOSED
#2297 #1748 100 RTC CLOSED

PR #1734 and #1885 are confirmed merged. Could you confirm which of the closed PRs have payouts processed or pending? Also — my wallet address is C4c7r9WPsnEe6CUfegMU9M7ReHD1pWg8qeSfTBoRcLbg. Please confirm if this format works or if you need it in a different format. Thanks!

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) documentation Improvements or additions to documentation size/XL PR: 500+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants