Module

IPFS

Package
purescript-ipfs-api
Repository
chfi/purescript-ipfs-api

#connect Source

connect :: forall eff. String -> Int -> Eff (ipfs :: IPFSEff | eff) IPFS

Connect to an IPFS instance

#IPFSPeer Source

type IPFSPeer = { id :: String, publicKey :: String }

#identity Source

identity :: forall eff. IPFS -> Aff (ipfs :: IPFSEff | eff) IPFSPeer

Wrapper over ipfs.id

#IPFSVersion Source

type IPFSVersion = { commit :: String, repo :: String, version :: String }

#version Source

version :: forall eff. IPFS -> Aff (ipfs :: IPFSEff | eff) IPFSVersion

Wrapper over ipfs.version

Re-exports from IPFS.Types

#IPFSEff Source

data IPFSEff :: Effect

#IPFS Source

data IPFS :: Type