Vana SDK - v0.1.0
    Preparing search index...

    Interface WalletConfig

    Configuration with wallet client

    interface WalletConfig {
        relayerCallbacks?: RelayerCallbacks;
        storage?: StorageConfig;
        subgraphUrl?: string;
        ipfsGateways?: string[];
        walletClient: {} & { chain: VanaChain };
    }

    Hierarchy (View Summary)

    Index

    Properties

    relayerCallbacks?: RelayerCallbacks

    Optional relayer callback functions for handling gasless transactions. Provides flexible relay mechanism - can use HTTP, WebSocket, or any custom implementation.

    storage?: StorageConfig

    Optional storage providers configuration for file upload/download

    subgraphUrl?: string

    Optional 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.

    ipfsGateways?: string[]

    Optional 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.

    ['https://gateway.pinata.cloud', 'https://ipfs.io']
    
    walletClient: {} & { chain: VanaChain }

    The viem WalletClient instance used for signing transactions