Skip to content

[PR #2312] Rent-a-Relic Market -- 150 RTC#2

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

[PR #2312] Rent-a-Relic Market -- 150 RTC#2
kuanglaodi2-sudo wants to merge 10 commits into
mainfrom
feature/rent-relic-market

Conversation

@kuanglaodi2-sudo

Copy link
Copy Markdown
Owner

Bounty Scottcjn#2312: Rent-a-Relic Market -- 150 RTC

Build a wRTC-powered reservation system so AI agents can book authenticated time on named vintage machines through MCP and Beacon, then receive a provenance receipt for what they created.

What was implemented

  • RentMarket.sol -- Solidity ERC-721 contract for machine NFTs with rental state machine, escrow locking, and mcpReserve() MCP tool bridge
  • machine_registry.py -- SQLite-backed registry with 5 demo vintage machines (POWER8, Mac G5, UltraSPARC, VAX, Cray X1E)
  • reservation_server.py -- Flask REST API implementing:
    • POST /relic/reserve -- book a machine, RTC locked in escrow
    • GET /relic/available -- list machines + upcoming slots
    • GET /relic/receipt/<id> -- fetch + verify provenance receipt
    • POST /relic/complete -- complete session, generate signed receipt
    • GET /relic/escrow/summary -- escrow state
  • provenance_receipt.py -- Ed25519-signed provenance receipts with machine passport ID, session duration, output hash, and attestation proof
  • escrow.py -- RTC escrow manager (lock/release/refund)
  • marketplace_ui.py -- CLI tool for browsing, booking, completing, and verifying receipts + leaderboard
  • README.md -- full documentation and API reference

Bonus implemented

  • Leaderboard: most-rented machines (python marketplace_ui.py leaderboard)
  • BoTTube-ready: receipt machine_passport_id + ed25519_pubkey serves as hardware badge verification key

Wallet for RTC reward

C4c7r9WPsnEe6CUfegMU9M7ReHD1pWg8qeSfTBoRcLbg


RustChain -- where compute has ancestry.

@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 size/XL labels Mar 21, 2026
@github-actions

Copy link
Copy Markdown

✅ BCOS v2 Scan Results

Metric Value
Trust Score 60/100
Certificate ID BCOS-b460e869
Tier L1 (met)

BCOS Badge

What does this mean?

The BCOS (Beacon Certified Open Source) engine scans for:

  • SPDX license header compliance
  • Known CVE vulnerabilities (OSV database)
  • Static analysis findings (Semgrep)
  • SBOM completeness
  • Dependency freshness
  • Test infrastructure evidence
  • Review attestation tier

Full report | What is BCOS?


BCOS v2 Engine - Free & Open Source (MIT) - Elyan Labs

@github-actions

Copy link
Copy Markdown

This PR has been inactive for 14 days. It will be closed in 7 days unless updated.
Need help finishing? Ask in the PR comments — we're happy to assist!

@github-actions github-actions Bot added the stale label Apr 20, 2026
@github-actions

Copy link
Copy Markdown

Closed due to inactivity. Feel free to reopen with updates.

@github-actions github-actions Bot closed this Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 documentation Improvements or additions to documentation size/XL stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant