Home > @3rdweb/sdk > IpfsStorage
Signature:
export declare class IpfsStorage implements IStorage
Implements: IStorage
Constructor | Modifiers | Description |
---|---|---|
(constructor)(gatewayUrl) | Constructs a new instance of the IpfsStorage class |
Method | Modifiers | Description |
---|---|---|
buildFilePropertiesMap(object, files) | This function recurisely traverses an object and hashes any Buffer or File objects into the returned map. |
|
canResolve(uri) | ||
get(hash) | ||
getUploadToken(contractAddress) | ||
upload(data, contractAddress, signerAddress) | ||
uploadBatch(files, contractAddress, fileStartNumber) | ||
uploadMetadata(metadata, contractAddress, _signerAddress) |