Vana SDK - v2.2.2
    Preparing search index...

    Type Alias VanaConfig

    VanaConfig:
        | VanaConfigWithWallet
        | VanaConfigReadOnly
        | VanaConfigAddressOnly
        | WalletConfig
        | ChainConfig

    Main configuration interface for initializing the Vana SDK.

    The SDK supports three initialization modes:

    1. Full mode with wallet client for signing transactions
    2. Read-only mode with public client and address for read operations
    3. Minimal mode with just an address and optional chain
    // Mode 1: Full configuration with wallet client
    const configWithWallet: VanaConfig = {
    walletClient: createWalletClient({
    account: privateKeyToAccount('0x...'),
    chain: moksha,
    transport: http()
    }),
    publicClient: createPublicClient({
    chain: moksha,
    transport: http()
    })
    };

    // Mode 2: Read-only with public client and address
    const configReadOnly: VanaConfig = {
    publicClient: createPublicClient({
    chain: moksha,
    transport: http()
    }),
    address: '0x1234...'
    };

    // Mode 3: Minimal with just address
    const configMinimal: VanaConfig = {
    address: '0x1234...',
    chain: moksha // optional
    };