Skip to content

feat: Decentralized GPU Render Protocol — RTC Payment Layer (Bounty #30, 100 RTC)#1843

Open
AliaksandrNazaruk wants to merge 1 commit intoScottcjn:mainfrom
AliaksandrNazaruk:feat/gpu-render-protocol
Open

feat: Decentralized GPU Render Protocol — RTC Payment Layer (Bounty #30, 100 RTC)#1843
AliaksandrNazaruk wants to merge 1 commit intoScottcjn:mainfrom
AliaksandrNazaruk:feat/gpu-render-protocol

Conversation

@AliaksandrNazaruk
Copy link
Contributor

Bounty #30 — Decentralized GPU Render Protocol (100 RTC)

Implements the complete GPU Render Protocol as specified in issue #30.

What's included:

GPU Node Attestation:

  • Register/update GPU nodes with hardware specs (model, VRAM, CUDA/ROCm version)
  • Hardware fingerprinting to prevent spoofing
  • Support for nvidia_gpu, amd_gpu, apple_gpu device architectures
  • Capability flags: render, TTS, STT, LLM
  • Supported model lists (TTS voices, LLM models)

Escrow Payment Endpoints:

  • POST /render/escrow — Lock RTC for render jobs
  • POST /voice/escrow — Lock RTC for TTS/STT jobs
  • POST /llm/escrow — Lock RTC for inference jobs
  • POST /render|voice|llm/release — Release to GPU provider on completion
  • POST /render/refund — Refund on job failure
  • GET /render/escrow/<job_id> — Check escrow status

Pricing Oracle:

  • Fair market rate calculation from active GPU node pricing
  • Price manipulation detection (flags >3x avg or <0.1x min)
  • Historical pricing records
  • Separate rate tables for render, TTS, STT, LLM

Database:

  • SQLite with WAL mode for concurrent access
  • render_escrow table with status tracking
  • gpu_attestations table with full spec storage
  • pricing_history table for oracle data

Integration:

Tests

12 unit tests, all passing ✅

Closes #30

… (Bounty Scottcjn#30, 100 RTC)

Implements the complete Decentralized GPU Render Protocol:

- GPU Node Attestation with hardware fingerprinting (nvidia_gpu, amd_gpu, apple_gpu)
- Render/Voice(TTS/STT)/LLM escrow payment endpoints
- Pricing oracle with fair market rate tracking and manipulation detection
- SQLite-backed storage with WAL mode for concurrent access
- Flask route registration for integration with existing RustChain node
- 12 unit tests, all passing

Endpoints: POST /gpu/attest, GET /gpu/nodes, POST /render|voice|llm/escrow,
POST /render|voice|llm/release, POST /render/refund, GET /render/pricing

Related: BoTTube Scottcjn#39 (Render Marketplace)
@github-actions github-actions bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) node Node server related tests Test suite changes labels Mar 25, 2026
@github-actions github-actions bot added the size/XL PR: 500+ lines label Mar 25, 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 tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚡ Bounty: Decentralized GPU Render Protocol — RTC Payment Layer (100 RTC)

2 participants