Publish storage deals via a smart contract #584
jennijuju
started this conversation in
Developers
Replies: 2 comments 4 replies
-
@raulk I feel like we are missing |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jennijuju FIL-Peggy aims to custody whole miner to smart contract, including owner address and control addresses. May this be a part of it ? But before our test we cannot set smart contract address to be miner control addresses, is that possible in new FVM version ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With FEVM, filecoin storage deals can now be published via smart contracts - by calling the PublishStorageDeals method in the filecoin storage market actor (f05). However, today in the Filecoin protocol, only a storage provider(miner) can publish storage deals onchain using their control/owner address. This means a smart contract must be set as a storage provider's control address first before publish deals on the provider's behalf.
Here is a potential solution for enabling deal publishments via smart contracts which can further extend to a DataDao, proposed by @raulk , originally here:
ChangeWorkerAddress
to its Miner actor, thus allowing it to callPublishStorageDeals
on its behalf.Would love to hear other paths to onboard storage deals to filecoin via smart contracts, and hopefully we will see a prototype here soon!
Beta Was this translation helpful? Give feedback.
All reactions