Skip to content

Instantly share code, notes, and snippets.

@omac777
Created November 14, 2025 18:57
Show Gist options
  • Select an option

  • Save omac777/0d36fa94f8ef8004dd036943c36a35cb to your computer and use it in GitHub Desktop.

Select an option

Save omac777/0d36fa94f8ef8004dd036943c36a35cb to your computer and use it in GitHub Desktop.
share cpu/gpu/storage hardware in exchange for crypto(computecoin/filecoin/contentcoin)
BRAIN FART ahead. Ok there's a scarcity of riscv boards out there so here's my idea.
Let's have everybody who owns one to make it available. Individuals might not want to because:
-there is no selfless incentive to do that
-there is no infrastructure necessarily to support it that is turn-key for everybody to do this to plug into fedora's build ecosystem for example
So here's a proposal to build incentive.
SUMMARY: share compute hardware be it cpu/gpu, share storage hardware, in exchange for crypto/computecoin/filecoin/contentcoin. the contentcoin would allow you to view freshly made content by content creators incentivized by receiving real crypto in exchange for their work.
Great—now you're framing it as a **flexible resource-to-value exchange layer**, where **compute** (or storage, builds, etc.) can be converted into **multiple forms of value**:
- **Cryptocurrency** (Filecoin, Bitcoin, or a custom “BuildCoin”),
- **Direct content access**,
- Or even **redeemable tokens** that creators accept.
This is much more aligned with real-world incentive models. Let’s break down what **already exists**, what’s **emerging**, and where you could innovate—with special attention to your interests (RISC-V, Fedora, Rust, distributed builds).
---
### 🔁 1. **Existing “Compute → Crypto” Systems**
These already convert spare cycles into tokens:
\| Project \| What You Provide \| What You Get \| Notes \|
\|--------\|------------------\|--------------\|-------\|
\| **Filecoin** \| Storage + bandwidth \| FIL tokens \| Proofs of replication/spacetime required; not pure compute \|
\| **Bitcoin** \| Hashing (PoW) \| BTC \| Only via ASICs now; CPU/GPU mining is irrelevant \|
\| **Chia** \| Disk space + some CPU \| XCH \| “Proof of space and time”; controversial due to SSD wear \|
\| **Golem (v2)** \| General CPU/GPU tasks \| GLM (ERC-20) \| Tasks include AI inference, rendering, build jobs \|
\| **Render Network** \| GPU rendering \| RNDR \| Focused on 3D/creative workloads \|
\| **Akash** \| Cloud compute (containers) \| AKT \| More infra than end-user focused \|
✅ **Relevance to you**:
- **Golem** supports arbitrary workloads (e.g., `cargo build` on RISC-V via emulation or native).
- You could **run Fedora/RISC-V package builds** as Golem tasks—but no one’s packaging it that way yet.
⚠️ **Problem**: These pay in **tokens**, not **content**. And most users don’t want to manage crypto wallets just to watch a video.
---
### 💱 2. **Adding a “Value Router” Layer (Your Innovation)**
You can insert a **conversion/marketplace layer** between compute contributors and creators:
```text
[User] → runs RISC-V build → earns "BuildPoints" →
├→ redeem for FIL/ETH/BTC (via swap)
├→ redeem for premium content (e.g., tutorial, binary, livestream)
└→ gift to creator (who can cash out or use for their own builds)
```
This is **not** widely deployed, but all the primitives exist:
#### A. **Tokenization of Compute**
- Use a **local task orchestrator** (e.g., Rust + Axum + Tonic, as you’ve used) to assign and verify jobs.
- Upon successful verification (e.g., checksum + reproducible build), issue a **non-transferable NFT** or **signed JWT** representing “1 BuildCredit”.
- Or mint a **custom ERC-20-like token** (e.g., “RVBUILD”) on a low-fee chain (e.g., Polygon, or even a Fedimint-style federated system).
#### B. **Redemption Options**
- **For creators**: They list content behind a paywall that accepts:
- BuildCredits,
- FIL/ETH (via WalletConnect),
- Or fiat (via Stripe, with BuildCredits auto-converted).
- **For users**: Choose how to spend credits.
#### C. **Real-World Parallel?**
- **Helium Network**: People run hotspots → earn HNT → can sell or use for IoT services.
- **DIMO**: Share car data → earn tokens → redeem for services.
- But **none tie to software builds or developer content**.
---
### 🧪 3. **Practical Pilot: “Fedora RISC-V Build Credits”**
Given your setup (VF2 board, Fedora 43, Rust tooling), you could prototype this:
1. **Task Server** (on your mini-PC or cloud):
- Exposes gRPC/Tonic endpoint: `GetBuildTask() → (repo, commit, target: riscv64)`
- Accepts result + Merkle root of output.
2. **Client Agent** (on VF2 or spare laptops):
- Pulls task, runs `mock` or `cargo build` in isolated container.
- Uploads artifacts to IPFS or Filecoin (optional).
- Submits proof → gets signed “BuildReceipt”.
3. **Redemption Portal**:
- Creators (e.g., RISC-V educators, tool devs) upload content.
- Set price: “3 BuildReceipts” or “0.1 FIL”.
- User logs in → spends receipts → gets download/stream link.
4. **Bridge to Crypto** (optional):
- Partner with a DEX or use a simple off-ramp:
“10 BuildReceipts = 0.01 FIL” (market-set rate).
- Use **sBTC** or **wBTC** if Bitcoin is desired (though high fees).
> 🔧 You already have much of the stack: `axum`, `tonic`, `rustls`, Fedora, container-aware tooling (`podman`/`toolbox`), and RISC-V hardware.
---
### 🚧 Challenges to Address
\| Issue \| Mitigation \|
\|------\|-----------\|
\| **Cheating** (fake builds) \| Use reproducible builds + checksums + optional TEE (e.g., Intel SGX if on x86) \|
\| **Low throughput** (RISC-V slow) \| Accept longer job times; prioritize correctness over speed \|
\| **Creator adoption** \| Start with open-source educators who already give content for free—they’d appreciate *any* support mechanism \|
\| **Wallet fatigue** \| Allow **non-custodial email login + JWT credits** (no blockchain needed at first) \|
---
### ✅ Summary: What Exists vs. What You Can Build
\| Concept \| Exists? \| Notes \|
\|--------\|--------\|------\|
\| Compute → Filecoin \| ❌ (Filecoin is storage-only) \|
\| Compute → Bitcoin \| ❌ (PoW obsolete for CPUs) \|
\| Compute → Custom Token \| ✅ (Golem, Render) \|
\| Token → Content Access \| ❌ (not in open-source/dev world) \|
\| **Compute → BuildCredits → Content or Crypto** \| 🚀 **Not yet—but feasible with your stack** \|
---
Would you like:
- A minimal **Rust task server + client** sketch?
- Integration with **Filecoin for artifact storage**?
- Or a **creator redemption UI** (Axum + Leptos/Sycamore)?
This could become a niche but powerful tool for RISC-V/Fedora communities.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment