Motivation
Currently this library relies on gateways which are provided by the user at initialization. However, this should not be the case as the whole point of using IPFS in the first place is that you can defer to the decentralized IPFS network of nodes which are replicating data to ensure redundancy (when data is replicated) and speed ups from multiple providers hosting the same data (similar to Bittorrent). The "issue" is that currently if the user doesn't have a gateway they must spin up their own local IPFS node in order to make any requests which is clunky. The user shouldn't have to be expected to get access to a gateway or run their own external IPFS node and should be able to make IPFS requests directly from the library itself similar to https://github.com/ipfs/helia-verified-fetch.
User Story
As a user I should be able to add a flag to conditionally start up a native libp2p/ipfs node to direct make requests on the network from the DHT/Bitswap in addition to the gateway (similar to Helia).
Acceptance Criteria
Things to Investigate
Motivation
Currently this library relies on gateways which are provided by the user at initialization. However, this should not be the case as the whole point of using IPFS in the first place is that you can defer to the decentralized IPFS network of nodes which are replicating data to ensure redundancy (when data is replicated) and speed ups from multiple providers hosting the same data (similar to Bittorrent). The "issue" is that currently if the user doesn't have a gateway they must spin up their own local IPFS node in order to make any requests which is clunky. The user shouldn't have to be expected to get access to a gateway or run their own external IPFS node and should be able to make IPFS requests directly from the library itself similar to https://github.com/ipfs/helia-verified-fetch.
User Story
As a user I should be able to add a flag to conditionally start up a native libp2p/ipfs node to direct make requests on the network from the DHT/Bitswap in addition to the gateway (similar to Helia).
Acceptance Criteria
Things to Investigate