-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
filecoin-pin-website/src/hooks/use-dataset-pieces.ts
Lines 64 to 69 in 39d2a18
const warmStorage = await WarmStorageService.create(synapse.getProvider(), synapse.getWarmStorageAddress()) | |
// Query the PDP server for the dataset and its pieces | |
const pdpServer = new PDPServer(null, serviceURL) | |
console.debug('[DatasetPieces] Fetching pieces for dataSetId:', storageContext.dataSetId) | |
const dataSetData = await pdpServer.getDataSet(storageContext.dataSetId) |
we should be using a filecoin-pin method for this. I believe we need to get some methods from FilOzone/synapse-sdk#249 merged in prior to piping it through filecoin-pin
Metadata
Metadata
Assignees
Labels
No labels