Skip to content

IPFS support in default document loader #512

Closed
@F-Node-Karlsruhe

Description

@F-Node-Karlsruhe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions