Vana SDK - v3.5.0
    Preparing search index...

    Interface VanaStorageConfig

    Configuration for VanaStorage.

    interface VanaStorageConfig {
        endpoint?: string;
        signer: VanaStorageSigner;
        ownerAddress?: `0x${string}`;
        fetchImpl?: {
            (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
            (input: string | Request | URL, init?: RequestInit): Promise<Response>;
        };
    }
    Index

    Properties

    endpoint?: string

    Base URL of the vana-storage Worker. Defaults to https://storage.vana.org.

    Wallet signer used to authenticate writes and reads.

    ownerAddress?: `0x${string}`

    Owner namespace under which blobs are stored. Defaults to the signer address.

    fetchImpl?: {
        (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
        (input: string | Request | URL, init?: RequestInit): Promise<Response>;
    }

    Optional fetch implementation. Defaults to the global fetch. Useful for tests and for environments that need a custom HTTP client.

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | Request | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | Request | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>