add : String -> String -> Task Http.Error File
Store a string as a content-addressable file on IPFS.
Represents a content-addressable (immutable) file, stored on IPFS.
A hash value representing the address of a file on IPFS.
hash : String -> Maybe Hash
Turn an IPFS hash string into the suitable type for retrieving a file.
getHash : File -> Hash
Get the hash value from a File data structure.
cat : String -> Hash -> Task Http.Error String
Retrieve a string from a content-addressable file on IPFS.
version : String -> Task Http.Error String
Retrieve the version information for the IPFS node.
postGeneric : { url : String, body : Http.Body, resolver : String -> Result String a } -> Task Http.Error a
A general method for posting information to IPFS.
getGeneric : { url : String, resolver : String -> Result String a } -> Task Http.Error a
A general method for getting information from IPFS.
generic : { method : String, url : String, body : Http.Body, resolver : String -> Result String a } -> Task Http.Error a
If you want to implement your own custom IPFS calls, this might get you started.