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

    Type Alias VanaConfigWithStorage

    Configuration interface for Vana SDK that requires storage providers.

    Use this type when you need to ensure storage is configured for operations like file uploads, permission grants without pre-stored URLs, or schema creation.

    // Configuration that guarantees storage availability
    const config: VanaConfigWithStorage = {
    walletClient: createWalletClient({
    account: privateKeyToAccount('0x...'),
    chain: moksha,
    transport: http()
    }),
    storage: {
    providers: {
    ipfs: new IPFSStorage({ gateway: 'https://gateway.pinata.cloud' })
    },
    defaultProvider: 'ipfs'
    }
    };