💙FilFil: PeSto and Filecoin Archive
🧠Overview
2.5 years after Filecoin genesis, the Filecoin full chain state has grown to ~25TiB. It is almost impossible to sync the chain from genesis block, which means it is getting harder for one to access Filecoin historical chain state. More importantly, the network’s is at risk of losing full historical chain state, given less and less people maintain a full archival node!
As Filecoin developers, we believe its important to save the historical data. In this project, we will develop a Filecoin chain archive service via two main tracks:
- PeSto: Perpetual Storage on Filecoin using FVM compatible smart contracts
- FilFil: Filecoin Archive Application
🚀Goal
FilFil aims to deliver a Filecoin chain archive service that archives Filecoin chain state on Filecoin’s perpetual storage (PeSto) network.
With Filecoin Archives, one can view, query and validate Filecoin chain history from genesis for the humanity lifetime.
📡Objectives
- Deliver a set of generic FVM compatible smart contracts that support data use cases on Filecoin’s storage. Data use cases include but not limited to:
- Perpetual Storage
- Storage Automation (renew and repair)
- DataDaos
- Define protocol gaps and develop protocol refinements to enable data use cases on Filecoin storage.
- Deliver a tooling in lotus-miner that allows storage providers claim FilFil data bounties and provide storage service for Filecoin Archives.
- Develop 5 tutorials/demo/Youtube workshop that walk through how to develope and deploy FVM compatible smart contracts that works Filecoin’s storage.
- Deliver a Filecoin archive service that archives Filecoin messages on Filecoin, since genesis and onwards. The service needs:
- FilFil Contract: a FVM compatible perpetual storage smart contract.
- FilFil CID Generator: a tooling packs the Filecoin messages from a lotus chain store into .car, and generate the CID.
- FilFil CID Uploader: a tooling that uploads the CID above to the FilFil contract.
🏦Resource Bank
👩💻Code
- PeSto Contracts:
client-contract
📚Materials
Syllabus - WIP👯♀️Team
🎈You can find us in the #fil-data-persistance channel on Filecoin slack, click here to join.
🌌Roadmap
🔵WIP; 🟢Done; ⚪Future; 🟡Delayed; 🔴Paused
🔭Tasks
Task | tl'dr | DRI | Milestone | Track | Status | Target Date |
|---|---|---|---|---|---|---|
Prototype a FEVM compatible deal client contract MVP | Develop a smart contract that can interact with f05 (the Storage Market Actor) | PeSto | Done | November 17, 2022 | ||
Refine deal protocol and lotus-miner | Refine deal protocol and lotus-miner(SP) to enable deal client contract MVP to make storage deals with Filecoin storage provider. | PeSto | In progress | December 16, 2022 | ||
Enhance deal client contract MVP | Develop a minimum deal contract contract interface standard that can make multiple deals for a list of specified data, with a list of specified storage miners. | PeSto | Not started | December 17, 2022 | ||
Develop FilFil CID Generator 1.0 | FilFil | Not started | ||||
A blog post for developers | PeSto | Not started | ||||
FilFil MVP Docs and Demo | PeSto | Not started | ||||
Protocol research for a verified data bounty contract | Design the interface of a single contract that can automate the verified deal making with SP who offers free storage. | PeSto | In progress | January 21, 2023 | ||
Develop a verified data bounty contract | Develop a single contract that can automate the verified deal making with SP who offers free storage. | PeSto | Not started |
Task | tl'dr | DRI | Milestone | Track | Status | Target Date |
|---|---|---|---|---|---|---|
Finalize the spec of FilFil car and CID generator | FilFil | Not started | ||||
Protocol Research - Full optimistic MT Translation - WIP | FilFil | On Pause | ||||
Research and design Data Prep Oracle | FilFil | On Pause | ||||
Protocol Research: Repair/Renew | PeSto | Done | January 21, 2023 | |||
FilFil DataCap application | FilFil | In progress | January 31, 2023 | |||
Research q: how do we deal with multiple SP accepting an “open proposal”? | PeSto | In progress | January 21, 2023 |
Task | tl'dr | DRI | Milestone | Track | Status | Target Date |
|---|---|---|---|---|---|---|
Design the website for FilFil | Not started | |||||
Implement the website for FilFil | Not started |
