- Preparing search index...
- The search index is not available
sdk-v2
- storage<T>(config: IPFSConfiguration, codec?: Codec<string, T, Error>): Storage<T, CID<unknown, number, number, Version>>
-
Parameters
-
-
codec: Codec<string, T, Error> = ...
Returns Storage<T, CID<unknown, number, number, Version>>
Create a MetadataStorage object that can store data on an IPFS node and cluster if configured to do so.
Generic
T - type of metadata