Upload a file to the storage provider
The file to upload
Optional
filename: stringOptional custom filename
Promise with storage URL and metadata
Download a file from the storage provider
The storage URL
Promise with file blob
List files from the storage provider
Optional
options: StorageListOptionsOptional filtering and pagination
Promise with file list
Delete a file from the storage provider
The storage URL
Promise with success status
Get provider-specific configuration
Provider configuration object
Interface for storage providers that handle file upload, download, and management operations.
Storage providers abstract different storage backends (IPFS, Google Drive, Pinata, etc.) behind a common interface. The SDK uses these providers to store encrypted user data and permission grants in a decentralized manner.
Example