Skip to content

Implement IPFS default to local and fallback on remote #2275

@pablomendezroyo

Description

@pablomendezroyo

In the toolkit submodule, allow defining multiple IPFS gateway URLs. Always use the first one provided to start fetching the content and keep moving to the next gateway url if there is an error.

Since the URL are from IPFS gateway, use the exposed enpoint to verify first if in any of the gateway URL is present the content of the ipfs cid to be retrieved. Check official documentation from https://docs.ipfs.tech/reference/http/gateway/

Implement in the index in the dappmanager module the initialization of the instance with the ipfs gateway URLs

Metadata

Metadata

Assignees

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