Sets values for ptivate fields from props and trying to make a test connection
IPFS node readonly gateway
Offchain gateway
Find and load off-chain information about a comment from IPFS by a given cid
.
Comment information only exists if there is a corresponding JSON file that represents the comment's content on IPFS.
IPFS content id of a desired comment.
Data about a desired comment from IPFS. If no corresponding comments to given id
, undefined
is
returned.
Find and load an array of off-chain information about comments from IPFS by a given array of cids
.
Comment information only exists if there is a corresponding JSON file that represents the comments' content on IPFS.
An array of IPFS content ids of desired comments.
An array of data about desired comments from IPFS. If no corresponding comments to given array of cids
,
an empty array is returned.
Find and load off-chain information about a post from IPFS by a given cid
.
Post information only exists if there is a corresponding JSON file that represents the post's content on IPFS.
IPFS content id of a desired post.
Data about a desired post from IPFS. If no corresponding post to given id
, undefined
is returned.
Find and load an array of off-chain information about posts from IPFS by a given array of cids
.
Post information only exists if there is a corresponding JSON file that represents the posts' content on IPFS.
An array of IPFS content ids of desired posts.
An array of data about desired posts from IPFS. If no corresponding posts to given array of cids
, an
empty array is returned.
Find and load off-chain information about a profile from IPFS by a given cid
.
Profile information only exists if there is a corresponding JSON file that represents the profile's content on IPFS.
IPFS content id of a desired profile.
Data about a desired profile from IPFS. If no corresponding profiles to given id
, undefined
is
returned.
Find and load an array of off-chain information about profiles from IPFS by a given array of cids
.
Profile information only exists if there is a corresponding JSON file that represents the profiles' content on IPFS.
An array of IPFS content ids of desired profiles.
An array of data about desired profiles from IPFS. If no corresponding profiles to given array of cids
,
an empty array is returned.
Find and load off-chain information about a space from IPFS by a given cid
.
Space information only exists if there is a corresponding JSON file that represents the space's content on IPFS.
IPFS content id of a desired space.
Data about a desired space from IPFS. If no corresponding space to given id
, undefined
is returned.
Find and load an array of off-chain information about spaces from IPFS by a given array of cids
.
Space information only exists if there is a corresponding JSON file that represents the spaces' content on IPFS.
An array of IPFS content ids of desired spaces.
An array of data about desired spaces from IPFS. If no corresponding spaces to given array of cids
, an
empty array is returned.
Return object with contents from IPFS by cids array
Return object with contents from IPFS through offchain by cids array
Return unique cids from cids array
Makes a request to the IPFS node
Unpin content in IPFS
Add and pin comment content in IPFS
Add and pin content in IPFS
Add and pit file in IPFS
Add and pin post content in IPFS
Add and pin space content in IPFS
Trying to make a test connection
Aggregated API to work with IPFS: get the content of the spaces of posts and profiles.