Adoped from (with expanded scope)

[Proposal] DealProposer interface to standardize storage deal proposals on FVM · Discussion #604 · filecoin-project/FIPs

and

Boost support for FVM deals · filecoin-project/boost · Discussion #1160

Scope:


Note: the proposal has been minimally edited from the original discussion forum linked above. The goal is to make a spec that fully incorporates the expanded scope, and then finalize names, infrastucture design, and clarity. For example, the interface name DealProposer might not be enough for the new, expanded scope of this FRC.


Goals / Motivation

The goal of this FRC is to propose a new standard interface for user actors to act as a storage deal client and make storage deals with any SPs that’s providing storage service in the existing Filecoin builtin storage market. Extra data use case functionalities/services like DataDAO, perpetual storage, storage automation(repair and replica) can be built on top of this interface. This standard aims to enable user actors to stay composable and extensible, while being adaptable and compatible with the existing/most popular deal onboarding software used by the storage providers in the Filecoin ecosystem.

This FRC will include interfaces for deal proposal creation and broadcast, customizable deal terms (free/paid, verified/non-verified, and etc), allow the user actor to be a verified client and receiving DataCap and managing it’s DataCap, enable default deal payment by delegating to builtin storage market.

Note we expect the standard to evolve based on the feedbacks from developers, market protocol/software developers, storage providers and end user/data owners. Please leave a comment here if you have any feedback.

Proposal

We are proposing an interface DealProposer to look like the following: