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

IPFS support in default document loader #512

Closed
F-Node-Karlsruhe opened this issue Mar 13, 2023 · 1 comment
Closed

IPFS support in default document loader #512

F-Node-Karlsruhe opened this issue Mar 13, 2023 · 1 comment

Comments

@F-Node-Karlsruhe
Copy link

F-Node-Karlsruhe commented Mar 13, 2023

We are currently looking into using IPFS as a context storage as it increases availability and conveniently takes care of versioning out of the box ("naming this with hashes"). We are using the ipfs://CONTEXT_HASH schema to reference the context. Addtionally, IPFS already provides both caching and integrity checks (versioning + trust in context).

The resolution of IPFS documents is currently implemented in the overwriting document loader like so

Is this something you would like to add in the future? If so i would make a PR regarding this topic.

The ipfs:// schema could be added here in the default document resolver
https://github.com/digitalbazaar/jsonld.js/blob/main/lib/documentLoaders/node.js#L59

@F-Node-Karlsruhe
Copy link
Author

Evolved into PR #513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant