OptionalrelayerOptional relayer configuration for handling gasless transactions. Can be a URL string for convenience, or a callback for full control.
OptionaldownloadOptional download relayer for proxying CORS-restricted downloads. Provides a proxy mechanism for files stored on servers with CORS restrictions.
Required storage providers configuration for file upload/download
OptionalsubgraphOptional subgraph URL for querying user files and permissions. If not provided, defaults to the built-in subgraph URL for the current chain. Can be overridden per method call if needed.
OptionalipfsOptional default IPFS gateways to use for fetching files. These gateways will be used by default in fetchFromIPFS unless overridden per-call. If not provided, the SDK will use public gateways.
OptionaldefaultDefault personal server base URL for server operations. Required for ServerController methods like getIdentity(), createOperation(), etc.
OptionaloperationOptional operation store for tracking async relayed transactions. When provided with a relayer, enables resilient transaction management with polling support for pending operations.
The viem PublicClient instance for read operations
The user's address for read operations
Configuration for read-only operations with public client and address that requires storage