Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define filecoin top level capability #1554

Closed
fforbeck opened this issue Sep 24, 2024 · 2 comments · Fixed by #1606 or storacha/upload-service#105
Closed

Define filecoin top level capability #1554

fforbeck opened this issue Sep 24, 2024 · 2 comments · Fixed by #1606 or storacha/upload-service#105
Assignees

Comments

@fforbeck
Copy link
Member

fforbeck commented Sep 24, 2024

Define filecoin top level capability so it is easy to delegate all of them at once:
e.g.

export const store = capability({
can: 'store/*',
/**
* DID of the (memory) space where CAR is intended to
* be stored.
*/
with: SpaceDID,
derives: equalWith,
})

Add the top capability (*):

@fforbeck
Copy link
Member Author

In Progress

@github-project-automation github-project-automation bot moved this from 2024 Holiday Hackathon! to Done in Storacha Project Planning Dec 19, 2024
@fforbeck
Copy link
Member Author

Done.

fforbeck added a commit to storacha/upload-service that referenced this issue Dec 19, 2024
### Changes
- Added the Filecoin top-level capability.
- Updated w3up-client to use it instead of defining all of the filecoin
capabilities.

### Related Issues
Resolves: storacha#1554
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
1 participant