ipfs-haskell
ipfs-haskell copied to clipboard
Provide instances and functions to simplify minimal example
Currently it's fairly non-trivial to get something minimal working.
Assuming I have ipfs exposed on a local port and/or an ipfs executable in my path, it seems reasonable to be able to import and run something like:
import Network.IPFS
Right cid = fromText "<cid>"
<some function> $ ipfsCat cid
With minimal additional fanfare.
Bump over here.
IMHO, It would be very great if we could have at our disposal in the test folder real examples fully functional (both Remote and Locale endpoint).
I would expect something like this
main = do
...
runRemote ... do
...
...