Filecoin storage support: which provider, given Lighthouse retrieval is payment-gated? #18
-
BackgroundDIN currently uses Filebase as its default IPFS pinning provider. All model artifacts (client updates, aggregated models, manifests, service files) flow through We want Filecoin-backed storage because:
The internal design doc ( What we found: Lighthouse retrieval is payment-gated
|
| Option | Pros | Concerns |
|---|---|---|
| Storacha (Web3.Storage) | UCAN delegated-upload capabilities are a first-class primitive — exactly the scoped credential model we need for sponsored uploads in P3; multi-provider Filecoin deals | Need to verify retrieval is genuinely open (public gateway + IPFS DHT announcement), not gated like Lighthouse |
| Lighthouse + paid retrieval plan | Adapter already written in PR #16 | Retrieval gated behind payment; unclear if a plan makes CIDs publicly resolvable or only via their gateway |
| Filebase Filecoin bucket | Zero migration friction — same API and credential model we use today | Filebase remains the centralised intermediary; least decentralisation gain |
| Direct Filecoin deals / FVM | Maximum trustlessness; smart-contract-native storage deals (escrow, SLA verification, auto-renewal) | Deal lifecycle management is significant operational complexity; retrieval latency |
| Something else? | — | — |
Specific questions:
- Is Storacha's retrieval path actually open? Before we swap adapters, has anyone verified that content uploaded to Storacha resolves via public IPFS gateways / is announced to the DHT?
- Is there any Filecoin-backed provider where uploaded CIDs are reliably retrievable by third parties for free (or where retrieval cost is bounded and payable by the model owner, not each reader)?
- Should we reconsider an FVM-native approach — storage deals managed by contract (escrow, provider SLA verification, automated renewal) — even if it's more work, given it aligns with the P3 sponsored-upload/storage-budget design?
- Is a hybrid sensible? Filecoin for durable archival + a hot IPFS pin (even Filebase) for the active round's retrieval path?
Any hands-on experience with these providers' retrieval behaviour — especially failure modes like the one we hit with Lighthouse — would be extremely valuable.
cc @Abidoyesimze — you've built on FVM (storage-deal escrow with SLA verification and auto-renewal), which is directly relevant here; would love your take on the provider choice and whether an FVM-native path is worth the complexity.
cc @Santiagocetran (PR #16 author)
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hey, dug into this a bit.
|
Beta Was this translation helpful? Give feedback.
-
|
Hey @Abidoyesimze ! Please look into how we can integrate Storacha (this is the rebranded version of web3.storage). Specifically, I need you to figure out and document: Web UI: How to set up accounts and manage data. CLI: The workflow for uploading and retrieving data. Authentication: How they handle "API keys"—heads up, they use decentralized UCANs instead of traditional static keys, so pay close attention to how we handle delegations for our backend/CI environment. Let's get a quick markdown guide or snippet ready on this. Thanks! |
Beta Was this translation helpful? Give feedback.
Hey, dug into this a bit.
Lighthouse's a dead end btw — their docs now openly describe it as "x402 pay-per-use retrieval," every fetch returns 402…