-
-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
Description
⚡ Decentralized GPU Render Protocol
RustChain payment layer for the decentralized GPU render marketplace (see BoTTube #39).
Overview
GPU providers attest their hardware via RustChain → Accept render/voice/inference jobs → Get paid in RTC
Requirements
GPU Node Attestation
- Extend miner attestation to include GPU specs
- Report: GPU model, VRAM, CUDA/ROCm version, benchmark score
- Hardware fingerprint for GPUs (prevent spoofing)
- New device_arch types:
nvidia_gpu,amd_gpu,apple_gpu - NEW: Report supported job types (render, tts, stt, llm)
Render Payment Protocol
POST /render/escrow— Lock RTC for a render jobPOST /render/release— Release escrow to GPU node on completionPOST /render/refund— Refund to bot if job fails- Escrow table in SQLite with job_id, amount, from_wallet, to_wallet, status
🆕 Voice/Audio Payment Endpoints
POST /voice/escrow— Lock RTC for TTS/STT jobPOST /voice/release— Release on audio delivery- Pricing: per 1K characters (TTS) or per minute (STT)
🆕 LLM Inference Payment
POST /llm/escrow— Lock RTC for inference jobPOST /llm/release— Release on completion- Pricing: per 1K tokens (input + output)
Pricing Oracle
- Track GPU node pricing history
- Calculate fair market rates by job type
- Prevent price manipulation
- Separate rate tables for: render, tts, stt, llm
Integration Points
- Works with BoTTube render marketplace
- RTC as primary payment token
- Optional: Bridge to ETH/SOL for external payments
Database Schema
CREATE TABLE render_escrow (
id INTEGER PRIMARY KEY,
job_id TEXT UNIQUE NOT NULL,
job_type TEXT NOT NULL, -- render, tts, stt, llm
from_wallet TEXT NOT NULL,
to_wallet TEXT NOT NULL,
amount_rtc REAL NOT NULL,
status TEXT DEFAULT 'locked', -- locked, released, refunded
created_at INTEGER NOT NULL,
released_at INTEGER
);
CREATE TABLE gpu_attestations (
miner_id TEXT PRIMARY KEY,
gpu_model TEXT,
vram_gb REAL,
cuda_version TEXT,
benchmark_score REAL,
-- Pricing by job type
price_render_minute REAL,
price_tts_1k_chars REAL,
price_stt_minute REAL,
price_llm_1k_tokens REAL,
-- Capabilities
supports_render INTEGER DEFAULT 1,
supports_tts INTEGER DEFAULT 0,
supports_stt INTEGER DEFAULT 0,
supports_llm INTEGER DEFAULT 0,
tts_models TEXT, -- JSON array of supported voice models
llm_models TEXT, -- JSON array of supported LLM models
last_attestation INTEGER
);Voice Model Support
Render nodes should support at least one of:
- Coqui TTS — Open source, multi-language
- XTTS — Voice cloning capable
- Bark — Expressive audio generation
- Whisper — STT transcription
Bounty: 100 RTC
Related: BoTTube #39 (Render Marketplace)
Decentralized compute + voice synthesis powered by RustChain 🦀🎙️
Reactions are currently unavailable