wrap-cli icon indicating copy to clipboard operation
wrap-cli copied to clipboard

Utilize LibP2P Web Transport

Open dOrgJelli opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Currently fetching IPFS files is done through a vanilla HTTP / gateway setup. We've since learned that there exists a new transport protocol being worked on called "webtransport" that's aimed at increasing the performance of rapid small-file downloading.

Webtransport has less rount-trips, takes less time to establish a connection, and is the recommended way communicating with IPFS.

https://github.com/libp2p/specs/tree/master/webtransport

Additionally you may be able to fetch files from peers, instead of the gateway.

Describe the solution you'd like I believe we'd need to make use of the helia project to utilize this feature: https://github.com/ipfs/helia

There is potentially a rust alternative named "iroh", built and maintained by the n0 project: https://n0.computer/

https://github.com/n0-computer/beetle

dOrgJelli avatar Apr 03 '23 15:04 dOrgJelli