Skip to content

Commit

Permalink
comments for cid and path variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorizen committed Aug 16, 2023
1 parent 056ffc2 commit 83ffdba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/toolkit/src/utils/ipfs.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ const PREFIX = 'ipfs://'

export class IpfsUtil<T> {
private _rawData?: T
/*
* We get the `path` variable from the `kubo-rpc-client` library, but this is CID.
* CID explanation: 'https://docs.ipfs.tech/concepts/content-addressing/'
* PATH explanation: 'https://docs.ipfs.tech/how-to/address-ipfs-on-web/'
*/
private _cid?: string
private _cids = [] as string[]
private _ipfsApi: IPFSHTTPClient
Expand Down

0 comments on commit 83ffdba

Please sign in to comment.