IPFS & Haskell - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Sridhar Ratnakumar

Curious to see if anybody played with writing Haskell apps based on IPFS (https://ipfs.io/)



The InterPlanetary File System is a peer-to-peer hypermedia protocol designed to make the web faster, safer, and more open.
This library offers a high level API for interacting with IPFS nodes. Most of the functionality was refactored out of our Web API, which provides a convenient HTTP interface for accessing the IPFS network.
Mats Rauhala

I did some IPFS stuff on a personal project a few years ago. I used IPFS as the datastore for my resources & built an IPLD for the entire set. This obviously preceded the haskell IPFS library.

At the time the IPFS daemon had some real performance problems and I had to shift the datastore & related stuff away from IPFS.

Sridhar Ratnakumar

IPFS is used by Fission (who is incidentally the owner of this library): https://whitepaper.fission.codes/file-system/file-system-basics/anatomy

WNFS is a DAG where the terminal nodes are either empty directories or files. It is also a Merkle DAG to aid in low level operations (e.g. deduplication, sync), and to increase the performance of write access control.